Sha256: 19cad11c925af7862a1aa2f70952b4883fa602c9a68c62b53ae2bf663b5233ca

Contents?: true

Size: 546 Bytes

Versions: 4

Compression:

Stored size: 546 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 FactoryGirl::Syntax::Methods
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
knowledge_base-0.1.0 spec/spec_helper.rb
feeder-0.3.0 spec/spec_helper.rb
feeder-0.2.0 spec/spec_helper.rb
knowledge_base-0.0.3 spec/spec_helper.rb