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:
authorShinya Maeda <gitlab.shinyamaeda@gmail.com>2017-03-30 21:16:24 +0300
committerShinya Maeda <gitlab.shinyamaeda@gmail.com>2017-04-06 17:46:58 +0300
commit9573bb44bc94261814dbdbb384b9ad7acf2907ff (patch)
tree7f21ed207330cf4412be6a35f77ee0bf4c61f627 /spec/factories/ci/triggers.rb
parentd48658e340c6d8d8b5e028afa6d5962ec7616e24 (diff)
real_next_run (WIP)
Diffstat (limited to 'spec/factories/ci/triggers.rb')
-rw-r--r--spec/factories/ci/triggers.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/factories/ci/triggers.rb b/spec/factories/ci/triggers.rb
index d38800b58f7..c9d2687b28e 100644
--- a/spec/factories/ci/triggers.rb
+++ b/spec/factories/ci/triggers.rb
@@ -2,6 +2,10 @@ FactoryGirl.define do
factory :ci_trigger_without_token, class: Ci::Trigger do
factory :ci_trigger do
token { SecureRandom.hex(15) }
+
+ factory :ci_trigger_with_ref do
+ ref 'master'
+ end
end
end
end