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:
parent
0ef13afef5
commit
ce20b93606
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue