Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzegorz@gitlab.com>2017-06-02 21:49:18 +0300
committerGrzegorz Bizon <grzegorz@gitlab.com>2017-06-02 21:49:18 +0300
commit2662fd721558f916fe621f4eb5cef43e7754beec (patch)
treefbd06f85ba781801323b1a89870ce48eb8333262 /spec/controllers
parent11852e16387790c26be7b8d1dd99ed689bf9d45b (diff)
parent857d039145bccaa81da1e7654e51eee9e4b4823a (diff)
Merge branch '33139-lint-our-factories' into 'master'
Lint our factories creation in addition to their build Closes #33139 See merge request !11823
Diffstat (limited to 'spec/controllers')
-rw-r--r--spec/controllers/profiles/keys_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/profiles/keys_controller_spec.rb b/spec/controllers/profiles/keys_controller_spec.rb
index 61e4fae46fb..363ed410bc0 100644
--- a/spec/controllers/profiles/keys_controller_spec.rb
+++ b/spec/controllers/profiles/keys_controller_spec.rb
@@ -49,7 +49,7 @@ describe Profiles::KeysController do
expect(response.body).to eq(user.all_ssh_keys.join("\n"))
expect(response.body).to include(key.key.sub(' dummy@gitlab.com', ''))
- expect(response.body).to include(another_key.key)
+ expect(response.body).to include(another_key.key.sub(' dummy@gitlab.com', ''))
expect(response.body).not_to include(deploy_key.key)
end