mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Reverted code change introduced in d45145acdc
This commit is contained in:
parent
d45145acdc
commit
49760c1ef9
2 changed files with 2 additions and 2 deletions
|
@ -259,7 +259,7 @@ module AbstractController
|
|||
end
|
||||
|
||||
class TestCallbacksWithArgs < ActiveSupport::TestCase
|
||||
test "callbacks still work when invoking process with multiple arguments" do
|
||||
test "callbacks still work when invoking process with multiple args" do
|
||||
controller = CallbacksWithArgs.new
|
||||
controller.process(:index, " Howdy!")
|
||||
assert_equal "Hello world Howdy!", controller.response_body
|
||||
|
|
|
@ -42,7 +42,7 @@ module AbstractController
|
|||
end
|
||||
end
|
||||
|
||||
test "generated methods call custom with arguments received" do
|
||||
test "generated methods call custom with args received" do
|
||||
collector = MyCollector.new
|
||||
collector.html
|
||||
collector.text(:foo)
|
||||
|
|
Loading…
Reference in a new issue