diff options
author | Robert Speicher <robert@gitlab.com> | 2016-06-17 00:24:10 +0000 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2016-06-17 00:24:10 +0000 |
commit | 79c28e105736298151f9a522adeef3188a3b768b (patch) | |
tree | f67fb2f96fd195d6552cfc1b4ccf6d9a0c3bec1b /spec/lib | |
parent | c34d74090de5d0f7120fa8a89f3187cd6099b642 (diff) | |
parent | 94135e6275a0c538ab0a5782c3f71152894efc2d (diff) | |
download | gitlab-ce-79c28e105736298151f9a522adeef3188a3b768b.tar.gz |
Merge branch 'remove_jiraissue' into 'master'
Remove JiraIssue model and replace references with ExternalIssue
This MR Removes unused JiraIssue class and replaces references with ExternalIssue
Closes #18203
See merge request !4659
Diffstat (limited to 'spec/lib')
-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 |