summaryrefslogtreecommitdiff
path: root/spec/features
diff options
context:
space:
mode:
authorZ.J. van de Weg <zegerjan@gitlab.com>2016-07-26 09:35:47 +0200
committerZ.J. van de Weg <zegerjan@gitlab.com>2016-07-29 13:54:45 +0200
commitbe9aa7f19474424991923f128053e2523fa166d8 (patch)
treedde83c7c92d7b932d3b9b79405fb1e5524034345 /spec/features
parent242f8377264973d642b46e5d2800ef3d3bd4c0fa (diff)
downloadgitlab-ce-be9aa7f19474424991923f128053e2523fa166d8.tar.gz
Add an URL field to Environments
This MR adds a string (thus max 255 chars) field to the enviroments table to expose it later in other features.
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/environments_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/environments_spec.rb b/spec/features/environments_spec.rb
index a7d9f2a0c72..fcd41b38413 100644
--- a/spec/features/environments_spec.rb
+++ b/spec/features/environments_spec.rb
@@ -140,7 +140,7 @@ feature 'Environments', feature: true do
context 'for valid name' do
before do
fill_in('Name', with: 'production')
- click_on 'Create environment'
+ click_on 'Save'
end
scenario 'does create a new pipeline' do
@@ -151,7 +151,7 @@ feature 'Environments', feature: true do
context 'for invalid name' do
before do
fill_in('Name', with: 'name with spaces')
- click_on 'Create environment'
+ click_on 'Save'
end
scenario 'does show errors' do