Commit 4465411b authored by Kamil Trzcinski's avatar Kamil Trzcinski

Fix last spec failure

parent ed368f8c
...@@ -108,7 +108,12 @@ feature 'Triggers', feature: true, js: true do ...@@ -108,7 +108,12 @@ feature 'Triggers', feature: true, js: true do
context 'disabling schedule' do context 'disabling schedule' do
before 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) visit edit_namespace_project_trigger_path(@project.namespace, @project, trigger)
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment