Fix test failures

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

View file

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

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