fix key observer test

This commit is contained in:
Dmitriy Zaporozhets 2013-03-20 10:25:11 +02:00
parent 6347e9a60b
commit 51b1859e49

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