mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-13 04:00:21 +00:00
Enforce RSpec expect(..).not_to over to_not
This commit is contained in:
@@ -26,7 +26,7 @@ describe Spree::ApiKeysController, type: :controller, performance: true do
|
||||
expect {
|
||||
spree_post :create, id: other_user.id
|
||||
other_user.reload
|
||||
}.to_not change {
|
||||
}.not_to change {
|
||||
other_user.spree_api_key
|
||||
}
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user