Sha256: 904b1993f4c2d25d92d63294b80df09c54d07ae0ac230f53ffa8b08d34687855
Contents?: true
Size: 784 Bytes
Versions: 17
Compression:
Stored size: 784 Bytes
Contents
ENV['RAILS_ENV'] ||= 'test' require File.expand_path("../dummy/config/environment.rb", __FILE__) # Not sure if I need this # ActiveRecord::Migrator.migrations_paths = [File.expand_path("../dummy/db/migrate", __FILE__)] require 'rspec/rails' require 'rspec/autorun' require 'factory_girl_rails' require 'pry' Rails.backtrace_cleaner.remove_silencers! # Load support files Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } RSpec.configure do |config| config.mock_with :rspec config.use_transactional_fixtures = true config.infer_base_class_for_anonymous_controllers = false config.infer_spec_type_from_file_location! config.order = "random" config.include Devise::TestHelpers, type: :controller config.include FactoryGirl::Syntax::Methods end
Version data entries
17 entries across 17 versions & 1 rubygems