Sha256: 5517c4acdf1ddf5a031f6c8d26b16be2a253f1729cabbdd19069d0de967c7a78

Contents?: true

Size: 816 Bytes

Versions: 2

Compression:

Stored size: 816 Bytes

Contents

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

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))

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

require 'autoscope'

require 'rspec/rails'
require 'rails/engine'
require 'mocha/setup'

# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}

Mocha::Configuration.prevent(:stubbing_non_existent_method)

RSpec.configure do |config|
  config.mock_with :mocha

  config.treat_symbols_as_metadata_keys_with_true_values = true
  config.run_all_when_everything_filtered = true

  config.filter_run focus: true

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
autoscope-0.0.3 spec/spec_helper.rb
autoscope-0.0.2 spec/spec_helper.rb