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:
authorAlexis Reigel <mail@koffeinfrei.org>2017-02-24 22:17:08 +0300
committerAlexis Reigel <mail@koffeinfrei.org>2017-07-27 16:40:41 +0300
commit41c96c45f2696af54dde81271741a6342db5d55a (patch)
treee013707287a06a1ceb8e135bc30dc446237222ad /spec/models/gpg_key_spec.rb
parent5ce61120b19f7f12e7aff714857851f57571ce0e (diff)
test with a gpg key with multiple emails
Diffstat (limited to 'spec/models/gpg_key_spec.rb')
-rw-r--r--spec/models/gpg_key_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/gpg_key_spec.rb b/spec/models/gpg_key_spec.rb
index 917d420878a..889396c19c3 100644
--- a/spec/models/gpg_key_spec.rb
+++ b/spec/models/gpg_key_spec.rb
@@ -59,7 +59,7 @@ describe GpgKey do
it 'returns the emails from the gpg key' do
gpg_key = create :gpg_key, key: GpgHelpers::User1.public_key
- expect(gpg_key.emails).to eq [GpgHelpers::User1.email]
+ expect(gpg_key.emails).to eq GpgHelpers::User1.emails
end
end
end