mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-11 03:40:20 +00:00
Switching to using new prices on shop page
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user