Sha256: 83da7540116aaabc3f73a6f3364be62793f74c392cd87f86326ec2641caf3119
Contents?: true
Size: 484 Bytes
Versions: 7
Compression:
Stored size: 484 Bytes
Contents
require 'spec_helper' describe "Switching currencies in backend", :type => :feature do before do 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... Spree::Config[:currency] = "AUD" visit spree.root_path end end
Version data entries
7 entries across 7 versions & 1 rubygems