diff options
author | José Valim <jose.valim@gmail.com> | 2010-09-25 17:56:56 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-09-25 17:56:56 +0200 |
commit | e0c344dc494c5bfe6b5d24a45da983629260af1b (patch) | |
tree | 3e8f6b00357454d5389f635661022d3b6e456bdc | |
parent | f8294cb8bac6357727e7d5df5623349105c6f996 (diff) | |
download | rails-e0c344dc494c5bfe6b5d24a45da983629260af1b.tar.gz rails-e0c344dc494c5bfe6b5d24a45da983629260af1b.tar.bz2 rails-e0c344dc494c5bfe6b5d24a45da983629260af1b.zip |
Fix active_resource assertions.
-rw-r--r-- | activeresource/test/cases/base_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activeresource/test/cases/base_test.rb b/activeresource/test/cases/base_test.rb index b63a218663..6fabeeebcd 100644 --- a/activeresource/test/cases/base_test.rb +++ b/activeresource/test/cases/base_test.rb @@ -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 |