spec/money/formatting_spec.rb in money-6.13.0 vs spec/money/formatting_spec.rb in money-6.13.1
- old
+ new
@@ -134,9 +134,13 @@
end
end
end
describe "#format" do
+ it 'supports the old formatting options' do
+ expect(Money.zero.format(:display_free)).to eq('free')
+ end
+
context "Locale :ja" do
before { @_locale = I18n.locale; I18n.locale = :ja }
it "formats Japanese currency in Japanese properly" do
money = Money.new(1000, "JPY")