Permalink
Browse files

assert_equal should be used instead of assert

[#4629 state:resolved]

Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information...
1 parent 0ef13af commit ce20b93606195eff1ea2dfeb2aa311130dd9977e Neeraj Singh committed with josevalim May 17, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/modules_test.rb
View
2 activerecord/test/cases/modules_test.rb
@@ -35,7 +35,7 @@ def test_module_spanning_associations
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

0 comments on commit ce20b93

Please sign in to comment.