Browse files

tests for XML and JSON data and hierarchy, removed a couple extraneou…

…s comments
  • Loading branch information...
1 parent 2d03d91 commit 5a1c25f04b2cec57976c63e548a4ad23a14f94cb Mark Holton committed Feb 22, 2009
Showing with 0 additions and 2 deletions.
  1. +0 −2 test/functional/info_controller_test.rb
View
2 test/functional/info_controller_test.rb
@@ -71,8 +71,6 @@ class InfoControllerTest < ActionController::TestCase
assert_equal assigns(:product)[:price], doc['product']['price']
assert_equal assigns(:product)[:title], doc['product']['title']
assert_equal 1, assigns(:orders).length
- #assert_equal assigns(:orders)[1], doc['product']['orders']
- #assert_equal assigns(:orders)[1][:order], doc['product']['orders']['order']
assert_equal assigns(:orders).first[:id], doc['product']['orders'].first['id']
assert_equal assigns(:orders).first[:pay_type], doc['product']['orders'].first['pay_type']
assert_equal assigns(:orders).first[:address], doc['product']['orders'].first['address']

0 comments on commit 5a1c25f

Please sign in to comment.