Permalink
Browse files

Merge branch 'master' of github.com:rails/rails

  • Loading branch information...
1 parent 226dfc2 commit 4b038f638d8c8969b2bccac82d0d7a370381680b Carlhuda committed Feb 25, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/test/controller/webservice_test.rb
@@ -245,7 +245,7 @@ def test_typecast_as_yaml
private
def with_params_parsers(parsers = {})
old_session = @integration_session
- @app = ActionDispatch::ParamsParser.new(ActionDispatch::Routing::Routes, parsers)
+ @app = ActionDispatch::ParamsParser.new(app.router, parsers)
reset!
yield
ensure

0 comments on commit 4b038f6

Please sign in to comment.