diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-11-30 20:04:31 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-11-30 20:04:31 -0800 |
commit | 831a2342c69f1d602aca9e894bffa4f6dbf614ed (patch) | |
tree | 5280489c7bd0c7ebd6cc3d8389cb99f57c32305c /actionpack | |
parent | 542cb5c327f92d3f6ae6159a54e86949441f095e (diff) | |
download | rails-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.rb | 4 |
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 |