diff options
author | Carlhuda <carlhuda@engineyard.com> | 2010-02-26 17:18:29 -0800 |
---|---|---|
committer | Carlhuda <carlhuda@engineyard.com> | 2010-02-26 17:18:45 -0800 |
commit | 050831803a9e553ba392a73732b00528dfa8c6ad (patch) | |
tree | 177a9050c5c07a80dedfc2bdc49b73b96d1a257d /actionpack/test/abstract_unit.rb | |
parent | 6324eeefd7d1dd7b628afdcf436649062d12bbab (diff) | |
download | rails-050831803a9e553ba392a73732b00528dfa8c6ad.tar.gz rails-050831803a9e553ba392a73732b00528dfa8c6ad.tar.bz2 rails-050831803a9e553ba392a73732b00528dfa8c6ad.zip |
If IntegrationSession is initialized with an objects that responds to #routes, automatically extend the URL helpers from the RouteSet onto it
Diffstat (limited to 'actionpack/test/abstract_unit.rb')
-rw-r--r-- | actionpack/test/abstract_unit.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/test/abstract_unit.rb b/actionpack/test/abstract_unit.rb index c95673d97e..c178dc481c 100644 --- a/actionpack/test/abstract_unit.rb +++ b/actionpack/test/abstract_unit.rb @@ -85,6 +85,7 @@ end class RoutedRackApp attr_reader :router + alias routes router def initialize(router, &blk) @router = router |