summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorMark Fletcher <mark@gitlab.com>2017-07-17 14:51:00 +0700
committerMark Fletcher <mark@gitlab.com>2017-07-17 14:51:00 +0700
commitfbba587fd8c3ab1094eefe53139db48dc6724f90 (patch)
treeb0ba5321b200c648bdb3c4a05cf82fc819755681 /spec
parent43a46ef1f30b44d12528efaddc8f9c9ced0b00e5 (diff)
downloadgitlab-ce-fbba587fd8c3ab1094eefe53139db48dc6724f90.tar.gz
Fix label creation from new list for subgroup projects
Diffstat (limited to 'spec')
-rw-r--r--spec/features/boards/boards_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/features/boards/boards_spec.rb b/spec/features/boards/boards_spec.rb
index 3d7e26c7e19..b939fb5e89e 100644
--- a/spec/features/boards/boards_spec.rb
+++ b/spec/features/boards/boards_spec.rb
@@ -3,7 +3,8 @@ require 'rails_helper'
describe 'Issue Boards', feature: true, js: true do
include DragTo
- let(:project) { create(:empty_project, :public) }
+ let(:group) { create(:group, :nested) }
+ let(:project) { create(:empty_project, :public, namespace: group) }
let(:board) { create(:board, project: project) }
let(:user) { create(:user) }
let!(:user2) { create(:user) }