diff options
author | Dennis Tang <dennis@dennistang.net> | 2018-09-26 12:41:37 +0300 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2018-09-26 12:41:37 +0300 |
commit | 715221d629e922261b34920d3e9638c2d78ef1bb (patch) | |
tree | 70cd9f4bebb4aa7c5b2ea1d6644c2babf1bdc4fc /spec/features | |
parent | 03e092065ecda656bc493a303bf6ebe02b67f6ff (diff) |
Preserve order of project tags list
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/projects/settings/user_tags_project_spec.rb | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/spec/features/projects/settings/user_tags_project_spec.rb b/spec/features/projects/settings/user_tags_project_spec.rb index 57b4b1287fa..9357215ae6f 100644 --- a/spec/features/projects/settings/user_tags_project_spec.rb +++ b/spec/features/projects/settings/user_tags_project_spec.rb @@ -9,15 +9,13 @@ describe 'Projects > Settings > User tags a project' do visit edit_project_path(project) end - context 'when a project is archived' do - it 'unarchives a project' do - fill_in 'Tags', with: 'tag1, tag2' + it 'sets project tags' do + fill_in 'Tags', with: 'tag1, tag2' - page.within '.general-settings' do - click_button 'Save changes' - end - - expect(find_field('Tags').value).to eq 'tag1, tag2' + page.within '.general-settings' do + click_button 'Save changes' end + + expect(find_field('Tags').value).to eq 'tag1, tag2' end end |