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

fix key observer test

parent 6347e9a6
......@@ -2,12 +2,7 @@ require 'spec_helper'
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
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