Permalink
Browse files

Change duplicated test name

  • Loading branch information...
rafaelfranca committed Jan 4, 2013
1 parent 3a39de6 commit ebabd78befcb8cfef2635d80c0136ba7197bae32
Showing with 2 additions and 2 deletions.
  1. +2 −2 activerecord/test/cases/persistence_test.rb
@@ -242,7 +242,7 @@ def test_create_many_through_factory_with_block
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 @@ def test_update
assert !topic.approved?
assert_equal "The First Topic", topic.title
end
-
+
def test_update_attributes
topic = Topic.find(1)
assert !topic.approved?

0 comments on commit ebabd78

Please sign in to comment.