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-22 17:37:49 +0300
committerAlexis Reigel <mail@koffeinfrei.org>2017-07-27 16:40:40 +0300
commit7b7cd6f69d59092a55fc8b293edf09638fba20d9 (patch)
tree301427683e57800aeda05affc1057df192638437 /spec/factories
parentfbf1fd1a204a24aef2b80473ec64a520ed2a2dfc (diff)
add emails method to GgpKey
Diffstat (limited to 'spec/factories')
-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