summaryrefslogtreecommitdiff
path: root/spec/features/projects/pipelines/pipeline_spec.rb
diff options
context:
space:
mode:
authorMartin Hanzel <mhanzel@gitlab.com>2019-06-10 21:15:14 +0200
committerMartin Hanzel <mhanzel@gitlab.com>2019-06-10 21:15:14 +0200
commitdc29536f3539428a54ffdfdbe2921ff4da1f2d4e (patch)
treed8b9e0cbf4a9dfe522c301b68f47bc9df004350d /spec/features/projects/pipelines/pipeline_spec.rb
parenteaac8810e6659964f60234c802ed44fa3da74d00 (diff)
parent502cbda11ba0c6d798b243ab6f489cd73c7bdeea (diff)
downloadgitlab-ce-mh/mocks-doc.tar.gz
Merge branch 'master' into mh/mocks-docmh/mocks-doc
Diffstat (limited to 'spec/features/projects/pipelines/pipeline_spec.rb')
-rw-r--r--spec/features/projects/pipelines/pipeline_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/features/projects/pipelines/pipeline_spec.rb b/spec/features/projects/pipelines/pipeline_spec.rb
index 506aa867490..25b3ac00604 100644
--- a/spec/features/projects/pipelines/pipeline_spec.rb
+++ b/spec/features/projects/pipelines/pipeline_spec.rb
@@ -115,11 +115,11 @@ describe 'Pipeline', :js do
end
end
- it 'cancels the running build and does not show retry button' do
+ it 'cancels the running build and shows retry button' do
find('#ci-badge-deploy .ci-action-icon-container').click
page.within('#ci-badge-deploy') do
- expect(page).not_to have_css('.js-icon-retry')
+ expect(page).to have_css('.js-icon-retry')
end
end
end
@@ -133,11 +133,11 @@ describe 'Pipeline', :js do
end
end
- it 'cancels the preparing build and does not show retry button' do
+ it 'cancels the preparing build and shows retry button' do
find('#ci-badge-deploy .ci-action-icon-container').click
page.within('#ci-badge-deploy') do
- expect(page).not_to have_css('.js-icon-retry')
+ expect(page).to have_css('.js-icon-retry')
end
end
end