aboutsummaryrefslogtreecommitdiffstats
path: root/activeresource/test/base_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activeresource/test/base_test.rb')
-rw-r--r--activeresource/test/base_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activeresource/test/base_test.rb b/activeresource/test/base_test.rb
index f3fd3b43e2..dd017b71fa 100644
--- a/activeresource/test/base_test.rb
+++ b/activeresource/test/base_test.rb
@@ -109,7 +109,7 @@ class BaseTest < Test::Unit::TestCase
def test_create
rick = Person.new
- rick.save
+ assert_equal true, rick.save
assert_equal '5', rick.id
end
@@ -133,7 +133,7 @@ class BaseTest < Test::Unit::TestCase
matz.name = "David"
assert_kind_of Person, matz
assert_equal "David", matz.name
- matz.save
+ assert_equal true, matz.save
end
def test_update_with_custom_prefix