diff options
author | Rémy Coutable <remy@rymai.me> | 2017-05-31 16:43:19 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-06-02 20:06:50 +0300 |
commit | 857d039145bccaa81da1e7654e51eee9e4b4823a (patch) | |
tree | 5ee5fdc54d98ec7d54fa0f08957dcb7952ff42a4 /spec/controllers | |
parent | 19ee16a0f85dd4bacddbd066237e62a1bbb7113a (diff) |
Lint our factories creation in addition to their build
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/controllers')
-rw-r--r-- | spec/controllers/profiles/keys_controller_spec.rb | 2 |
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 |