Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix active_resource assertions.

  • Loading branch information...
commit e0c344dc494c5bfe6b5d24a45da983629260af1b 1 parent f8294cb
@josevalim josevalim authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 activeresource/test/cases/base_test.rb
View
4 activeresource/test/cases/base_test.rb
@@ -1076,11 +1076,11 @@ def test_update_with_custom_primary_key
plan = SubscriptionPlan.find("silver")
assert !plan.new?
- assert 5.00, plan.price
+ assert_equal 5.00, plan.price
# update price
plan.price = 10.00
plan.save!
- assert 10.00, plan.price
+ assert_equal 10.00, plan.price
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.