Enforce RSpec expect(..).not_to over to_not

This commit is contained in:
Maikel Linke
2024-03-07 16:57:54 +11:00
parent b4385623b2
commit bd6b0ddbf3
163 changed files with 616 additions and 613 deletions

View File

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