diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2014-05-23 15:25:34 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2014-05-23 15:25:46 -0700 |
commit | 6d48d979471818f8302233c1738afae1f030eea5 (patch) | |
tree | 5f45df646a4a643030d288637137f55395b85ac2 /actionpack/test/journey | |
parent | 7abde1360b863f34900474ad70d1b41e50944ea3 (diff) | |
download | rails-6d48d979471818f8302233c1738afae1f030eea5.tar.gz rails-6d48d979471818f8302233c1738afae1f030eea5.tar.bz2 rails-6d48d979471818f8302233c1738afae1f030eea5.zip |
glob_param is never used, so rm
this also changes the constructor. We don't need to pass more options
than "defaults" (whatever defaults are, ugh. probably another hash of
stupid stuff).
Diffstat (limited to 'actionpack/test/journey')
-rw-r--r-- | actionpack/test/journey/router_test.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/actionpack/test/journey/router_test.rb b/actionpack/test/journey/router_test.rb index 6252458861..db2d3bc10d 100644 --- a/actionpack/test/journey/router_test.rb +++ b/actionpack/test/journey/router_test.rb @@ -5,7 +5,11 @@ module ActionDispatch module Journey class TestRouter < ActiveSupport::TestCase # TODO : clean up routing tests so we don't need this hack - class StubDispatcher < Routing::RouteSet::Dispatcher; end + class StubDispatcher < Routing::RouteSet::Dispatcher + def initialize + super({}) + end + end attr_reader :routes |