diff options
author | Matija Čupić <matteeyah@gmail.com> | 2018-02-13 19:46:02 +0100 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2018-02-13 23:51:04 +0100 |
commit | 9a5ba5c67444d9b71597dd8c43955a055a047100 (patch) | |
tree | 166b3a5fa51aa62d081c91a39aa7580d56e44085 /spec/support/features | |
parent | a4b843e9b844ed4e3a5f204e3fb5f43c68fd2db8 (diff) | |
download | gitlab-ce-9a5ba5c67444d9b71597dd8c43955a055a047100.tar.gz |
Add more information in variable_duplicates validator error message
Diffstat (limited to 'spec/support/features')
-rw-r--r-- | spec/support/features/variable_list_shared_examples.rb | 2 |
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 4315bf5d037..b7d896c9409 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('Validation failed Variables Duplicate variables: samekey') + expect(find('.js-ci-variable-error-box')).to have_content(/Validation failed Variables has duplicate variables \(.+\)/) end end end |