diff options
author | Oswaldo Ferreira <oswaldo@gitlab.com> | 2017-01-10 21:52:25 -0200 |
---|---|---|
committer | Oswaldo Ferreira <oswaldo@gitlab.com> | 2017-01-27 20:20:18 -0200 |
commit | aeb9db6753cfdd56f82d80c0e2c01f63d65b705d (patch) | |
tree | 07dd8fea47384355ae52e6943bd15267b4765ee3 /spec/models/issue_spec.rb | |
parent | ac66268443b05029cbc45cc358f62b764f1ff165 (diff) | |
download | gitlab-ce-aeb9db6753cfdd56f82d80c0e2c01f63d65b705d.tar.gz |
Present group and dashboard MR list without grouping by project
Diffstat (limited to 'spec/models/issue_spec.rb')
-rw-r--r-- | spec/models/issue_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/models/issue_spec.rb b/spec/models/issue_spec.rb index 623238e9d86..bba9058f394 100644 --- a/spec/models/issue_spec.rb +++ b/spec/models/issue_spec.rb @@ -34,11 +34,11 @@ describe Issue, models: true do end end - context 'when full_path is true' do + context 'when full is true' do it 'returns complete path to the issue' do - expect(issue.to_reference(full_path: true)).to eq 'sample-namespace/sample-project#1' - expect(issue.to_reference(project, full_path: true)).to eq 'sample-namespace/sample-project#1' - expect(issue.to_reference(group, full_path: true)).to eq 'sample-namespace/sample-project#1' + expect(issue.to_reference(full: true)).to eq 'sample-namespace/sample-project#1' + expect(issue.to_reference(project, full: true)).to eq 'sample-namespace/sample-project#1' + expect(issue.to_reference(group, full: true)).to eq 'sample-namespace/sample-project#1' end end |