Sha256: b60a05ba62a9520cfa9cfa3c78529f2f6263d8f2b70e7fc0f37407ad49480c2b
Contents?: true
Size: 533 Bytes
Versions: 1
Compression:
Stored size: 533 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe 'Switching currencies in backend', type: :system do before do create(:store) create(:base_product, name: "RoR Mug") end # Regression test for https://github.com/spree/spree/issues/2340 it "does not cause current_order to become nil", inaccessible: true do visit spree.root_path click_link "RoR Mug" click_button "Add To Cart" # Now that we have an order... stub_spree_preferences(currency: "AUD") visit spree.root_path end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
solidus_starter_frontend-0.1.0 | spec/system/currency_spec.rb |