diff options
author | Ilan Shamir <ilanshamir1@gmail.com> | 2016-06-14 23:43:31 +0300 |
---|---|---|
committer | Ilan Shamir <ilanshamir1@gmail.com> | 2016-06-16 01:25:18 +0300 |
commit | 94135e6275a0c538ab0a5782c3f71152894efc2d (patch) | |
tree | a32add5aa45baace061551d8cfc8fe001fab6cc6 /spec/lib/gitlab | |
parent | 400b4159742a7d32961d3efaa411f34d5e3117fa (diff) |
Remove JiraIssue model and replace references with ExternalIssue
Diffstat (limited to 'spec/lib/gitlab')
-rw-r--r-- | spec/lib/gitlab/reference_extractor_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/lib/gitlab/reference_extractor_spec.rb b/spec/lib/gitlab/reference_extractor_spec.rb index 7c617723e6d..7b4ccc83915 100644 --- a/spec/lib/gitlab/reference_extractor_spec.rb +++ b/spec/lib/gitlab/reference_extractor_spec.rb @@ -105,7 +105,8 @@ describe Gitlab::ReferenceExtractor, lib: true do it 'returns JIRA issues for a JIRA-integrated project' do subject.analyze('JIRA-123 and FOOBAR-4567') - expect(subject.issues).to eq [JiraIssue.new('JIRA-123', project), JiraIssue.new('FOOBAR-4567', project)] + expect(subject.issues).to eq [ExternalIssue.new('JIRA-123', project), + ExternalIssue.new('FOOBAR-4567', project)] end end |