Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 4951ac7d278ad1e1bfe1b81399928fb63cd2ad94 1 parent fe5cb03
@semmons99 semmons99 authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/money_spec.rb
View
4 test/money_spec.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.