diff options
author | Shinya Maeda <gitlab.shinyamaeda@gmail.com> | 2017-03-29 16:14:58 +0300 |
---|---|---|
committer | Shinya Maeda <gitlab.shinyamaeda@gmail.com> | 2017-04-06 17:46:58 +0300 |
commit | 3d1bc4a44cf7197d3148d829c4f527e9afbf1ea6 (patch) | |
tree | ab3880e3c5a23b2cd318186fd958884adb0f96a9 /spec/factories | |
parent | c426763c42d41c9c0c9a9cfe544f3185eeaa984f (diff) |
Fixed strcture for db change
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/ci/trigger_schedules.rb (renamed from spec/factories/ci/scheduled_triggers.rb) | 0 | ||||
-rw-r--r-- | spec/factories/ci/triggers.rb | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/spec/factories/ci/scheduled_triggers.rb b/spec/factories/ci/trigger_schedules.rb index f909e343bf2..f909e343bf2 100644 --- a/spec/factories/ci/scheduled_triggers.rb +++ b/spec/factories/ci/trigger_schedules.rb diff --git a/spec/factories/ci/triggers.rb b/spec/factories/ci/triggers.rb index a27b04424e5..1feaa9b9fa1 100644 --- a/spec/factories/ci/triggers.rb +++ b/spec/factories/ci/triggers.rb @@ -1,7 +1,7 @@ FactoryGirl.define do factory :ci_trigger_without_token, class: Ci::Trigger do factory :ci_trigger do - token 'token' + token { SecureRandom.hex(10) } end end end |