diff --git a/lib/merb-core/test/helpers/request_helper.rb b/lib/merb-core/test/helpers/request_helper.rb index 8e283f6b..e69e018a 100644 --- a/lib/merb-core/test/helpers/request_helper.rb +++ b/lib/merb-core/test/helpers/request_helper.rb @@ -97,6 +97,7 @@ def fake_request(env = {}, opt = {}) #--- # @public def dispatch_to(controller_klass, action, params = {}, env = {}, &blk) + action = action.to_s request_body = { :post_body => env[:post_body], :req => env[:req] } request = fake_request(env.merge( :query_string => Merb::Request.params_to_query_string(params)), request_body)