BigW Consortium Gitlab

Commit a391652f by Kamil Trzcinski

Fix test failures

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