aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-11-30 20:04:31 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2010-11-30 20:04:31 -0800
commit831a2342c69f1d602aca9e894bffa4f6dbf614ed (patch)
tree5280489c7bd0c7ebd6cc3d8389cb99f57c32305c /actionpack
parent542cb5c327f92d3f6ae6159a54e86949441f095e (diff)
downloadrails-831a2342c69f1d602aca9e894bffa4f6dbf614ed.tar.gz
rails-831a2342c69f1d602aca9e894bffa4f6dbf614ed.tar.bz2
rails-831a2342c69f1d602aca9e894bffa4f6dbf614ed.zip
just use alias
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_dispatch/testing/integration.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/actionpack/lib/action_dispatch/testing/integration.rb b/actionpack/lib/action_dispatch/testing/integration.rb
index 8fe74c3c80..5c6416a19e 100644
--- a/actionpack/lib/action_dispatch/testing/integration.rb
+++ b/actionpack/lib/action_dispatch/testing/integration.rb
@@ -235,9 +235,7 @@ module ActionDispatch
# Set the host name to use in the next request.
#
# session.host! "www.example.com"
- def host!(name)
- @host = name
- end
+ alias :host! :host=
private
def _mock_session