diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-05-31 15:50:01 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-05-31 15:50:01 +0300 |
commit | 8402c1bce53c7b23cf6b4ba3e9225352947ca748 (patch) | |
tree | 49de04e76e20d6e4e9e946e65164d2121f4bb6e3 /spec/gitlab_keys_spec.rb | |
parent | 324fa5cebc9091ee4dfc30b6c1fd9d5c18188522 (diff) | |
download | gitlab-shell-8402c1bce53c7b23cf6b4ba3e9225352947ca748.tar.gz |
Create keys fixtures in test
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'spec/gitlab_keys_spec.rb')
-rw-r--r-- | spec/gitlab_keys_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/gitlab_keys_spec.rb b/spec/gitlab_keys_spec.rb index 773b0b6..e742712 100644 --- a/spec/gitlab_keys_spec.rb +++ b/spec/gitlab_keys_spec.rb @@ -28,6 +28,7 @@ describe GitlabKeys do context "without file writing" do before { gitlab_keys.stub(:open) } + before { create_authorized_keys_fixture } it "should log an add-key event" do $logger.should_receive(:info).with('Adding key key-741 => "ssh-rsa AAAAB3NzaDAxx2E"') |