X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/755585e2306c9384365f61b68c6c6c85565db098..c4f3d1bd32315abdcf057cae586bbf76eb6263b9:/test/functional/way_controller_test.rb diff --git a/test/functional/way_controller_test.rb b/test/functional/way_controller_test.rb index a69612350..332f92dc7 100644 --- a/test/functional/way_controller_test.rb +++ b/test/functional/way_controller_test.rb @@ -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...