Permalink
Browse files

Fix ActiveResource load test for 64bit machines [#3051 state:resolved]

Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
  • Loading branch information...
1 parent 26e4d68 commit a363dba790d9d9f6284f7f857d872eca124805ee @rubymerchant rubymerchant committed with lifo Aug 14, 2009
Showing with 3 additions and 3 deletions.
  1. +3 −3 activeresource/test/base/load_test.rb
@@ -52,8 +52,8 @@ def setup
:notable_rivers => [
{ :id => 1, :name => 'Willamette' },
{ :id => 2, :name => 'Columbia', :rafted_by => @matz }],
- :postal_codes => [97018,1234567890],
- :places => ["Columbia City", "Unknown"]}}}
+ :postal_codes => [ 97018, 1234567890 ],
+ :places => [ "Columbia City", "Unknown" ]}}}
@person = Person.new
end
@@ -135,7 +135,7 @@ def test_recursively_loaded_collections
assert_equal 2, postal_codes.size
assert_kind_of Fixnum, postal_codes.first
assert_equal @deep[:street][:state][:postal_codes].first, postal_codes.first
- assert_kind_of Bignum, postal_codes.last
+ assert_kind_of Numeric, postal_codes.last
assert_equal @deep[:street][:state][:postal_codes].last, postal_codes.last
places = state.places

0 comments on commit a363dba

Please sign in to comment.