diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2014-05-22 20:37:06 +0200 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2014-05-22 20:37:06 +0200 |
commit | 26dc3ea7b8ac770b8265fa8ce97ed67158cfb68a (patch) | |
tree | f5eb36ae2efbb3a753c4dba5c0592a85e4544efa /test/cases/callbacks_test.rb | |
parent | ef4aff07a41f1249baade695e68c75a8db3ded58 (diff) | |
download | rails-26dc3ea7b8ac770b8265fa8ce97ed67158cfb68a.tar.gz rails-26dc3ea7b8ac770b8265fa8ce97ed67158cfb68a.tar.bz2 rails-26dc3ea7b8ac770b8265fa8ce97ed67158cfb68a.zip |
Rename #perform_with_hooks to #execution
Diffstat (limited to 'test/cases/callbacks_test.rb')
-rw-r--r-- | test/cases/callbacks_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cases/callbacks_test.rb b/test/cases/callbacks_test.rb index 104519dcb7..01a9b9d26b 100644 --- a/test/cases/callbacks_test.rb +++ b/test/cases/callbacks_test.rb @@ -5,7 +5,7 @@ require 'active_support/core_ext/object/inclusion' class CallbacksTest < ActiveSupport::TestCase test 'perform callbacks' do - performed_callback_job = CallbackJob.new.tap { |j| j.perform_with_hooks } + performed_callback_job = CallbackJob.new.tap { |j| j.execute } assert "CallbackJob ran before_perform".in? performed_callback_job.history assert "CallbackJob ran after_perform".in? performed_callback_job.history assert "CallbackJob ran around_perform_start".in? performed_callback_job.history |