Sha256: 9ac5f885a8064705173a0054c53412c5e9b82594a44ef2ff2845c12b2bcc0ef1

Contents?: true

Size: 687 Bytes

Versions: 1

Compression:

Stored size: 687 Bytes

Contents

require "rubygems"
require "spork"

Spork.prefork do
  ENV["RAILS_ENV"] = "test"
  if defined?(Noa::Developer::DUMMY_PATH)
    require Noa::Developer::DUMMY_PATH
  end
  require "forgery"
  require "rspec/rails"
  require "rspec/autorun"
  Rails.backtrace_cleaner.remove_silencers!

  RSpec.configure do |config|
    config.fail_fast = true
    config.use_transactional_fixtures = false
    config.infer_base_class_for_anonymous_controllers = false
    config.treat_symbols_as_metadata_keys_with_true_values = true
    config.run_all_when_everything_filtered = true
    config.filter_run :focus
    config.order = "random"
  end
end

Spork.each_run do
  require "factory_girl_rails"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
noa-developer-0.0.2 lib/noa/developer/spec_helper.rb