Sha256: e006068f85c47f025b4f8a6f321d0b1952a2c1f059f310651862e558254e992b
Contents?: true
Size: 684 Bytes
Versions: 1
Compression:
Stored size: 684 Bytes
Contents
require 'coveralls' Coveralls.wear! # Configure Rails Environment ENV["RAILS_ENV"] = "test" require File.expand_path("../dummy/config/environment.rb", __FILE__) require "rails/test_help" Rails.backtrace_cleaner.remove_silencers! # Load support files Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } # Load fixtures from the engine if ActiveSupport::TestCase.method_defined?(:fixture_path=) ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__) end module TestHelper def self.random_date Date.today - 10000 * rand end end class ActiveSupport::TestCase include FactoryGirl::Syntax::Methods include TestHelper end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
attr_similar-0.0.1 | test/test_helper.rb |