Skip to content
This repository
Browse code

renaming test name to fix accidently override [#5076 state:resolved]

Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information...
commit dec2c4f4e340b60e69e1a88cb6cf46c34c940244 1 parent 99cdea7
Subba Rao Pasupuleti authored July 09, 2010 josevalim committed July 18, 2010
2  activerecord/test/cases/associations/has_many_associations_test.rb
@@ -548,7 +548,7 @@ def test_find_or_initialize
548 548
     assert the_client.new_record?
549 549
   end
550 550
 
551  
-  def test_find_or_create
  551
+  def test_find_or_create_updates_size
552 552
     number_of_clients = companies(:first_firm).clients.size
553 553
     the_client = companies(:first_firm).clients.find_or_create_by_name("Yet another client")
554 554
     assert_equal number_of_clients + 1, companies(:first_firm, :reload).clients.size

0 notes on commit dec2c4f

Please sign in to comment.
Something went wrong with that request. Please try again.