Sha256: 3526e5d1ea2ddf7eb7559e6d1852e79bf87beab8d0658fbda1315dfd0f3182a4

Contents?: true

Size: 1.11 KB

Versions: 1

Compression:

Stored size: 1.11 KB

Contents

# Configure Rails Environment
ENV['RAILS_ENV'] = 'test'
$VERBOSE = false

# SimpleCov setup
require 'simplecov'
require 'simplecov-cobertura'
require 'simplecov-formatter-shield'
SimpleCov::Formatter::ShieldFormatter.filename = 'kadmin-shield.png'.freeze
SimpleCov.formatters = [SimpleCov::Formatter::CoberturaFormatter, SimpleCov::Formatter::ShieldFormatter]
SimpleCov.start

# Rails setup
require File.expand_path('../../test/dummy/config/environment.rb', __FILE__)
ActiveRecord::Migrator.migrations_paths = [File.expand_path('../../test/dummy/db/migrate', __FILE__)]
ActiveRecord::Migrator.migrations_paths << File.expand_path('../../db/migrate', __FILE__)
require 'rails/test_help'

# Setup Minitest
require 'minitest/reporters'
Minitest.backtrace_filter = Minitest::BacktraceFilter.new
Minitest::Reporters.use!([Minitest::Reporters::ProgressReporter.new, Minitest::Reporters::JUnitReporter.new], ENV,
  Minitest.backtrace_filter)

# Load support files
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }

# Setup Flexmock
require 'flexmock/minitest'

# Load Kadmin
require 'kadmin'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kadmin-0.3.2 test/test_helper.rb