From ff4ee16f066fc20b057a0de589dbd78b761fb0d2 Mon Sep 17 00:00:00 2001 From: Rohan Mitchell Date: Thu, 18 Jun 2015 15:38:37 +1000 Subject: [PATCH] Fix currency issues, changed logo path --- spec/performance/shop_controller_spec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/performance/shop_controller_spec.rb b/spec/performance/shop_controller_spec.rb index 984581a2ab..6794c70da5 100644 --- a/spec/performance/shop_controller_spec.rb +++ b/spec/performance/shop_controller_spec.rb @@ -8,11 +8,12 @@ describe ShopController, type: :controller, performance: true do before do controller.stub(:current_distributor) { d } controller.stub(:current_order_cycle) { order_cycle } + Spree::Config.currency = 'AUD' end describe "fetching products" do let(:exchange) { order_cycle.exchanges.to_enterprises(d).outgoing.first } - let(:image) { File.open(File.expand_path('../../../app/assets/images/logo.jpg', __FILE__)) } + let(:image) { File.open(File.expand_path('../../../app/assets/images/logo-white.png', __FILE__)) } before do 11.times do