Skip to content
This repository
Browse code

Fix rescan test for route removal

because it only matters if we care about routes
  • Loading branch information...
commit 2684b1581b1bab45a09ad6e9c7b8ec1cd3048910 1 parent c7cbde7
Justin authored December 20, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  test/tests/test_rescanner.rb
2  test/tests/test_rescanner.rb
@@ -188,7 +188,7 @@ def test_change_config
188 188
   def test_remove_route
189 189
     routes = "config/routes.rb"
190 190
 
191  
-    before_rescan_of routes do
  191
+    before_rescan_of routes, "rails3.2", :assume_all_routes => false do
192 192
       replace routes, "match 'implicit' => 'removal#implicit_render'", ""
193 193
     end
194 194
 

0 notes on commit 2684b15

Please sign in to comment.
Something went wrong with that request. Please try again.