Fix test failures

This commit is contained in:
Kamil Trzcinski 2016-08-12 12:23:47 +02:00
parent 160aaca0fb
commit a391652fe6
2 changed files with 2 additions and 2 deletions

View file

@ -23,7 +23,7 @@ module Ci
state_machine :status, initial: :created do
event :queue do
transition :created => :pending
transition created: :pending
transition any - [:created, :pending] => :running
end

View file

@ -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