diff options
author | Neeraj Singh <neerajdotname@gmail.com> | 2010-05-17 22:55:02 -0400 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-05-18 16:12:59 +0200 |
commit | c00f8e49add3f4ab6416e738c4ee2837370b2f3f (patch) | |
tree | a691deaf0d8a087fa3cd63c3e410c0644abc465e /activeresource/test/cases | |
parent | 5ddc9049416e8b6093a7bb3ad4341694f7a14d9f (diff) | |
download | rails-c00f8e49add3f4ab6416e738c4ee2837370b2f3f.tar.gz rails-c00f8e49add3f4ab6416e738c4ee2837370b2f3f.tar.bz2 rails-c00f8e49add3f4ab6416e738c4ee2837370b2f3f.zip |
assert should be replaced with assert_equal in a particular test case
[#4636 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'activeresource/test/cases')
-rw-r--r-- | activeresource/test/cases/base_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activeresource/test/cases/base_test.rb b/activeresource/test/cases/base_test.rb index 4e21e84596..daf58613c0 100644 --- a/activeresource/test/cases/base_test.rb +++ b/activeresource/test/cases/base_test.rb @@ -1048,7 +1048,7 @@ class BaseTest < Test::Unit::TestCase json = joe.to_json Person.format = :xml - assert encode, json + assert_equal encode, json assert_match %r{^\{"person":\{"person":\{}, json assert_match %r{"id":6}, json assert_match %r{"name":"Joe"}, json |