summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-07-06 21:40:27 +0900
committerShinya Maeda <shinya@gitlab.com>2017-07-06 21:40:27 +0900
commit26b40f3b9a2c7ada45a9480ad9c2dfca35cae3f6 (patch)
treecc65429af2d2d81a66de649d00ae36453307e2ad
parent5b9823a7acde29e242883a134bae603233ac2152 (diff)
downloadgitlab-ce-feature/intermediate/12729-group-secret-variables.tar.gz
Fix to Variable was successfully createdfeature/intermediate/12729-group-secret-variables
-rw-r--r--spec/features/variables_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/variables_spec.rb b/spec/features/variables_spec.rb
index a7c24c7d718..7acf7a089af 100644
--- a/spec/features/variables_spec.rb
+++ b/spec/features/variables_spec.rb
@@ -24,7 +24,7 @@ describe 'Project variables', js: true do
fill_in('variable_value', with: 'key value')
click_button('Add new variable')
- expect(page).to have_content('Variables were successfully updated.')
+ expect(page).to have_content('Variable was successfully created.')
page.within('.variables-table') do
expect(page).to have_content('key')
expect(page).to have_content('No')
@@ -36,7 +36,7 @@ describe 'Project variables', js: true do
fill_in('variable_value', with: '')
click_button('Add new variable')
- expect(page).to have_content('Variables were successfully updated.')
+ expect(page).to have_content('Variable was successfully created.')
page.within('.variables-table') do
expect(page).to have_content('new_key')
end
@@ -48,7 +48,7 @@ describe 'Project variables', js: true do
check('Protected')
click_button('Add new variable')
- expect(page).to have_content('Variables were successfully updated.')
+ expect(page).to have_content('Variable was successfully created.')
page.within('.variables-table') do
expect(page).to have_content('key')
expect(page).to have_content('Yes')