Source: show | on GitHub
# File activesupport/test/callbacks_test.rb, line 1116 def test_deprecate_string_callback klass = Class.new(Record) assert_deprecated do klass.send :before_save, "tweedle_dee" end end