Fix test failures
This commit is contained in:
parent
ad3e1edcfc
commit
d7b681512b
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue