提交 2684b158 编写于 作者: J Justin Collins

Fix rescan test for route removal

because it only matters if we care about routes
上级 c7cbde7f
......@@ -188,7 +188,7 @@ class RescannerTests < Test::Unit::TestCase
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册