aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r--actionpack/test/controller/addresses_render_test.rb8
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