lib/generators/koi/admin_controller/templates/controller_spec.rb.tt in katalyst-koi-4.3.5 vs lib/generators/koi/admin_controller/templates/controller_spec.rb.tt in katalyst-koi-4.4.0
- old
+ new
@@ -17,10 +17,10 @@
action
expect(response).to have_http_status(:success)
end
context "with a large collection" do
- before { create_list(:<%= singular_name %>, 25) }
+ before { create_list(:<%= singular_name %>, 25) } # rubocop:disable FactoryBot/ExcessiveCreateList
it "paginates the collection" do
action
expect(response.body).to have_selector("tbody tr", count: 20)
end