[rspec-users] Odd Date-based spec failing

Matt Darby matt at matt-darby.com
Thu Jul 3 11:09:14 EDT 2008

> Yeah - use the debugger (ruby-debug) and the failing test case:
> it "should have 5.days as the proper fixnum" do
>  require 'rubygems'; require 'ruby-debug'; debugger
>  5.days.to_i.should == 5.days
> end

Thanks for the reply, but what does this resolve?
It seems as this would be a bug upsteam, no?

More information about the rspec-users mailing list