fix key observer test

5-0-stable
Dmitriy Zaporozhets 2013-03-20 10:25:11 +02:00
parent 6347e9a60b
commit 51b1859e49
1 changed files with 1 additions and 6 deletions

View File

@ -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