summaryrefslogtreecommitdiff
path: root/spec/features/projects/commits
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-01-18 15:25:12 +0100
committerRémy Coutable <remy@rymai.me>2017-01-18 15:25:12 +0100
commitf7eb3573593035c8512424801e02c4cb8dddf4c8 (patch)
tree46e70bcb20e6da36d5e21113ba5d6b7f1cf58fbc /spec/features/projects/commits
parent5e9196b3bcc31ce7fd698ed49af5d39eae1da630 (diff)
downloadgitlab-ce-f7eb3573593035c8512424801e02c4cb8dddf4c8.tar.gz
Ensure group acts as a namespace for polymorphic routes26810-fix-undefined-method-revert_group_project_commit_path
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/features/projects/commits')
-rw-r--r--spec/features/projects/commits/cherry_pick_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/features/projects/commits/cherry_pick_spec.rb b/spec/features/projects/commits/cherry_pick_spec.rb
index d46d9e9399e..7baf7913424 100644
--- a/spec/features/projects/commits/cherry_pick_spec.rb
+++ b/spec/features/projects/commits/cherry_pick_spec.rb
@@ -2,7 +2,8 @@ require 'spec_helper'
include WaitForAjax
describe 'Cherry-pick Commits' do
- let(:project) { create(:project) }
+ let(:group) { create(:group) }
+ let(:project) { create(:project, namespace: group) }
let(:master_pickable_commit) { project.commit('7d3b0f7cff5f37573aea97cebfd5692ea1689924') }
let(:master_pickable_merge) { project.commit('e56497bb5f03a90a51293fc6d516788730953899') }