summaryrefslogtreecommitdiff
path: root/spec/lib/banzai/reference_parser
diff options
context:
space:
mode:
authorAdam Niedzielski <adamsunday@gmail.com>2017-06-30 14:47:53 +0200
committerAdam Niedzielski <adamsunday@gmail.com>2017-06-30 14:47:53 +0200
commit9da3076944146444cb864d5db066a766c76b1935 (patch)
tree85be2f080e31d3ad9f5243b49dbc4366cd0f9f71 /spec/lib/banzai/reference_parser
parent81dba76b9d7d120cd22e3619a4058bd4885be9bc (diff)
downloadgitlab-ce-9da3076944146444cb864d5db066a766c76b1935.tar.gz
Improve support for external issue referencesadam-external-issue-references-spike
Diffstat (limited to 'spec/lib/banzai/reference_parser')
-rw-r--r--spec/lib/banzai/reference_parser/issue_parser_spec.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/spec/lib/banzai/reference_parser/issue_parser_spec.rb b/spec/lib/banzai/reference_parser/issue_parser_spec.rb
index 58e1a0c1bc1..acdd23f81f3 100644
--- a/spec/lib/banzai/reference_parser/issue_parser_spec.rb
+++ b/spec/lib/banzai/reference_parser/issue_parser_spec.rb
@@ -39,16 +39,6 @@ describe Banzai::ReferenceParser::IssueParser, lib: true do
expect(subject.nodes_visible_to_user(user, [link])).to eq([])
end
end
-
- context 'when the project uses an external issue tracker' do
- it 'returns all nodes' do
- link = double(:link)
-
- expect(project).to receive(:external_issue_tracker).and_return(true)
-
- expect(subject.nodes_visible_to_user(user, [link])).to eq([link])
- end
- end
end
describe '#referenced_by' do