mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-19 00:27:25 +00:00
Enforce RSpec expect(..).not_to over to_not
This commit is contained in:
@@ -24,7 +24,7 @@ describe WebhookEndpointsController, type: :controller do
|
||||
it "shows error if parameters not specified" do
|
||||
expect {
|
||||
spree_post :create, { url: "" }
|
||||
}.to_not change {
|
||||
}.not_to change {
|
||||
user.webhook_endpoints.count
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user