mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-14 04:04:23 +00:00
Enforce RSpec expect(..).not_to over to_not
This commit is contained in:
@@ -47,7 +47,7 @@ describe "/admin/products/:product_id/images", type: :request do
|
||||
expect {
|
||||
subject
|
||||
product.reload
|
||||
}.to_not change{ product.image&.attachment&.filename.to_s }
|
||||
}.not_to change{ product.image&.attachment&.filename.to_s }
|
||||
|
||||
pending "error status code"
|
||||
expect(response).to be_unprocessable
|
||||
|
||||
Reference in New Issue
Block a user