aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/callbacks_test.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2013-05-14 12:04:18 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2013-05-14 12:04:18 -0700
commite8e7d8357c5f641842f5c4730396fae4d423723a (patch)
tree791e0baf8624418851e2c7fea52f87ad85bcaafd /activesupport/test/callbacks_test.rb
parent8ce3c1e5dde9fb180813e4d89324db03da110b13 (diff)
parent78202055c971659689f6a96a5b4aa2c138cb44d2 (diff)
downloadrails-e8e7d8357c5f641842f5c4730396fae4d423723a.tar.gz
rails-e8e7d8357c5f641842f5c4730396fae4d423723a.tar.bz2
rails-e8e7d8357c5f641842f5c4730396fae4d423723a.zip
Merge branch 'polymorphic'
* polymorphic: (41 commits) fix shadowed variable warnings polymorphic around callbacks polymorphic after filter rename terminal to halting, try to keep naming consistent push the before filter lambdas to factory methods polymorphic before callbacks use a singleton end node Revert "we never pass blocks, so remove this" if there is nothing to compile, then do not bother compiling Arrays are no longer supported we never pass blocks, so remove this raise an argument error if the filter arity is greater than 1 pass the actual filter, not a string do not keep a reference to the chain in the callback objects fix deprecation test push merge code to the callback itself dup the callback and set the chain remove klass because it is not used rename instance variables push duplicates? logic to the instance ...
Diffstat (limited to 'activesupport/test/callbacks_test.rb')
-rw-r--r--activesupport/test/callbacks_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/callbacks_test.rb b/activesupport/test/callbacks_test.rb
index af2de7845f..86057f7cbb 100644
--- a/activesupport/test/callbacks_test.rb
+++ b/activesupport/test/callbacks_test.rb
@@ -718,7 +718,7 @@ module CallbacksTest
def test_termination_invokes_hook
terminator = CallbackTerminator.new
terminator.save
- assert_equal ":second", terminator.halted
+ assert_equal :second, terminator.halted
end
def test_block_never_called_if_terminated