diff options
author | Mark Fletcher <mark@gitlab.com> | 2017-05-01 13:57:58 +0800 |
---|---|---|
committer | Mark Fletcher <mark@gitlab.com> | 2017-05-03 17:51:35 +0800 |
commit | c99075e0d30560d347423a6de7b5f45e9ab73f3a (patch) | |
tree | 620fa1b7456431a28d33f00b9e6b244be6d2fe3e /spec | |
parent | 03f13af588cf2b578a27717db492c216fcafbf9a (diff) | |
download | gitlab-ce-c99075e0d30560d347423a6de7b5f45e9ab73f3a.tar.gz |
Fix label creation from issuable for subgroup projects
Diffstat (limited to 'spec')
-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 baacd7edb86..6eed13f0774 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') } |