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

assert should be replaced with assert_equal in a particular test case

[#4636 state:resolved]

Signed-off-by: José Valim <jose.valim@gmail.com>
This commit is contained in:
Neeraj Singh 2010-05-17 22:55:02 -04:00 committed by José Valim
parent 5ddc904941
commit c00f8e49ad

View file

@ -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