summaryrefslogtreecommitdiff
path: root/spec/factories/gpg_keys.rb
diff options
context:
space:
mode:
authorAlexis Reigel <mail@koffeinfrei.org>2017-02-22 15:37:49 +0100
committerAlexis Reigel <mail@koffeinfrei.org>2017-07-27 15:40:40 +0200
commit7b7cd6f69d59092a55fc8b293edf09638fba20d9 (patch)
tree301427683e57800aeda05affc1057df192638437 /spec/factories/gpg_keys.rb
parentfbf1fd1a204a24aef2b80473ec64a520ed2a2dfc (diff)
downloadgitlab-ce-7b7cd6f69d59092a55fc8b293edf09638fba20d9.tar.gz
add emails method to GgpKey
Diffstat (limited to 'spec/factories/gpg_keys.rb')
-rw-r--r--spec/factories/gpg_keys.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/factories/gpg_keys.rb b/spec/factories/gpg_keys.rb
new file mode 100644
index 00000000000..e43a3c19672
--- /dev/null
+++ b/spec/factories/gpg_keys.rb
@@ -0,0 +1,7 @@
+require_relative '../support/gpg_helpers'
+
+FactoryGirl.define do
+ factory :gpg_key do
+ key GpgHelpers.public_key
+ end
+end