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
|
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
|
||||||
|
|
Loading…
Reference in a new issue