in fact I guess I was fishing for an easier way than this...if one
exists?  or is ruby & rspec "eql()" just strict here in terms of
types?

On 11/7/08, Mark Wilden <[EMAIL PROTECTED]> wrote:
> On Fri, Nov 7, 2008 at 3:24 PM, Greg Hauptmann <
> [EMAIL PROTECTED]> wrote:
>
>>
>>     expected 6.5, got #<BigDecimal:23d8284,'0.65E1',8(8)> (using .eql?)
>>
>
> How about just expecting BigDecimal('5.5')?
>
> ///ark
>

-- 
Sent from my mobile device
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to