aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/test_process.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/lib/action_controller/test_process.rb')
-rw-r--r--actionpack/lib/action_controller/test_process.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/test_process.rb b/actionpack/lib/action_controller/test_process.rb
index 71c012c357..8dd2e443ae 100644
--- a/actionpack/lib/action_controller/test_process.rb
+++ b/actionpack/lib/action_controller/test_process.rb
@@ -75,7 +75,7 @@ module ActionController #:nodoc:
if extra_keys.include?(key.to_sym)
non_path_parameters[key] = value
else
- path_parameters[key] = value.to_s
+ path_parameters[key] = value.is_a?(Fixnum) ? value.to_s : value
end
end
end