Sha256: 605626c6d64906876e16791815ad83f227689c1ae84a4f64093dd9113c1dbbad
Contents?: true
Size: 711 Bytes
Versions: 2
Compression:
Stored size: 711 Bytes
Contents
ENV["RAILS_ENV"] ||= 'test' require 'rspec/core' unless defined? RSpec.configure require 'spec_helper' require File.expand_path("../dummy/config/environment", __FILE__) require 'rspec/rails' FactoryGirl.definition_file_paths = [File.expand_path('../factories', __FILE__)] FactoryGirl.find_definitions ENGINE_RAILS_ROOT = File.join(File.dirname(__FILE__), '../') Dir[File.join(ENGINE_RAILS_ROOT, "spec/support/**/*.rb")].each {|f| require f } ActiveRecord::Migration.maintain_test_schema! RSpec.configure do |config| config.mock_with :rspec config.order = "random" config.use_transactional_fixtures = true config.infer_spec_type_from_file_location! config.include FactoryGirl::Syntax::Methods end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dm_preferences-1.5.1 | spec/spec_helper.rb |
dm_preferences-1.5 | spec/spec_helper.rb |