Commit 07d2710d authored by Ohad Dahan's avatar Ohad Dahan

Apply suggestion to spec/models/namespace_spec.rb

parent f38c7780
......@@ -924,7 +924,7 @@ describe Namespace do
expect(group.emails_disabled?).to be_truthy
end
it 'not query the db when there is no parent group' do
it 'does not query the db when there is no parent group' do
group = create(:group, emails_disabled: true)
expect { group.emails_disabled? }.not_to exceed_query_limit(0)
......
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