aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2012-05-24 19:35:59 -0700
committerRafael Mendonça França <rafaelmfranca@gmail.com>2012-05-24 19:35:59 -0700
commit641ab7cedfea24e2309dbf1d92ea2cbc26f5c8ed (patch)
tree8b7bb89fc2296a51033db12e02bfb43c1e22ed9a /railties/test
parentd476129691b1dd1e356f386af0532dcb2cd885ee (diff)
parent44591250189fd2dadc8303d094b72552d7d06543 (diff)
downloadrails-641ab7cedfea24e2309dbf1d92ea2cbc26f5c8ed.tar.gz
rails-641ab7cedfea24e2309dbf1d92ea2cbc26f5c8ed.tar.bz2
rails-641ab7cedfea24e2309dbf1d92ea2cbc26f5c8ed.zip
Merge pull request #6481 from schneems/schneems/sextant-routes
Remove Unnecessary Test from route_inspect_test
Diffstat (limited to 'railties/test')
-rw-r--r--railties/test/application/route_inspect_test.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/railties/test/application/route_inspect_test.rb b/railties/test/application/route_inspect_test.rb
index e453cdb074..3b8c874b5b 100644
--- a/railties/test/application/route_inspect_test.rb
+++ b/railties/test/application/route_inspect_test.rb
@@ -164,14 +164,5 @@ module ApplicationTests
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