diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-06-16 13:57:03 +0100 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-06-16 13:57:03 +0100 |
commit | f50a8065313b9cdc414aff157fcbfbdbfccd5a70 (patch) | |
tree | 69b322ebaff02052748389f8586630fd16a245a8 /spec/features/reportable_note | |
parent | 0bfe78d71628af28d3d7d8f743afcf6ed2447a9a (diff) | |
download | gitlab-ce-f50a8065313b9cdc414aff157fcbfbdbfccd5a70.tar.gz |
Fixed reportable_note_shared_example for the reportable_note/snippets_spec
Diffstat (limited to 'spec/features/reportable_note')
-rw-r--r-- | spec/features/reportable_note/snippets_spec.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/features/reportable_note/snippets_spec.rb b/spec/features/reportable_note/snippets_spec.rb index 3f1e0cf9097..94cadaa8feb 100644 --- a/spec/features/reportable_note/snippets_spec.rb +++ b/spec/features/reportable_note/snippets_spec.rb @@ -22,12 +22,13 @@ describe 'Reportable note on snippets', :feature, :js do describe 'on personal snippet' do let(:snippet) { create(:personal_snippet, :public, author: user) } - let!(:note) { create(:note_on_personal_snippet, noteable: snippet, author: user) } + let!(:note) { create(:note_on_personal_snippet, noteable: snippet) } + let!(:owners_note) { create(:note_on_personal_snippet, noteable: snippet, author: user) } before do visit snippet_path(snippet) end - it_behaves_like 'reportable note' + it_behaves_like 'reportable note', true end end |