diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2016-10-17 22:10:43 +0100 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2016-10-17 22:10:43 +0100 |
commit | c3cf103fee47c056c7258d2921a34cf68a02022c (patch) | |
tree | bf3f373c8e708f8cfb7426cb2819c8fe099cbe3e /spec/features/environments_spec.rb | |
parent | 34e19b9b8dccd7cd2e6c2bb408e75c70f3b6f3b9 (diff) | |
download | gitlab-ce-c3cf103fee47c056c7258d2921a34cf68a02022c.tar.gz |
Updates class name for consistency
Diffstat (limited to 'spec/features/environments_spec.rb')
-rw-r--r-- | spec/features/environments_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/features/environments_spec.rb b/spec/features/environments_spec.rb index 16c44e42f63..c4f230d2007 100644 --- a/spec/features/environments_spec.rb +++ b/spec/features/environments_spec.rb @@ -94,7 +94,7 @@ feature 'Environments', feature: true do end scenario 'does not show stop button' do - expect(page).not_to have_selector('.close-env-link') + expect(page).not_to have_selector('.stop-env-link') end scenario 'does not show external link button' do @@ -116,11 +116,11 @@ feature 'Environments', feature: true do given(:deployment) { create(:deployment, environment: environment, deployable: build, on_stop: 'close_app') } scenario 'does show stop button' do - expect(page).to have_selector('.close-env-link') + expect(page).to have_selector('.stop-env-link') end scenario 'starts build when stop button clicked' do - first('.close-env-link').click + first('.stop-env-link').click expect(page).to have_content('close_app') end @@ -129,7 +129,7 @@ feature 'Environments', feature: true do let(:role) { :reporter } scenario 'does not show stop button' do - expect(page).not_to have_selector('.close-env-link') + expect(page).not_to have_selector('.stop-env-link') end end end |