summaryrefslogtreecommitdiff
path: root/spec/support/features
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2018-02-05 18:22:10 +0100
committerMatija Čupić <matteeyah@gmail.com>2018-02-05 20:15:00 +0100
commit0ccbc6515e4c08ce77af6c8a82ead52a961ce2f3 (patch)
tree07f8f498f608800391c6bf19c2f74ed701148727 /spec/support/features
parent1098355e0203dbce05384c8c88228d8175dd9bcd (diff)
downloadgitlab-ce-0ccbc6515e4c08ce77af6c8a82ead52a961ce2f3.tar.gz
Fix duplicate CI variable feature spec failure
Diffstat (limited to 'spec/support/features')
-rw-r--r--spec/support/features/variable_list_shared_examples.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/features/variable_list_shared_examples.rb b/spec/support/features/variable_list_shared_examples.rb
index ea4e8386eff..83bf06b6727 100644
--- a/spec/support/features/variable_list_shared_examples.rb
+++ b/spec/support/features/variable_list_shared_examples.rb
@@ -263,7 +263,7 @@ shared_examples 'variable list' do
# We check the first row because it re-sorts to alphabetical order on refresh
page.within('.js-ci-variable-list-section') do
- expect(find('.js-ci-variable-error-box')).to have_content('Variables key has already been taken')
+ expect(find('.js-ci-variable-error-box')).to have_content('Validation failed Variables Duplicate variables: samekey')
end
end
end