Skip to content

Commit

Permalink
switched from process to dispatch in test_invoke for Rails 3 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Dariusz Albrecht committed Mar 23, 2016
1 parent 3c03b7c commit bd2e39f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/action_web_service/test_invoke.rb
Expand Up @@ -8,7 +8,7 @@ class TestCase # :nodoc:
# invoke the specified API method
def invoke_direct(method_name, *args)
prepare_request('api', 'api', method_name, *args)
@controller.process(@request, @response)
@controller.dispatch('api', @request, @response)
decode_rpc_response
end
alias_method :invoke, :invoke_direct
Expand Down

0 comments on commit bd2e39f

Please sign in to comment.