From 4465411bdf7afd5f69b0f68110609de28ed1cca2 Mon Sep 17 00:00:00 2001 From: Kamil Trzcinski Date: Fri, 7 Apr 2017 19:18:29 +0200 Subject: [PATCH] Fix last spec failure --- spec/features/triggers_spec.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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