Sha256: a2fb10f54ca9bdf22c910d80fb669c0b56db3574d37898153d944a37122307a6
Contents?: true
Size: 832 Bytes
Versions: 1
Compression:
Stored size: 832 Bytes
Contents
# -*- encoding : utf-8 -*- # Configure Rails Environment ENV["RAILS_ENV"] = "test" require File.expand_path("../dummy/config/environment.rb", __FILE__) require "rails/test_help" require "simplecov" require 'coveralls' require "mocha/setup" Coveralls.wear! Rails.backtrace_cleaner.remove_silencers! # Run any available migration ActiveRecord::Migrator.migrate File.expand_path("../dummy/db/migrate/", __FILE__) # 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__) class ActiveSupport::TestCase self.use_transactional_fixtures = true self.use_instantiated_fixtures = false fixtures :all end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ip_to_country-0.1.0 | test/test_helper.rb |