Skip to content

Commit

Permalink
renaming test name to fix accidently override [#5076 state:resolved]
Browse files Browse the repository at this point in the history
Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information
subbarao authored and josevalim committed Jul 18, 2010
1 parent 99cdea7 commit dec2c4f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ def test_find_or_initialize
assert the_client.new_record?
end

def test_find_or_create
def test_find_or_create_updates_size
number_of_clients = companies(:first_firm).clients.size
the_client = companies(:first_firm).clients.find_or_create_by_name("Yet another client")
assert_equal number_of_clients + 1, companies(:first_firm, :reload).clients.size
Expand Down

0 comments on commit dec2c4f

Please sign in to comment.