1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

assert_equal should be used instead of assert

[#4629 state:resolved]

Signed-off-by: José Valim <jose.valim@gmail.com>
This commit is contained in:
Neeraj Singh 2010-05-17 16:23:43 -04:00 committed by José Valim
parent 0ef13afef5
commit ce20b93606

View file

@ -35,7 +35,7 @@ class ModulesTest < ActiveRecord::TestCase
def test_module_spanning_has_and_belongs_to_many_associations
project = MyApplication::Business::Project.find(:first)
project.developers << MyApplication::Business::Developer.create("name" => "John")
assert "John", project.developers.last.name
assert_equal "John", project.developers.last.name
end
def test_associations_spanning_cross_modules