Ticket #5433: mathn_rational.patch
| File mathn_rational.patch, 1.0 kB (added by cliffmoon, 3 years ago) |
|---|
-
actionpack/test/controller/integration_test.rb
old new 1 1 require File.dirname(__FILE__) + '/../abstract_unit' 2 require 'mathn' 3 require 'rational' 2 4 3 5 $:.unshift File.dirname(__FILE__) + '/../../../railties/lib' 4 6 require 'action_controller/integration' -
actionpack/lib/action_controller/integration.rb
old new 137 137 138 138 # Returns +true+ if the last response was a redirect. 139 139 def redirect? 140 status/100 == 3140 (300..399).include? status 141 141 end 142 142 143 143 # Performs a GET request with the given parameters. The parameters may