Sha256: e8428dd891f0010338a26e0acf6a50b8f0098625475f650b3e6bd5821028c6e0

Contents?: true

Size: 852 Bytes

Versions: 4

Compression:

Stored size: 852 Bytes

Contents

require 'codeclimate-test-reporter'
CodeClimate::TestReporter.start

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

4 entries across 4 versions & 1 rubygems

Version Path
xing-backend-0.0.23 spec_help/spec_helper.rb
xing-backend-0.0.22 spec_help/spec_helper.rb
xing-backend-0.0.21 spec_help/spec_helper.rb
xing-backend-0.0.20 spec_help/spec_helper.rb