Use example.com as standard (closes #4413) [anna]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4026 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson 2006-03-25 19:43:40 +00:00
parent 7bcf4c6659
commit 9326222941
2 changed files with 3 additions and 3 deletions

@ -67,7 +67,7 @@ def reset!
@cookies = {}
@controller = @request = @response = nil
self.host = "www.example.test"
self.host = "www.example.com"
self.remote_addr = "127.0.0.1"
self.accept = "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
@ -102,7 +102,7 @@ def https?
# Set the host name to use in the next request.
#
# session.host! "www.example.test"
# session.host! "www.example.com"
def host!(name)
@host = name
end

@ -8,7 +8,7 @@
def app(create=false)
@app_integration_instance = nil if create
@app_integration_instance ||= new_session do |sess|
sess.host! "www.example.test"
sess.host! "www.example.com"
end
end