Changeset 4761
- Timestamp:
- 08/14/06 23:14:08 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/actionwebservice/lib/action_web_service/dispatcher/action_controller_dispatcher.rb
r4312 r4761 38 38 private 39 39 def dispatch_web_service_request 40 if request.get? 41 render_text('GET not supported', '500 GET not supported') 42 return 43 end 40 44 exception = nil 41 45 begin trunk/actionwebservice/test/abstract_client.rb
r3903 r4761 70 70 71 71 def initialize 72 @session = @assigns = {}73 72 @value_void = nil 74 73 @value_normal = nil trunk/actionwebservice/test/abstract_unit.rb
r4309 r4761 10 10 require 'action_controller/test_process' 11 11 12 ActionController::Base.logger = nil12 ActionController::Base.logger = Logger.new("debug.log") 13 13 ActionController::Base.ignore_missing_templates = true 14 14 … … 21 21 end 22 22 23 ActiveRecord::Base.establish_connection( 24 :adapter => "mysql", 25 :username => "rails", 26 :encoding => "utf8", 27 :database => "actionwebservice_unittest" 28 ) 29 ActiveRecord::Base.connection 23 ActiveRecord::Base.configurations = { 24 'mysql' => { 25 :adapter => "mysql", 26 :username => "rails", 27 :encoding => "utf8", 28 :database => "actionwebservice_unittest" 29 } 30 } 31 32 ActiveRecord::Base.establish_connection 'mysql' 30 33 31 34 Test::Unit::TestCase.fixture_path = "#{File.dirname(__FILE__)}/fixtures/"