Skip to content

Commit

Permalink
Merge pull request #288 from spree/chore/cleanup-default-country-id
Browse files Browse the repository at this point in the history
Remove Spree::Config[:default_country_id] usages
  • Loading branch information
rafalcymerys authored Nov 17, 2023
2 parents 18eb77b + 70efa6a commit 4a0c962
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,8 @@
reset_spree_preferences

country = create(:country, name: 'United States of America', iso_name: 'UNITED STATES', iso: 'US', states_required: true)
Spree::Config[:default_country_id] = country.id

create(:store, default: true)
create(:store, default_country: country, default: true)
end

config.after(:each, type: :feature) do |example|
Expand Down

0 comments on commit 4a0c962

Please sign in to comment.