vendor/rails/actionpack/lib/action_controller/test_process.rb in radiant-0.8.2 vs vendor/rails/actionpack/lib/action_controller/test_process.rb in radiant-0.9.0.rc2
- old
+ new
@@ -89,10 +89,10 @@
def path(*args)
@path || super()
end
- def assign_parameters(controller_path, action, parameters)
+ def assign_parameters(controller_path, action, parameters = {})
parameters = parameters.symbolize_keys.merge(:controller => controller_path, :action => action)
extra_keys = ActionController::Routing::Routes.extra_keys(parameters)
non_path_parameters = get? ? query_parameters : request_parameters
parameters.each do |key, value|
if value.is_a? Fixnum