summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2016-11-10 16:03:43 +0000
committerFilipa Lacerda <filipa@gitlab.com>2016-11-10 16:03:43 +0000
commit5f106512be09b6230080c5cff7eb7a7f896284b9 (patch)
treeab7bfc020ae8a359b06bbeca8a99896aca174cac /spec
parent1494abe982583c564969baaba7daa251ef333156 (diff)
downloadgitlab-ce-5f106512be09b6230080c5cff7eb7a7f896284b9.tar.gz
Adds tests
Adds changelog entry in the correct place
Diffstat (limited to 'spec')
-rw-r--r--spec/features/environments_spec.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/features/environments_spec.rb b/spec/features/environments_spec.rb
index 7c9584f6bf1..eded771201b 100644
--- a/spec/features/environments_spec.rb
+++ b/spec/features/environments_spec.rb
@@ -239,6 +239,14 @@ feature 'Environments', feature: true do
end
end
end
+
+ context 'whitout stop action'do
+ scenario 'does allow to stop environment' do
+ click_link('Stop')
+
+ expect(page).to have_content(environment.name.capitalize)
+ end
+ end
end
end
end