8000 Ruby 1.8: 0.5.5 -> 0.5.6 breaks simple test · Issue #60 · travisjeffery/timecop · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Ruby 1.8: 0.5.5 -> 0.5.6 breaks simple test #60

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
gogolok opened this issue Jan 8, 2013 · 0 comments
Closed

Ruby 1.8: 0.5.5 -> 0.5.6 breaks simple test #60

gogolok opened this issue Jan 8, 2013 · 0 comments

Comments

@gogolok
Copy link
gogolok commented Jan 8, 2013

Got a simple test case that works with timecop version 0.5.5, but not with newer versions under Rails 3.2.10 and Ruby 1.8.
The same test works with Ruby 1.9.

     Failure/Error: Timecop.freeze(2011,1,23) do
     TypeError:
       can't convert ActiveSupport::TimeWithZone into time
Timecop.freeze(2011,1,23) do
  TimeCalc.numeration_till_now(:days).should == (1..23).to_a
end 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Label 3A6C s
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0