Switching to using new prices on shop page

This commit is contained in:
Will Marshall
2014-02-05 14:57:24 +11:00
parent a3e6a6253c
commit f3edd15fa7
2 changed files with 18 additions and 4 deletions

View File

@@ -138,6 +138,12 @@ describe ShopController do
response.body.should have_content "frogs"
response.body.should_not have_content "<a href"
end
it "returns price including fees" do
Spree::Variant.any_instance.stub(:price_with_fees).and_return 998.00
xhr :get, :products
response.body.should have_content "998.0"
end
end
end
end