Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

remove unnecessary test from route_inspect_test

  • Loading branch information...
commit 44591250189fd2dadc8303d094b72552d7d06543 1 parent c3e3102
Richard Schneeman schneems authored
Showing with 0 additions and 9 deletions.
  1. +0 −9 railties/test/application/route_inspect_test.rb
9 railties/test/application/route_inspect_test.rb
View
@@ -164,14 +164,5 @@ def test_redirect
assert_equal " bar GET /bar(.:format) redirect(307, path: /foo/bar)", output[1]
assert_equal "foobar GET /foobar(.:format) redirect(301)", output[2]
end
-
- def test_presenter
- output = draw do
- get "/foo" => redirect("/foo/bar"), :constraints => { :subdomain => "admin" }
- get "/bar" => redirect(path: "/foo/bar", status: 307)
- get "/foobar" => redirect{ "/foo/bar" }
- end
- assert_equal output.join("\n"), Rails::Application::RoutePresenter.display_routes(@set.routes)
- end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.