lib/action_controller/test_process.rb in actionpack-1.0.1 vs lib/action_controller/test_process.rb in actionpack-1.1.0
- old
+ new
@@ -35,9 +35,13 @@
def cookies
@cookies.freeze
end
+ def port=(number)
+ @env["SERVER_PORT"] = number.to_i
+ end
+
def action=(action_name)
@query_parameters.update({ "action" => action_name })
@parameters = nil
end
\ No newline at end of file