Skip to content
Snippets Groups Projects
Commit 11c9b06f authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fix key observer spec

parent dc917552
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -7,10 +7,10 @@ describe KeyObserver do
@observer = KeyObserver.instance
end
 
context :after_save do
context :after_create do
it do
GitlabShellWorker.should_receive(:perform_async).with(:add_key, @key.shell_id, @key.key)
@observer.after_save(@key)
@observer.after_create(@key)
end
end
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment