Commit 7204ffea authored by Arturo Herrero's avatar Arturo Herrero

Update description with limit below 100

parent 06e771d2
......@@ -10,10 +10,10 @@ describe Admin::ServicesController do
end
describe 'GET #index' do
it 'avoids N+1 queries' do
it 'uses less than 100 SQL queries limit' do
query_count = ActiveRecord::QueryRecorder.new { get :index }.count
expect(query_count).to be <= 79
expect(query_count).to be < 100
end
context 'with all existing templates' do
......
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