Sha256: 0e53a067c785549e04810d3c21896679239feb6cd0a943ee876ddc563687cee7
Contents?: true
Size: 788 Bytes
Versions: 4
Compression:
Stored size: 788 Bytes
Contents
# Configure Rails Environment ENV["RAILS_ENV"] = "test" require File.expand_path("../../test/dummy/config/environment.rb", __FILE__) ActiveRecord::Migrator.migrations_paths = [File.expand_path("../../test/dummy/db/migrate", __FILE__)] ActiveRecord::Migrator.migrations_paths << File.expand_path('../../db/migrate', __FILE__) require "rails/test_help" # Filter out Minitest backtrace while allowing backtrace from other libraries # to be shown. Minitest.backtrace_filter = Minitest::BacktraceFilter.new # Load support files Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } class ActiveSupport::TestCase include FactoryGirl::Syntax::Methods end FactoryGirl.definition_file_paths << RailsData::Engine.root.join('test', 'factories') FactoryGirl.find_definitions
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
rails_data-1.0.2 | test/test_helper.rb |
rails_data-1.0.1 | test/test_helper.rb |
rails_data-1.0.0 | test/test_helper.rb |
rails_data-0.0.1 | test/test_helper.rb |