fixed deployment rspec
This commit is contained in:
parent
686343835f
commit
a4a893eaa8
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ describe 'Merge request > User sees deployment widget', :js do
|
||||||
wait_for_requests
|
wait_for_requests
|
||||||
|
|
||||||
expect(page).to have_content("Deployed to #{environment.name}")
|
expect(page).to have_content("Deployed to #{environment.name}")
|
||||||
expect(find('.js-deploy-time')['data-title']).to eq(deployment.created_at.to_time.in_time_zone.to_s(:medium))
|
expect(find('.js-deploy-time')['data-original-title']).to eq(deployment.created_at.to_time.in_time_zone.to_s(:medium))
|
||||||
end
|
end
|
||||||
|
|
||||||
context 'with stop action' do
|
context 'with stop action' do
|
||||||
|
|
Loading…
Reference in a new issue