Sha256: 7f30e02a6e08244c02f3029c6b5027507b190a0a70effa40d05c3fb96bd40d0c

Contents?: true

Size: 677 Bytes

Versions: 12

Compression:

Stored size: 677 Bytes

Contents

ENV["RAILS_ENV"] = "test"

IS_RAKE_TASK = (!! ($0 =~ /rake/))

if IS_RAKE_TASK
  require "simplecov"
  SimpleCov.start "rails" do
    add_filter "db"
    add_filter "test"
    add_filter "config"

    add_group "Services", "app/services"
    add_group "Uploaders", "app/services"
  end
end

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

Dir[File.join("./test/factories/*.rb")].sort.each { |f| require f }

require "minitest/autorun"
require "rails/generators"
require "rails/test_help"
require "minitest/rails"
require "minitest/pride"
require "mocha/mini_test"

Dir[File.join("./test/support/*.rb")].sort.each { |f| require f }

Version data entries

12 entries across 12 versions & 3 rubygems

Version Path
s3_relay-0.6.2 test/test_helper.rb
s3_relay-0.6.1 test/test_helper.rb
mongoid-direct-s3-upload-0.1.7 test/test_helper.rb
mongoid-direct-s3-upload-0.1.6 test/test_helper.rb
mongoid-direct-s3-upload-0.1.5 test/test_helper.rb
mongoid-direct-s3-upload-0.1.4 test/test_helper.rb
mongoid-direct-s3-upload-0.1.3 test/test_helper.rb
mongoid-direct-s3-upload-0.1.2 test/test_helper.rb
mongoid-direct-s3-upload-0.1.1 test/test_helper.rb
mongoid-direct-s3-upload-0.1.0 test/test_helper.rb
mongoid_direct_s3_upload-0.1.0 test/test_helper.rb
s3_relay-0.6.0 test/test_helper.rb