diff options
author | Neeraj Singh <neerajdotname@gmail.com> | 2010-05-17 16:23:43 -0400 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-05-18 16:13:00 +0200 |
commit | ce20b93606195eff1ea2dfeb2aa311130dd9977e (patch) | |
tree | 58d2285a007b8bb5658b6e58925921f20ab61192 | |
parent | 0ef13afef53bb53f709be7adab3e863ec62eae62 (diff) | |
download | rails-ce20b93606195eff1ea2dfeb2aa311130dd9977e.tar.gz rails-ce20b93606195eff1ea2dfeb2aa311130dd9977e.tar.bz2 rails-ce20b93606195eff1ea2dfeb2aa311130dd9977e.zip |
assert_equal should be used instead of assert
[#4629 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
-rw-r--r-- | activerecord/test/cases/modules_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/modules_test.rb b/activerecord/test/cases/modules_test.rb index c924c3dfad..4b635792c7 100644 --- a/activerecord/test/cases/modules_test.rb +++ b/activerecord/test/cases/modules_test.rb @@ -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 |