Skip to content

Commit

Permalink
Fixes spec due to regression in df6525f
Browse files Browse the repository at this point in the history
  • Loading branch information
tirosh committed Mar 6, 2024
1 parent d3c8f19 commit 4dfce9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/money/formatting_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@

context 'when symbol_position is passed' do
it "inserts currency symbol before the amount when set to :before" do
expect(Money.new(100_00, 'CHF').format(symbol_position: :before)).to eq "CHF 100.00"
expect(Money.new(100_00, 'CHF').format(symbol_position: :before)).to eq "CHF100.00"
end

it "inserts currency symbol after the amount when set to :after" do
Expand Down

0 comments on commit 4dfce9e

Please sign in to comment.