]> git.openstreetmap.org Git - rails.git/blobdiff - test/functional/way_controller_test.rb
Replace deprecated finder methods
[rails.git] / test / functional / way_controller_test.rb
index a69612350fbad26804b1ea25658bbe1e57122faa..332f92dc7898d3bc571fd1817fc4f4f8b8ed6df3 100644 (file)
@@ -54,7 +54,7 @@ class WayControllerTest < ActionController::TestCase
   ##
   # check the "full" mode
   def test_full
-    Way.find(:all).each do |way|
+    Way.all.each do |way|
       get :full, :id => way.id
 
       # full call should say "gone" for non-visible ways...