diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-08-25 11:57:16 -0500 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-08-26 03:30:01 -0500 |
commit | d6d713f6bac9cd1840e45ed43911b99adba9c07b (patch) | |
tree | 5525f760e15f113e244f9e93f43b04fde0184ba8 /spec/models/group_spec.rb | |
parent | 96c2672da8edff081702702a4a499bae14d27ff6 (diff) | |
download | gitlab-ce-d6d713f6bac9cd1840e45ed43911b99adba9c07b.tar.gz |
fix failing tests due to new group visibility restrictions
Diffstat (limited to 'spec/models/group_spec.rb')
-rw-r--r-- | spec/models/group_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/group_spec.rb b/spec/models/group_spec.rb index c3342afb7fd..f9cd12c0ff3 100644 --- a/spec/models/group_spec.rb +++ b/spec/models/group_spec.rb @@ -127,7 +127,7 @@ describe Group do internal_group.visibility_level = Gitlab::VisibilityLevel::PRIVATE expect(internal_group).to be_invalid - expect(internal_group.errors[:visibility_level]).to include('private is not allowed since there are projects with higher visibility.') + expect(internal_group.errors[:visibility_level]).to include('private is not allowed since this group contains projects with higher visibility.') end end @@ -149,7 +149,7 @@ describe Group do internal_group.visibility_level = Gitlab::VisibilityLevel::PRIVATE expect(internal_group).to be_invalid - expect(internal_group.errors[:visibility_level]).to include('private is not allowed since there are sub groups with higher visibility.') + expect(internal_group.errors[:visibility_level]).to include('private is not allowed since there are sub-groups with higher visibility.') end end |