Shopify/money

invalid string should raise

elfassy opened this issue · 0 comments

  it "typecasts invalid string to empty money" do
    m = MoneyRecord.new(:price => "magic")
    expect(m.price).to eq(Money.new(0))
  end

This test seems strange to me. Any objections to raising?