Sha256: 32b8c91f62afb3763f084edb9995a66bb37522320caa8afe2ca115a255a66c2c

Contents?: true

Size: 896 Bytes

Versions: 1

Compression:

Stored size: 896 Bytes

Contents

require 'codeclimate-test-reporter'
CodeClimate::TestReporter.start
require 'simplecov'
SimpleCov.start 'rails'

require 'rspec'
require 'rspec/core/formatters/base_formatter'
require 'cadre/rspec3'

ENV["RAILS_ENV"] ||= 'test'
require File.expand_path("../dummy/config/environment", __FILE__)

require 'rspec/rails'
#require 'rspec/autorun'

ENGINE_RAILS_ROOT=File.join(File.dirname(__FILE__), '../')
Dir[File.join(ENGINE_RAILS_ROOT, "spec_help/support/**/*.rb")].each {|f| require f }

RSpec.configure do |config|
  config.infer_base_class_for_anonymous_controllers = false

  config.run_all_when_everything_filtered = true
  config.add_formatter(Cadre::RSpec3::NotifyOnCompleteFormatter)
  config.add_formatter(Cadre::RSpec3::QuickfixFormatter)

  config.around(:type => :deprecation) do |example|
    ActiveSupport::Deprecation.silence(&example)
  end

  config.include JsonSpec::Helpers
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
xing-backend-0.0.19 spec_help/spec_helper.rb