aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/persistence_test.rb
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-01-03 21:26:38 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-01-03 21:26:38 -0300
commitebabd78befcb8cfef2635d80c0136ba7197bae32 (patch)
tree334c0697bcbc777ec15a8be746861fab80f480c8 /activerecord/test/cases/persistence_test.rb
parent3a39de677adaf7e3d4134bab530ba25d21a431d3 (diff)
downloadrails-ebabd78befcb8cfef2635d80c0136ba7197bae32.tar.gz
rails-ebabd78befcb8cfef2635d80c0136ba7197bae32.tar.bz2
rails-ebabd78befcb8cfef2635d80c0136ba7197bae32.zip
Change duplicated test name
Diffstat (limited to 'activerecord/test/cases/persistence_test.rb')
-rw-r--r--activerecord/test/cases/persistence_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/persistence_test.rb b/activerecord/test/cases/persistence_test.rb
index 85b069b593..b936cca875 100644
--- a/activerecord/test/cases/persistence_test.rb
+++ b/activerecord/test/cases/persistence_test.rb
@@ -242,7 +242,7 @@ class PersistencesTest < ActiveRecord::TestCase
assert_equal "David", topic2.author_name
end
- def test_update
+ def test_update_object
topic = Topic.new
topic.title = "Another New Topic"
topic.written_on = "2003-12-12 23:23:00"
@@ -646,7 +646,7 @@ class PersistencesTest < ActiveRecord::TestCase
assert !topic.approved?
assert_equal "The First Topic", topic.title
end
-
+
def test_update_attributes
topic = Topic.find(1)
assert !topic.approved?