Sha256: ac5b1e0573ea76b0b292d76a1774aa5c8fcba4a2ae99db09fe2101a319df6667

Contents?: true

Size: 575 Bytes

Versions: 2

Compression:

Stored size: 575 Bytes

Contents

PADRINO_ENV = 'test' unless defined?(PADRINO_ENV)

# this has to be done before requiring boot.rb because otherwise mocha doesn't hook up it's integration with ActiveSupport::TestCase
require 'mocha'
require 'pp'
require 'test/unit'
require 'sc-test-core'
require 'active_record'
require 'active_record/fixtures'
require_relative 'test_helper'
require 'mocha'
require 'mocha/integration/test_unit'

class ActiveSupport::TestCase
  # include Mocha::API
  include RestClient
  include ActiveRecord::TestFixtures

  setup do
    DatabaseCleaner.strategy = :truncation
  end

end

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
apl-library-0.0.90 test/test_config.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/test/test_config.rb