As we reevaluate how to best support and maintain Staging Ref in the future, we encourage development teams using this environment to highlight their use cases in the following issue: https://gitlab.com/gitlab-com/gl-infra/software-delivery/framework/software-delivery-framework-issue-tracker/-/issues/36.

Skip to content
Snippets Groups Projects
Unverified Commit 8402c1bc authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Create keys fixtures in test

parent 324fa5ce
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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"')
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment