diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-01-25 13:53:20 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2013-01-25 13:53:20 +1100 |
commit | eef9d83ff28b9d3fdea11dabfab465adefbdf683 (patch) | |
tree | afd7f731ba0043a1da2f01229ec59fe8d6be5a0e /spec/lib/timezone_fixes_spec.rb | |
parent | c6f3630c4723194c74721300156fa464009285a6 (diff) |
Remove timezone monkeypatch fixes because they're not necessary in Rails 3 anymore
Diffstat (limited to 'spec/lib/timezone_fixes_spec.rb')
-rw-r--r-- | spec/lib/timezone_fixes_spec.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/lib/timezone_fixes_spec.rb b/spec/lib/timezone_fixes_spec.rb index 9d6ade526..8a9a3bf31 100644 --- a/spec/lib/timezone_fixes_spec.rb +++ b/spec/lib/timezone_fixes_spec.rb @@ -3,6 +3,11 @@ # We use MailServerLogDone here just as a totally random model that has a datetime type. require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') +# In Rails 3 the monkeypatch that these tests are testing is not necessary. So, +# since these tests are testing the Rails internals you could argue that they shouldn't +# be here. Well, you're right. But let's leave them in for the time being until the upgrade is finished. +# Then, we should probably delete this whole file + describe "when doing things with timezones" do it "should preserve time objects with local time conversion to default timezone UTC |