mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix typo in test
This commit is contained in:
parent
630d2e4e38
commit
469befa7ef
1 changed files with 1 additions and 1 deletions
|
@ -752,7 +752,7 @@ module CallbacksTest
|
||||||
|
|
||||||
class PerKeyOptionDeprecationTest < ActiveSupport::TestCase
|
class PerKeyOptionDeprecationTest < ActiveSupport::TestCase
|
||||||
|
|
||||||
def test_per_key_option_deprecaton
|
def test_per_key_option_deprecation
|
||||||
assert_raise NotImplementedError do
|
assert_raise NotImplementedError do
|
||||||
Phone.class_eval do
|
Phone.class_eval do
|
||||||
set_callback :save, :before, :before_save1, :per_key => {:if => "true"}
|
set_callback :save, :before, :before_save1, :per_key => {:if => "true"}
|
||||||
|
|
Loading…
Reference in a new issue