Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix rescan test for route removal

because it only matters if we care about routes
  • Loading branch information...
commit 2684b1581b1bab45a09ad6e9c7b8ec1cd3048910 1 parent c7cbde7
@presidentbeef authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  test/tests/test_rescanner.rb
View
2  test/tests/test_rescanner.rb
@@ -188,7 +188,7 @@ def test_change_config
def test_remove_route
routes = "config/routes.rb"
- before_rescan_of routes do
+ before_rescan_of routes, "rails3.2", :assume_all_routes => false do
replace routes, "match 'implicit' => 'removal#implicit_render'", ""
end
Please sign in to comment.
Something went wrong with that request. Please try again.