Commit d7b68151 authored by Kamil Trzcinski's avatar Kamil Trzcinski

Fix test failures

parent ad3e1edc
......@@ -21,7 +21,7 @@ module Ci
state_machine :status, initial: :created do
event :queue do
transition :created => :pending
transition created: :pending
transition any - [:created, :pending] => :running
end
......
......@@ -64,7 +64,7 @@ describe "Pipelines" do
before { click_link('Retry') }
it { expect(page).not_to have_link('Retry') }
it { expect(page).to have_selector('.ci-pending') }
it { expect(page).to have_selector('.ci-running') }
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