diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2006-09-04 05:07:26 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2006-09-04 05:07:26 +0000 |
commit | 96c45a811891091cec2927cf80a7c7e5dd719cff (patch) | |
tree | 01d9072650e2cd4659775e265031fca1b7091ef0 /actionpack/test/controller | |
parent | 7cbb4ac44fcdf79bf4c2ba344930b1dd82eb10aa (diff) | |
download | rails-96c45a811891091cec2927cf80a7c7e5dd719cff.tar.gz rails-96c45a811891091cec2927cf80a7c7e5dd719cff.tar.bz2 rails-96c45a811891091cec2927cf80a7c7e5dd719cff.zip |
Don't use deprecated render API. Cosmetics.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4973 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r-- | actionpack/test/controller/addresses_render_test.rb | 8 |
1 files changed, 2 insertions, 6 deletions
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 |