diff options
Diffstat (limited to 'activerecord/test/base_test.rb')
-rwxr-xr-x | activerecord/test/base_test.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/activerecord/test/base_test.rb b/activerecord/test/base_test.rb index 58dd133aeb..3592c09e23 100755 --- a/activerecord/test/base_test.rb +++ b/activerecord/test/base_test.rb @@ -809,17 +809,6 @@ class BasicsTest < Test::Unit::TestCase def test_default default = Default.new - # CURRENT_TIMESTAMP and NOW() timestamps - time_format = "%m/%d/%Y %H:%M" - now = Time.now.strftime(time_format) - assert_equal now, default.modified_time.strftime(time_format) - assert_equal now, default.modified_time_function.strftime(time_format) - - # CURRENT_DATE and NOW() dates - today = Date.today - assert_equal today, default.modified_date - assert_equal today, default.modified_date_function - # fixed dates / times assert_equal Date.new(2004, 1, 1), default.fixed_date assert_equal Time.local(2004, 1,1,0,0,0,0), default.fixed_time |