Sha256: 10628f852d47ffb2896277278b546f5b1da6a797ddc299e82dc72692f10e76d9

Contents?: true

Size: 946 Bytes

Versions: 6

Compression:

Stored size: 946 Bytes

Contents

require 'bundler/setup'

require 'timecop'
require 'rails'
require 'action_controller'
require 'action_controller/test_case'
require 'action_controller/railtie'
require 'active_support/json'
require 'fileutils'
FileUtils.mkdir_p(File.expand_path('../../tmp/cache', __FILE__))

require 'minitest/autorun'
# Ensure backward compatibility with Minitest 4
Minitest::Test = MiniTest::Unit::TestCase unless defined?(Minitest::Test)


require 'capture_warnings'
@capture_warnings = CaptureWarnings.new(fail_build = true)
@capture_warnings.before_tests
if Minitest.respond_to?(:after_run)
  Minitest.after_run do
    @capture_warnings.after_tests
  end
else
  at_exit do
    STDOUT.puts "Minitest.after_run not available."
    @capture_warnings.after_tests
  end
end

require 'active_model_serializers'

require 'support/stream_capture'

require 'support/rails_app'

require 'support/test_case'

require 'fixtures/active_record'

require 'fixtures/poro'

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cheap_ams-0.10.5 test/test_helper.rb
cheap_ams-0.10.4 test/test_helper.rb
cheap_ams-0.10.3 test/test_helper.rb
cheap_ams-0.10.2 test/test_helper.rb
cheap_ams-0.10.1 test/test_helper.rb
cheap_ams-0.10.0.rc2 test/test_helper.rb