mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Fix failing tests assuming localizeCurrency has no "delimiter"
This commit is contained in:
committed by
Rob Harrington
parent
65d176f533
commit
508dfa4f23
@@ -1,7 +1,7 @@
|
||||
module Spree
|
||||
module MoneyHelper
|
||||
def with_currency(amount, options = {})
|
||||
Spree::Money.new(amount, {delimiter: ''}.merge(options)).to_s # Delimiter is to match js localizeCurrency
|
||||
Spree::Money.new(amount, options).to_s
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user