Fix duplicate CI variable feature spec failure

This commit is contained in:
Matija Čupić 2018-02-05 18:22:10 +01:00
parent 1098355e02
commit 0ccbc6515e
No known key found for this signature in database
GPG key ID: 4BAF84FFACD2E5DE

View file

@ -263,7 +263,7 @@ shared_examples 'variable list' do
# We check the first row because it re-sorts to alphabetical order on refresh # We check the first row because it re-sorts to alphabetical order on refresh
page.within('.js-ci-variable-list-section') do 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 end
end end