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

fix key observer test

parent 6347e9a6
...@@ -2,12 +2,7 @@ require 'spec_helper' ...@@ -2,12 +2,7 @@ require 'spec_helper'
describe KeyObserver do describe KeyObserver do
before do before do
@key = double('Key', @key = create(:personal_key)
shell_id: 'key-32',
key: '== a vaild ssh key',
projects: [],
is_deploy_key: false
)
@observer = KeyObserver.instance @observer = KeyObserver.instance
end end
......
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