summaryrefslogtreecommitdiff
path: root/spec/features/triggers_spec.rb
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2017-04-07 19:18:29 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2017-04-07 19:18:29 +0200
commit4465411bdf7afd5f69b0f68110609de28ed1cca2 (patch)
treefd5f522c62b8ea2b41842d72c8bb464da289b969 /spec/features/triggers_spec.rb
parented368f8c5ee54903f0148ea15e1e231f2683f1a8 (diff)
downloadgitlab-ce-4465411bdf7afd5f69b0f68110609de28ed1cca2.tar.gz
Fix last spec failure
Diffstat (limited to 'spec/features/triggers_spec.rb')
-rw-r--r--spec/features/triggers_spec.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/spec/features/triggers_spec.rb b/spec/features/triggers_spec.rb
index da7535979a2..81fa2de1cc3 100644
--- a/spec/features/triggers_spec.rb
+++ b/spec/features/triggers_spec.rb
@@ -108,7 +108,12 @@ feature 'Triggers', feature: true, js: true do
context 'disabling schedule' do
before do
- trigger.create_trigger_schedule(project: trigger.project, active: true)
+ trigger.create_trigger_schedule(
+ project: trigger.project,
+ active: true,
+ ref: 'master',
+ cron: '1 * * * *',
+ cron_timezone: 'UTC')
visit edit_namespace_project_trigger_path(@project.namespace, @project, trigger)
end