Commit 51b1859e authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

fix key observer test

parent 548de16b6904
......@@ -2,12 +2,7 @@
describe KeyObserver do
before do
@key = double('Key',
shell_id: 'key-32',
key: '== a vaild ssh key',
projects: [],
is_deploy_key: false
@key = create(:personal_key)
@observer = KeyObserver.instance
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment