diff options
author | Rémy Coutable <remy@rymai.me> | 2019-03-26 09:22:46 +0100 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2019-03-27 15:41:45 +0100 |
commit | 9aca2ccfd2baef52b09834bf913c7a92d6d04034 (patch) | |
tree | 234a2543921b0f861c0df802791c4986e2304494 /spec/policies | |
parent | b78aa81f323d16b71af40e2f6fc201d7e7a9a855 (diff) | |
download | gitlab-ce-9aca2ccfd2baef52b09834bf913c7a92d6d04034.tar.gz |
[CE] Reduce the diff with EE in spec/policies/namespace_policy_spec.rb
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/policies')
-rw-r--r-- | spec/policies/namespace_policy_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/policies/namespace_policy_spec.rb b/spec/policies/namespace_policy_spec.rb index 1fdf95ad716..99fa8b1fe44 100644 --- a/spec/policies/namespace_policy_spec.rb +++ b/spec/policies/namespace_policy_spec.rb @@ -30,7 +30,7 @@ describe NamespacePolicy do context 'user who has exceeded project limit' do let(:owner) { create(:user, projects_limit: 0) } - it { is_expected.not_to be_allowed(:create_projects) } + it { is_expected.to be_disallowed(:create_projects) } end end |