Sha256: 0420583448d943f15300c030257605310cfefdee028c11ce2ab550979cf910b6

Contents?: true

Size: 590 Bytes

Versions: 5

Compression:

Stored size: 590 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 "thincloud-test"

# 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

5 entries across 5 versions & 1 rubygems

Version Path
thincloud-test-0.8.0 lib/generators/thincloud/test/templates/minitest_helper.rb
thincloud-test-0.7.0 lib/generators/thincloud/test/templates/minitest_helper.rb
thincloud-test-0.6.0 lib/generators/thincloud/test/templates/minitest_helper.rb
thincloud-test-0.5.0 lib/generators/thincloud/test/templates/minitest_helper.rb
thincloud-test-0.4.0 lib/generators/thincloud/test/templates/minitest_helper.rb