Sha256: 3d49b7d67febed58459f308ea6abde11d06965a2addec836fe7db4f0f130dfa3

Contents?: true

Size: 574 Bytes

Versions: 9

Compression:

Stored size: 574 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.include FactoryGirl::Syntax::Methods
    config.mock_with :rspec
    config.use_transactional_fixtures = true
    config.infer_base_class_for_anonymous_controllers = false
    config.order = "random"
  end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
bookkeeper-0.0.7 spec/spec_helper.rb
bookkeeper-0.0.6 spec/spec_helper.rb
bookkeeper-0.0.5 spec/spec_helper.rb
bookkeeper-0.0.4 spec/spec_helper.rb
bookkeeper-0.0.3 spec/spec_helper.rb
bookkeeper-0.0.2 spec/spec_helper.rb
bookkeeper-0.0.1 spec/spec_helper.rb
bookkeeper-0.0.1.beta2 spec/spec_helper.rb
bookkeeper-0.0.1.beta1 spec/spec_helper.rb