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:
authorDouwe Maan <douwe@gitlab.com>2017-06-20 19:04:46 +0300
committerDouwe Maan <douwe@gitlab.com>2017-06-20 19:04:46 +0300
commitd9d020b169eb2c3b57f52d423fb5e8c6e907dd9f (patch)
tree5c5194db631e7477921b400980da51ed63b476ee /spec/features/reportable_note
parent207a53ce9826bbe0ffbe0712b67564fbd10b7015 (diff)
parent1f9fb9e45738995ab8935d2e71ca7df73c3fe23c (diff)
Merge branch 'hide-edit-comment-and-report-as-abuse-conditionally' into 'master'
Only show 'Edit comment'/'Report as abuse' when user has perms/isnt current_user See merge request !12096
Diffstat (limited to 'spec/features/reportable_note')
-rw-r--r--spec/features/reportable_note/snippets_spec.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/spec/features/reportable_note/snippets_spec.rb b/spec/features/reportable_note/snippets_spec.rb
index a88990eada0..5bee4a31379 100644
--- a/spec/features/reportable_note/snippets_spec.rb
+++ b/spec/features/reportable_note/snippets_spec.rb
@@ -19,15 +19,4 @@ describe 'Reportable note on snippets', :feature, :js do
it_behaves_like 'reportable note'
end
-
- describe 'on personal snippet' do
- let(:snippet) { create(:personal_snippet, :public, author: user) }
- let!(:note) { create(:note_on_personal_snippet, noteable: snippet, author: user) }
-
- before do
- visit snippet_path(snippet)
- end
-
- it_behaves_like 'reportable note'
- end
end