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

Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
Rémy Coutable 2019-03-26 09:22:46 +01:00
parent b78aa81f32
commit 9aca2ccfd2
No known key found for this signature in database
GPG key ID: 98DFFD1C0C62B70B

View file

@ -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