Skip to content

Commit

Permalink
Merge pull request #48123 from cpjmcquillan/cm/remove-redundant-test-…
Browse files Browse the repository at this point in the history
…setup

Remove redundant test
  • Loading branch information
eileencodes committed May 9, 2023
2 parents bb98f9a + db8f573 commit 1769487
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions actionpack/test/dispatch/routing/inspector_test.rb
Expand Up @@ -420,19 +420,6 @@ def test_regression_route_with_controller_regexp
" GET /:controller(/:action) :controller#:action"], output
end

def test_inspect_routes_shows_resources_route_when_assets_disabled
@set = ActionDispatch::Routing::RouteSet.new

output = draw do
get "/cart", to: "cart#show"
end

assert_equal [
"Prefix Verb URI Pattern Controller#Action",
" cart GET /cart(.:format) cart#show"
], output
end

def test_routes_with_undefined_filter
output = draw(controller: "Rails::MissingController") do
get "photos/:id" => "photos#show", :id => /[A-Z]\d{5}/
Expand Down

0 comments on commit 1769487

Please sign in to comment.