mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-05 22:26:07 +00:00
Replace deprecated any_instace syntax with allow_any_instance_of in spec/system/consumer/registration_spec.rb
This commit is contained in:
@@ -17,7 +17,7 @@ describe "Registration", js: true do
|
||||
Spree::State.create!({ name: "Berat", abbr: "BRA", country: albania })
|
||||
Spree::Country.create!({ name: "Chad", iso3: "TCD", iso: "TD", iso_name: "CHAD",
|
||||
numcode: "148" })
|
||||
AddressGeocoder.any_instance.stub(:geocode)
|
||||
allow_any_instance_of(AddressGeocoder).to receive(:geocode)
|
||||
end
|
||||
|
||||
after do
|
||||
|
||||
Reference in New Issue
Block a user