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