From 96c45a811891091cec2927cf80a7c7e5dd719cff Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Mon, 4 Sep 2006 05:07:26 +0000 Subject: Don't use deprecated render API. Cosmetics. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4973 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/test/controller/addresses_render_test.rb | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'actionpack/test/controller') diff --git a/actionpack/test/controller/addresses_render_test.rb b/actionpack/test/controller/addresses_render_test.rb index d85b6f5c1c..4de1c80505 100644 --- a/actionpack/test/controller/addresses_render_test.rb +++ b/actionpack/test/controller/addresses_render_test.rb @@ -5,23 +5,21 @@ class Address def Address.count(conditions = nil, join = nil) nil end - + def Address.find_all(arg1, arg2, arg3, arg4) [] end - + def self.find(*args) [] end end class AddressesTestController < ActionController::Base - scaffold :address def self.controller_name; "addresses"; end def self.controller_path; "addresses"; end - end AddressesTestController.template_root = File.dirname(__FILE__) + "/../fixtures/" @@ -44,6 +42,4 @@ class AddressesTest < Test::Unit::TestCase get :list assert_equal "We only need to get this far!", @response.body.chomp end - - end -- cgit v1.2.3