Fix active_resource assertions.

This commit is contained in:
José Valim 2010-09-25 17:56:56 +02:00
parent f8294cb8ba
commit e0c344dc49
1 changed files with 2 additions and 2 deletions

View File

@ -1076,11 +1076,11 @@ class BaseTest < Test::Unit::TestCase
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