Sha256: 3b8af864d25089bb0802d2906b373d59d8a958ddc063a93157f4b3cb70bb396f

Contents?: true

Size: 1.08 KB

Versions: 10

Compression:

Stored size: 1.08 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

10 entries across 10 versions & 1 rubygems

Version Path
kadmin-0.3.1 test/test_helper.rb
kadmin-0.3.0 test/test_helper.rb
kadmin-0.2.8 test/test_helper.rb
kadmin-0.2.7 test/test_helper.rb
kadmin-0.2.6 test/test_helper.rb
kadmin-0.2.3 test/test_helper.rb
kadmin-0.2.2 test/test_helper.rb
kadmin-0.1.7 test/test_helper.rb
kadmin-0.1.6 test/test_helper.rb
kadmin-0.1.4 test/test_helper.rb