Replace deprecated finder methods
This commit is contained in:
parent
d8399d3e18
commit
6c51b3cc0a
7 changed files with 32 additions and 19 deletions
|
@ -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...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue