Sha256: cdfeac273426c71ad8f3fbdd64469bd0b5ced75cc15844985334388497215e53

Contents?: true

Size: 783 Bytes

Versions: 2

Compression:

Stored size: 783 Bytes

Contents

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

2 entries across 2 versions & 1 rubygems

Version Path
xing-backend-1.0.0.pre.beta spec_help/spec_helper.rb
xing-backend-0.0.25 spec_help/spec_helper.rb