You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
describe "String#to_money" do
it "should respect :subunit_to_unit currency property" do
"1".to_money("USD").should == Money.new(1_00, "USD")
"1".to_money("TND").should == Money.new(1_000, "TND")
"1".to_money("CLP").should == Money.new(1, "CLP")
end
end
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: