Sha256: 0c10b7af3d86ae32237a52c926eff68dad729adb455b5c2c5fa6e199ccb0bea0

Contents?: true

Size: 743 Bytes

Versions: 2

Compression:

Stored size: 743 Bytes

Contents

require 'active_model'
require 'simplecov'

module SimpleCov::Configuration
  def clean_filters
    @filters = []
  end
end

SimpleCov.configure do
  clean_filters
  load_profile 'test_frameworks'
end

ENV["COVERAGE"] && SimpleCov.start do
  add_filter "/.rvm/"
end
require 'rubygems'
require 'bundler'
begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end

require 'minitest/autorun'
require 'shoulda'

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'bank-validator'

class MiniTest::Test
  include ActiveModel
end

MiniTest.autorun

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bank-validator-0.0.4 test/helper.rb
bank-validator-0.0.3 test/helper.rb