diff options
author | Rémy Coutable <remy@rymai.me> | 2017-05-03 18:19:29 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-05-03 18:19:29 +0300 |
commit | b4176bbaaf94c66f680dac8c21460a2f80b224b2 (patch) | |
tree | fc7c521295ec996cce84fac684d0f5a7ab11ea31 /spec/features/issues | |
parent | c45e11f1798282e73627cb035dc7ad31c6416ec2 (diff) | |
parent | c99075e0d30560d347423a6de7b5f45e9ab73f3a (diff) |
Merge branch '30667-creating-new-label-on-new-issue-causing-bug' into 'master'
Fix label creation from issuable for subgroup projects
Closes #30667
See merge request !11011
Diffstat (limited to 'spec/features/issues')
-rw-r--r-- | spec/features/issues/issue_sidebar_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/features/issues/issue_sidebar_spec.rb b/spec/features/issues/issue_sidebar_spec.rb index 8589945ab74..3bdd12b4853 100644 --- a/spec/features/issues/issue_sidebar_spec.rb +++ b/spec/features/issues/issue_sidebar_spec.rb @@ -3,7 +3,8 @@ require 'rails_helper' feature 'Issue Sidebar', feature: true do include MobileHelpers - let(:project) { create(:project, :public) } + let(:group) { create(:group, :nested) } + let(:project) { create(:project, :public, namespace: group) } let(:issue) { create(:issue, project: project) } let!(:user) { create(:user)} let!(:label) { create(:label, project: project, title: 'bug') } |