1
require 'abstract_unit'
4
def Address.count(conditions = nil, join = nil)
8
def Address.find_all(arg1, arg2, arg3, arg4)
17
class AddressesTestController < ActionController::Base
18
def self.controller_name; "addresses"; end
19
def self.controller_path; "addresses"; end
22
class AddressesTest < ActionController::TestCase
23
tests AddressesTestController
26
# enable a logger so that (e.g.) the benchmarking stuff runs, so we can get
27
# a more accurate simulation of what happens in "real life".
28
@controller.logger = Logger.new(nil)
30
@request.host = "www.nextangle.com"
35
assert_equal "We only need to get this far!", @response.body.chomp