Permalink
Browse files

failing spec for #issue/10, use '¤' for default currency symbol

  • Loading branch information...
semmons99 committed Jul 12, 2010
1 parent fe5cb03 commit 4951ac7d278ad1e1bfe1b81399928fb63cd2ad94
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/money_spec.rb
View
@@ -562,7 +562,7 @@ def to_money
currency = Money::Currency.new("EUR")
currency.should_receive(:symbol).and_return(nil)
- Money.empty(currency).symbol.should == "$"
+ Money.empty(currency).symbol.should == "¤"
end
specify "#delimiter works as documented" do
@@ -653,7 +653,7 @@ def to_money
specify "#format(:symbol => true) returns $ when currency code is not recognized" do
currency = Money::Currency.new("EUR")
currency.should_receive(:symbol).and_return(nil)
- Money.new(100, currency).format(:symbol => true).should == "$1.00"
+ Money.new(100, currency).format(:symbol => true).should == "¤1.00"
end
specify "#format(:symbol => some non-Boolean value that evaluates to true) returs symbol based on the given currency code" do

0 comments on commit 4951ac7

Please sign in to comment.