diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2010-11-02 01:23:58 +0000 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2010-11-02 01:24:31 +0000 |
commit | c5c2e4fefde539e1c1753d4ca184c3bf81d496be (patch) | |
tree | 22c1e1fbbb0bf25c6c4767329e5cd95201e642ed /activerecord/test/cases/base_test.rb | |
parent | 3cf85fb4fcdae65a4d5a1a5c418492ea0cf9ad6d (diff) | |
download | rails-c5c2e4fefde539e1c1753d4ca184c3bf81d496be.tar.gz rails-c5c2e4fefde539e1c1753d4ca184c3bf81d496be.tar.bz2 rails-c5c2e4fefde539e1c1753d4ca184c3bf81d496be.zip |
Add timestamps to Topic
Diffstat (limited to 'activerecord/test/cases/base_test.rb')
-rw-r--r-- | activerecord/test/cases/base_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/base_test.rb b/activerecord/test/cases/base_test.rb index e63e1fbe09..ceb1272862 100644 --- a/activerecord/test/cases/base_test.rb +++ b/activerecord/test/cases/base_test.rb @@ -1353,7 +1353,7 @@ class BasicsTest < ActiveRecord::TestCase def test_inspect_instance topic = topics(:first) - assert_equal %(#<Topic id: 1, title: "The First Topic", author_name: "David", author_email_address: "david@loudthinking.com", written_on: "#{topic.written_on.to_s(:db)}", bonus_time: "#{topic.bonus_time.to_s(:db)}", last_read: "#{topic.last_read.to_s(:db)}", content: "Have a nice day", approved: false, replies_count: 1, parent_id: nil, parent_title: nil, type: nil, group: nil>), topic.inspect + assert_equal %(#<Topic id: 1, title: "The First Topic", author_name: "David", author_email_address: "david@loudthinking.com", written_on: "#{topic.written_on.to_s(:db)}", bonus_time: "#{topic.bonus_time.to_s(:db)}", last_read: "#{topic.last_read.to_s(:db)}", content: "Have a nice day", approved: false, replies_count: 1, parent_id: nil, parent_title: nil, type: nil, group: nil, created_at: "#{topic.created_at.to_s(:db)}", updated_at: "#{topic.updated_at.to_s(:db)}">), topic.inspect end def test_inspect_new_instance |