diff options
author | Takuya Noguchi <tak.noguchi.iridge@gmail.com> | 2017-07-17 14:41:50 +0300 |
---|---|---|
committer | Takuya Noguchi <tak.noguchi.iridge@gmail.com> | 2017-07-27 09:27:16 +0300 |
commit | 69129f11df7aa738bfed7a84eead6fdf5d25a814 (patch) | |
tree | fa3d70ad2f25dd71c930217f54e9ba399d486f57 /spec/features/projects/labels/update_prioritization_spec.rb | |
parent | b92d5135d8522e1370636799d74b51f9a37d0b2f (diff) |
Remove help message about prioritized labels for non-members
Diffstat (limited to 'spec/features/projects/labels/update_prioritization_spec.rb')
-rw-r--r-- | spec/features/projects/labels/update_prioritization_spec.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/features/projects/labels/update_prioritization_spec.rb b/spec/features/projects/labels/update_prioritization_spec.rb index 61f6d734ed3..9b51b427845 100644 --- a/spec/features/projects/labels/update_prioritization_spec.rb +++ b/spec/features/projects/labels/update_prioritization_spec.rb @@ -114,6 +114,12 @@ feature 'Prioritize labels', feature: true do expect(page.all('li').last).to have_content('bug') end end + + it 'shows a help message about prioritized labels' do + visit project_labels_path(project) + + expect(page).to have_content 'Star a label' + end end context 'as a guest' do @@ -128,6 +134,7 @@ feature 'Prioritize labels', feature: true do expect(page).to have_content 'wontfix' expect(page).to have_content 'feature' expect(page).not_to have_css('.prioritized-labels') + expect(page).not_to have_content 'Star a label' end end @@ -139,6 +146,7 @@ feature 'Prioritize labels', feature: true do expect(page).to have_content 'wontfix' expect(page).to have_content 'feature' expect(page).not_to have_css('.prioritized-labels') + expect(page).not_to have_content 'Star a label' end end end |