提交 51b1859e 编写于 作者: D Dmitriy Zaporozhets

fix key observer test

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册