Sha256: e1486cab4f9a1461af68e7f2d7c901cfc1a7282ca193e117df201cef8172d56b
Contents?: true
Size: 471 Bytes
Versions: 6
Compression:
Stored size: 471 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 #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" expect { visit spree.root_path }.not_to raise_error end end
Version data entries
6 entries across 6 versions & 1 rubygems