mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-23 05:28:53 +00:00
Enforce RSpec expect(..).not_to over to_not
This commit is contained in:
@@ -13,7 +13,7 @@ describe Spree::Admin::GeneralSettingsController, type: :controller do
|
||||
end
|
||||
|
||||
it "updates available units" do
|
||||
expect(Spree::Config.available_units).to_not include("lb")
|
||||
expect(Spree::Config.available_units).not_to include("lb")
|
||||
settings_params = { available_units: { lb: "1" } }
|
||||
spree_put :update, settings_params
|
||||
expect(Spree::Config.available_units).to include("lb")
|
||||
|
||||
Reference in New Issue
Block a user