test/support/fake_action_controller.rb in much-rails-0.1.0 vs test/support/fake_action_controller.rb in much-rails-0.1.1
- old
+ new
@@ -11,10 +11,10 @@
attr_reader :params
attr_reader :head_called_with, :render_called_with
end
mixin_class_methods do
- def before_action(method_name)
+ def before_action(method_name, **)
before_actions << method_name
end
def before_actions
@before_actions ||= []