aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2013-05-15 09:40:58 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2013-05-15 09:40:58 -0700
commit1012c3e9699471248f8554d4d5bf18e7d194ac2b (patch)
tree7d09d1c25b1aa972516350c0579b31a10baf70da /activesupport/test
parentdb78643a17af9475fde2a6730e9e9e9fc3d77ad2 (diff)
downloadrails-1012c3e9699471248f8554d4d5bf18e7d194ac2b.tar.gz
rails-1012c3e9699471248f8554d4d5bf18e7d194ac2b.tar.bz2
rails-1012c3e9699471248f8554d4d5bf18e7d194ac2b.zip
remove deprecation notices
Diffstat (limited to 'activesupport/test')
-rw-r--r--activesupport/test/callbacks_test.rb16
1 files changed, 0 insertions, 16 deletions
diff --git a/activesupport/test/callbacks_test.rb b/activesupport/test/callbacks_test.rb
index 5fce1eeafc..f8e2ce22fa 100644
--- a/activesupport/test/callbacks_test.rb
+++ b/activesupport/test/callbacks_test.rb
@@ -772,22 +772,6 @@ module CallbacksTest
end
end
- class PerKeyOptionDeprecationTest < ActiveSupport::TestCase
-
- def test_per_key_option_deprecation
- assert_raise NotImplementedError do
- Phone.class_eval do
- set_callback :save, :before, :before_save1, :per_key => {:if => "true"}
- end
- end
- assert_raise NotImplementedError do
- Phone.class_eval do
- skip_callback :save, :before, :before_save1, :per_key => {:if => "true"}
- end
- end
- end
- end
-
class ExcludingDuplicatesCallbackTest < ActiveSupport::TestCase
def test_excludes_duplicates_in_separate_calls
model = DuplicatingCallbacks.new