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>2015-10-14 10:27:30 +0300
committerDouwe Maan <douwe@gitlab.com>2015-10-14 10:27:39 +0300
commit276b3a7bc202bd9b51c8f5401f4c525227f3a4d8 (patch)
treef98b786a5e5ea65e3a1891d12dddbb8994b42fba /spec/support
parent530f0d71f5d8157df3a469900e2fe0a81c9eaa5a (diff)
Make Mentionable#cross_reference_exists? private.
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/mentionable_shared_examples.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/spec/support/mentionable_shared_examples.rb b/spec/support/mentionable_shared_examples.rb
index 412c6f4ead8..f584904845e 100644
--- a/spec/support/mentionable_shared_examples.rb
+++ b/spec/support/mentionable_shared_examples.rb
@@ -86,13 +86,6 @@ shared_examples 'a mentionable' do
subject.create_cross_references!
end
-
- it 'detects existing cross-references' do
- SystemNoteService.cross_reference(mentioned_issue, subject.local_reference, author)
-
- expect(subject.cross_reference_exists?(mentioned_issue)).to be_truthy
- expect(subject.cross_reference_exists?(mentioned_mr)).to be_falsey
- end
end
shared_examples 'an editable mentionable' do