diff options
author | Gabriel Gizotti <gabriel@gizotti.com> | 2016-11-25 06:49:56 +1000 |
---|---|---|
committer | Gabriel Gizotti <gabriel@gizotti.com> | 2016-12-16 19:13:17 +1000 |
commit | 0e76daf3da35920d10053dc4d8707e1b6aa7c913 (patch) | |
tree | 01a9edced661763e10839ae26c04afbb8704a755 /spec/models | |
parent | c1515cd865ec11110f9b34c41a41747dcbc3b402 (diff) | |
download | gitlab-ce-0e76daf3da35920d10053dc4d8707e1b6aa7c913.tar.gz |
only look for issues mentioned on description on MergeRequest#issues_mentioned_but_not_closing
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/merge_request_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/merge_request_spec.rb b/spec/models/merge_request_spec.rb index 688c78fb404..b2c26874552 100644 --- a/spec/models/merge_request_spec.rb +++ b/spec/models/merge_request_spec.rb @@ -294,7 +294,7 @@ describe MergeRequest, models: true do end end - it 'detects issues mentioned but not closed' do + it 'detects issues mentioned in description but not closed' do mentioned_issue = create(:issue, project: subject.project) subject.description = "Is related to #{mentioned_issue.to_reference}" |