mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-26 05:55:15 +00:00
Enforce RSpec expect(..).not_to over to_not
This commit is contained in:
@@ -35,7 +35,7 @@ module Api
|
||||
expect(response.status).to eq 200
|
||||
expect(json_response["id"]).to eq enterprise.id
|
||||
enterprise.reload
|
||||
expect(enterprise.logo).to_not be_attached
|
||||
expect(enterprise.logo).not_to be_attached
|
||||
end
|
||||
|
||||
context "when logo does not exist" do
|
||||
|
||||
Reference in New Issue
Block a user