Sha256: ae5d25352b5710c2230b51422b8ea404c293bfec999d3a0caa697fd5243dd2d4

Contents?: true

Size: 553 Bytes

Versions: 3

Compression:

Stored size: 553 Bytes

Contents

ENV['RAILS_ENV'] ||= 'test'

require File.expand_path("../dummy/config/environment.rb",  __FILE__)
require 'rspec/rails'
require 'rspec/autorun'
require 'factory_girl_rails'

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.order = "random"
  config.include ControllerHacks, :type => :controller
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rails_assistant-1.0.2 spec/spec_helper.rb
rails_assistant-1.0.1 spec/spec_helper.rb
rails_assistant-1.0.0 spec/spec_helper.rb