summaryrefslogtreecommitdiff
path: root/spec/helpers
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2015-06-22 07:33:32 -0700
committerStan Hu <stanhu@gmail.com>2015-06-23 05:49:19 -0700
commit774b7ee277bbad5bbd16a23664cbc2ba7f3b6499 (patch)
treeba51e02046f8d0f262f04f45425a757bce8b60f5 /spec/helpers
parent883438970df30ac7101d8f32b30007c4248c75d5 (diff)
downloadgitlab-ce-774b7ee277bbad5bbd16a23664cbc2ba7f3b6499.tar.gz
Fix Error 500 when relative submodule resolves to a namespace that has a different name from its path
Closes #1849
Diffstat (limited to 'spec/helpers')
-rw-r--r--spec/helpers/submodule_helper_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/helpers/submodule_helper_spec.rb b/spec/helpers/submodule_helper_spec.rb
index a7abf9d3839..10121759132 100644
--- a/spec/helpers/submodule_helper_spec.rb
+++ b/spec/helpers/submodule_helper_spec.rb
@@ -115,7 +115,7 @@ describe SubmoduleHelper do
end
context 'submodules with relative links' do
- let(:group) { create(:group) }
+ let(:group) { create(:group, name: "Master Project", path: "master-project") }
let(:project) { create(:project, group: group) }
let(:commit_id) { sample_commit[:id] }