jtrupiano/timecop — Issue #16: Doesn't work Date.yesterday and Date.tomorrow with Rails 3.1
Author: Kr00lIX
Created: 2011-10-29 10:42:17+00:00
State: open

Timecop returns wrong result

```ruby
pry(main)> [Date.yesterday, Date.today, Date.tomorrow]
=> [Fri, 28 Oct 2011, Sat, 29 Oct 2011, Sun, 30 Oct 2011]

pry(main)> Timecop.freeze(Date.today + 30)
=> 2011-11-28 00:00:00 +0200

pry(main)> [Date.yesterday, Date.today, Date.tomorrow]
=> [Sat, 26 Nov 2011, Mon, 28 Nov 2011, Mon, 28 Nov 2011]

```

# Environment
```
ruby-1.9.2-p290
rails (3.1.0)
activesupport (3.1.0)
timecop (0.3.5)
```