diff options
author | Fabio Papa <fabtheman@gmail.com> | 2019-07-02 02:27:49 +0300 |
---|---|---|
committer | Fabio Papa <fabtheman@gmail.com> | 2019-07-19 22:06:55 +0300 |
commit | f12636bfb338ae2ac70b7e8eb6e481beb1c28a4d (patch) | |
tree | 694a43974c365c96dba777c0740a0882b5f1223b /spec/features/groups | |
parent | 3dc6717c2857a6bccde528b3dace2dfe03ca38c5 (diff) |
Fix some code style issues
Diffstat (limited to 'spec/features/groups')
-rw-r--r-- | spec/features/groups/show_spec.rb | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/spec/features/groups/show_spec.rb b/spec/features/groups/show_spec.rb index 5096abadb79..f1501181432 100644 --- a/spec/features/groups/show_spec.rb +++ b/spec/features/groups/show_spec.rb @@ -56,10 +56,14 @@ describe 'Group show page' do end context 'subgroup support' do - let(:restricted_group) { create(:group, - subgroup_creation_level: ::Gitlab::Access::OWNER_SUBGROUP_ACCESS) } - let(:relaxed_group) { create(:group, - subgroup_creation_level: ::Gitlab::Access::MAINTAINER_SUBGROUP_ACCESS) } + let(:restricted_group) do + create(:group, subgroup_creation_level: ::Gitlab::Access::OWNER_SUBGROUP_ACCESS) + end + + let(:relaxed_group) do + create(:group, subgroup_creation_level: ::Gitlab::Access::MAINTAINER_SUBGROUP_ACCESS) + end + let(:owner) { create(:user) } let(:maintainer) { create(:user) } |