fixed deployment rspec

This commit is contained in:
Phil Hughes 2018-03-14 10:02:05 +00:00
parent 686343835f
commit a4a893eaa8
No known key found for this signature in database
GPG key ID: 32245528C52E0F9F

View file

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