diff options
author | Stan Hu <stanhu@gmail.com> | 2015-06-22 17:33:32 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2015-06-23 15:49:19 +0300 |
commit | 774b7ee277bbad5bbd16a23664cbc2ba7f3b6499 (patch) | |
tree | ba51e02046f8d0f262f04f45425a757bce8b60f5 /spec | |
parent | 883438970df30ac7101d8f32b30007c4248c75d5 (diff) |
Fix Error 500 when relative submodule resolves to a namespace that has a different name from its path
Closes #1849
Diffstat (limited to 'spec')
-rw-r--r-- | spec/helpers/submodule_helper_spec.rb | 2 |
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] } |