(woops - full email below)
Hi,
My rails migrations / mysql database uses Decimal and I've noticed in
my rspec when I do a "...should eql(5.5)" that they're failing as the
expected result here is a float not a decimal. For example see
extract below:
expected 6.5, got #<BigDecimal:23d8284,'0.65E1',8(8)> (using .eql?)
What's the best way of addressing this? Is there trick regarding the
easiest way to address this?
Thanks
On Sat, Nov 8, 2008 at 9:18 AM, Greg Hauptmann
<[EMAIL PROTECTED]> wrote:
> --
> Sent from my mobile device
>
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users