Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2017-06-16 15:57:03 +0300
committerLuke "Jared" Bennett <lbennett@gitlab.com>2017-06-16 15:57:03 +0300
commitf50a8065313b9cdc414aff157fcbfbdbfccd5a70 (patch)
tree69b322ebaff02052748389f8586630fd16a245a8 /spec/features/reportable_note
parent0bfe78d71628af28d3d7d8f743afcf6ed2447a9a (diff)
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.rb5
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