Sha256: f87e9cefc104a465bf0e870909759b6a8d916f8e73bbc8aa540f81beab886568

Contents?: true

Size: 1021 Bytes

Versions: 22

Compression:

Stored size: 1021 Bytes

Contents

$: << "#{File.dirname(__FILE__)}/../lib"
ENV["RAILS_ENV"] = "test"
require 'rubygems'
require 'test/unit'
require 'action_web_service'
require 'action_controller'
require 'action_controller/test_case'
require 'action_view'
require 'action_view/test_case'

# Show backtraces for deprecated behavior for quicker cleanup.
ActiveSupport::Deprecation.debug = true


ActiveRecord::Base.logger = ActionController::Base.logger = Logger.new("debug.log")

begin
  require 'activerecord'
  require "active_record/test_case"
  require "active_record/fixtures" unless Object.const_defined?(:Fixtures)
rescue LoadError => e
  fail "\nFailed to load activerecord: #{e}"
end

ActiveRecord::Base.configurations = {
  'mysql' => {
    :adapter  => "mysql",
    :username => "root",
    :encoding => "utf8",
    :database => "actionwebservice_unittest"
  }
}

ActiveRecord::Base.establish_connection 'mysql'

class ActiveSupport::TestCase
  include ActiveRecord::TestFixtures
  self.fixture_path = "#{File.dirname(__FILE__)}/fixtures/"
end

Version data entries

22 entries across 22 versions & 14 rubygems

Version Path
datanoise-actionwebservice-2.3.2 test/abstract_unit.rb
dougbarth-actionwebservice-2.3.3 test/abstract_unit.rb
dougbarth-actionwebservice-2.3.4 test/abstract_unit.rb
feldpost-actionwebservice-2.3.3 test/abstract_unit.rb
mozy-actionwebservice-2.3.2 test/abstract_unit.rb
panztel-actionwebservice-2.3.4 test/abstract_unit.rb
pelle-actionwebservice-2.3.3 test/abstract_unit.rb
rickenharp-actionwebservice-2.3.4 test/abstract_unit.rb
tonycoco-actionwebservice-2.3.3 test/abstract_unit.rb
tonycoco-actionwebservice-2.3.4 test/abstract_unit.rb
datanoise-actionwebservice-2.3.5 test/abstract_unit.rb
devolute-actionwebservice-2.3.11 test/abstract_unit.rb
aforward-actionwebservice-2.3.8.100 test/abstract_unit.rb
aforward-actionwebservice-2.3.8.3 test/abstract_unit.rb
aforward-actionwebservice-2.3.8.1 test/abstract_unit.rb
athlite-actionwebservice-2.3.8 test/abstract_unit.rb
jmeeks-actionwebservice-2.3.2 test/abstract_unit.rb
jmeeks-actionwebservice-2.3.5 test/abstract_unit.rb
zinfinit-actionwebservice-2.3.4.2 test/abstract_unit.rb
pelle-actionwebservice-2.3.5 test/abstract_unit.rb