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