X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/755585e2306c9384365f61b68c6c6c85565db098..c78853a97e6bcc7c742602867deb70e8da39523e:/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...