diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-01-06 04:08:11 -0200 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-01-06 04:08:17 -0200 |
commit | 93df3b2d15d024068eb7c9c5f2f6f9a5c4695947 (patch) | |
tree | 2eca46daeaa2a7a135137d248da1dae21c1313ce /actionpack/lib/action_dispatch/middleware | |
parent | 8f309e31057e1b26fefedb199ab0526126fb1fe4 (diff) | |
download | rails-93df3b2d15d024068eb7c9c5f2f6f9a5c4695947.tar.gz rails-93df3b2d15d024068eb7c9c5f2f6f9a5c4695947.tar.bz2 rails-93df3b2d15d024068eb7c9c5f2f6f9a5c4695947.zip |
Fix routing test to use assert_equal
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/remote_ip.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/remote_ip.rb b/actionpack/lib/action_dispatch/middleware/remote_ip.rb index 66ece60860..030ccb2017 100644 --- a/actionpack/lib/action_dispatch/middleware/remote_ip.rb +++ b/actionpack/lib/action_dispatch/middleware/remote_ip.rb @@ -33,8 +33,8 @@ module ActionDispatch class GetIp def initialize(env, middleware) - @env = env - @middleware = middleware + @env = env + @middleware = middleware @calculated_ip = false end |