aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/time_with_zone_test.rb
diff options
context:
space:
mode:
authorEugene Gilburg <eugene.gilburg@gmail.com>2014-07-19 12:49:52 -0700
committerEugene Gilburg <eugene.gilburg@gmail.com>2014-07-19 17:15:40 -0700
commit3b9cc0a56f4cbfb97f12c5a167ac901f7682bbe2 (patch)
treeb4ebd67d449a380aa404bbce011898e5eddc9fe9 /activesupport/test/core_ext/time_with_zone_test.rb
parent08754f12e65a9ec79633a605e986d0f1ffa4b251 (diff)
downloadrails-3b9cc0a56f4cbfb97f12c5a167ac901f7682bbe2.tar.gz
rails-3b9cc0a56f4cbfb97f12c5a167ac901f7682bbe2.tar.bz2
rails-3b9cc0a56f4cbfb97f12c5a167ac901f7682bbe2.zip
missing activesupport test coverage
Diffstat (limited to 'activesupport/test/core_ext/time_with_zone_test.rb')
-rw-r--r--activesupport/test/core_ext/time_with_zone_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activesupport/test/core_ext/time_with_zone_test.rb b/activesupport/test/core_ext/time_with_zone_test.rb
index 75599a71c3..3000da8da4 100644
--- a/activesupport/test/core_ext/time_with_zone_test.rb
+++ b/activesupport/test/core_ext/time_with_zone_test.rb
@@ -367,6 +367,7 @@ class TimeWithZoneTest < ActiveSupport::TestCase
end
def test_acts_like_time
+ assert @twz.acts_like_time?
assert @twz.acts_like?(:time)
assert ActiveSupport::TimeWithZone.new(DateTime.civil(2000), @time_zone).acts_like?(:time)
end