diff options
author | Rémy Coutable <remy@rymai.me> | 2016-01-12 18:10:06 +0100 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-01-13 11:59:10 +0100 |
commit | 9d7f88c12258e27a189e8229090920db0627e88b (patch) | |
tree | bcfde81f33a6b506152f415d3ac337d57a840f3d /features/steps/shared/note.rb | |
parent | c4511a123401dcf9c2e1b3de732d18463fe9ba90 (diff) | |
download | gitlab-ce-9d7f88c12258e27a189e8229090920db0627e88b.tar.gz |
Show referenced MRs & Issues only when the current viewer can access them
Diffstat (limited to 'features/steps/shared/note.rb')
-rw-r--r-- | features/steps/shared/note.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/features/steps/shared/note.rb b/features/steps/shared/note.rb index f6aabfefeff..6de58c6e2b1 100644 --- a/features/steps/shared/note.rb +++ b/features/steps/shared/note.rb @@ -106,6 +106,12 @@ module SharedNote end end + step 'I should see no notes at all' do + page.within('.notes') do + expect(page).to_not have_css('.note') + end + end + # Markdown step 'I leave a comment with a header containing "Comment with a header"' do |