Replace deprecated finder methods

This commit is contained in:
Tom Hughes 2013-07-08 23:02:26 +01:00
parent d8399d3e18
commit 6c51b3cc0a
7 changed files with 32 additions and 19 deletions

View 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...