Sha256: b349b95437bbb42edc1f1dede14a7b03493e6fe8f6b90ddb7dbdc5ae0be16b20

Contents?: true

Size: 599 Bytes

Versions: 2

Compression:

Stored size: 599 Bytes

Contents

# Configure coveralls environment

require 'coveralls'
require 'simplecov'

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
    SimpleCov::Formatter::HTMLFormatter,
    Coveralls::SimpleCov::Formatter
]
SimpleCov.start do
  add_filter '.bundle/'
end

# Configure Rails environment
ENV['RAILS_ENV'] = 'test'

require 'rails'
require 'rails/test_help'
require 'minitest-power_assert'

def copy_routes
  routes = File.expand_path('../support/routes.rb', __FILE__)
  destination = File.join(destination_root, 'config')

  FileUtils.mkdir_p(destination)
  FileUtils.cp routes, destination
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
typescript-rails-0.6.2.3 test/test_helper.rb
typescript-rails-0.6.2.2 test/test_helper.rb