mirror of
https://github.com/github/rails.git
synced 2026-01-25 06:18:04 -05:00
Fix broken test case caused by change of testing address from 127.0.0.1 to 0.0.0.0
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1417 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -6,7 +6,7 @@ class RequestTest < Test::Unit::TestCase
|
||||
end
|
||||
|
||||
def test_remote_ip
|
||||
assert_equal '127.0.0.1', @request.remote_ip
|
||||
assert_equal '0.0.0.0', @request.remote_ip
|
||||
|
||||
@request.remote_addr = '1.2.3.4'
|
||||
assert_equal '1.2.3.4', @request.remote_ip
|
||||
|
||||
Reference in New Issue
Block a user