aboutsummaryrefslogtreecommitdiffstats
path: root/activeresource/test/cases/validations_test.rb
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2010-09-05 14:59:58 -0300
committerJosé Valim <jose.valim@gmail.com>2010-09-06 13:38:38 +0200
commita18b73b43c07d031c9a660bc119835dcb6db85cf (patch)
treeb403fbb684ada5d408d619257a566779896f71fc /activeresource/test/cases/validations_test.rb
parent7204bb0feb6f6a76243749eef2c67b8265a6bba7 (diff)
downloadrails-a18b73b43c07d031c9a660bc119835dcb6db85cf.tar.gz
rails-a18b73b43c07d031c9a660bc119835dcb6db85cf.tar.bz2
rails-a18b73b43c07d031c9a660bc119835dcb6db85cf.zip
Remove all deprecation warnings in activeresource
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'activeresource/test/cases/validations_test.rb')
-rw-r--r--activeresource/test/cases/validations_test.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/activeresource/test/cases/validations_test.rb b/activeresource/test/cases/validations_test.rb
index 87c5c8c611..bd79fdd952 100644
--- a/activeresource/test/cases/validations_test.rb
+++ b/activeresource/test/cases/validations_test.rb
@@ -36,14 +36,6 @@ class ValidationsTest < ActiveModel::TestCase
assert p.save(:validate => false)
end
- def test_deprecated_save_without_validation
- p = new_project(:name => nil)
- assert !p.save
- assert_deprecated do
- assert p.save(false)
- end
- end
-
def test_validate_callback
# we have a callback ensuring the description is longer than three letters
p = new_project(:description => 'a')