fix key observer test
This commit is contained in:
parent
6347e9a60b
commit
51b1859e49
1 changed files with 1 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue