Commit 9aca2ccf authored by Rémy Coutable's avatar Rémy Coutable

[CE] Reduce the diff with EE in spec/policies/namespace_policy_spec.rb

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent b78aa81f
...@@ -30,7 +30,7 @@ describe NamespacePolicy do ...@@ -30,7 +30,7 @@ describe NamespacePolicy do
context 'user who has exceeded project limit' do context 'user who has exceeded project limit' do
let(:owner) { create(:user, projects_limit: 0) } 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
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment