Sha256: 7ead44357f1286a88cdc87cee83a1d4c72f24843fd47d1120c328a2e918c6874

Contents?: true

Size: 878 Bytes

Versions: 1

Compression:

Stored size: 878 Bytes

Contents

if RUBY_ENGINE == "ruby"
  begin
    require "simplecov"
    SimpleCov.add_filter "test"
    SimpleCov.add_filter "config"
    SimpleCov.command_name "MiniTest"
    SimpleCov.start "rails"
  rescue LoadError
    warn "unable to load SimpleCov"
  end
end

ENV["RAILS_ENV"] = "test"
require File.expand_path('../../config/environment', __FILE__)

require "minitest/autorun"
require "minitest/rails"
require "minitest/pride"          # Provides awesome colorful output
require "minitest-rails-shoulda"  # shoulda matchers

# Uncomment if you want Capybara in accceptance/integration tests
# require "minitest/rails/capybara"

require "mocha"  # mocks and stubs

# Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and its subdirectories.
Dir[File.join("./test/support/**/*.rb")].sort.each { |f| require f }

MiniTest::Rails.override_testunit!

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
thincloud-test-0.2.0 lib/generators/thincloud/test/templates/minitest_helper.rb