diff options
Diffstat (limited to 'activerecord/test/base_test.rb')
-rwxr-xr-x | activerecord/test/base_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/activerecord/test/base_test.rb b/activerecord/test/base_test.rb index 8bbf98555d..1094430dbf 100755 --- a/activerecord/test/base_test.rb +++ b/activerecord/test/base_test.rb @@ -119,7 +119,7 @@ class BasicsTest < Test::Unit::TestCase def test_update topic = Topic.new topic.title = "Another New Topic" - topic.written_on = "2003-12-12 23:23" + topic.written_on = "2003-12-12 23:23:00" topic.save id = topic.id assert_equal(id, topic.id) @@ -162,7 +162,7 @@ class BasicsTest < Test::Unit::TestCase def test_destroy topic = Topic.new topic.title = "Yet Another New Topic" - topic.written_on = "2003-12-12 23:23" + topic.written_on = "2003-12-12 23:23:00" topic.save id = topic.id topic.destroy @@ -585,4 +585,4 @@ class BasicsTest < Test::Unit::TestCase assert_raises(ActiveRecord::RecordNotFound) { Topic.find(1) } assert_nothing_raised { Reply.find(should_be_destroyed_reply.id) } end -end
\ No newline at end of file +end |