Sha256: ed459618ae921466e1d440c08fe194fdcc1ee0b1d89cce5d3647539eac607e0e

Contents?: true

Size: 778 Bytes

Versions: 5

Compression:

Stored size: 778 Bytes

Contents

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

ENV['RAILS_ENV'] ||= 'test'

require File.expand_path("../dummy/config/environment.rb",  __FILE__)
require 'rspec/rails'

Rails.backtrace_cleaner.remove_silencers!

Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }

$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'argyle'

RSpec.configure do |config|
  config.expect_with :rspec do |expectations|
    expectations.include_chain_clauses_in_custom_matcher_descriptions = true
  end

  config.mock_with :rspec do |mocks|
    mocks.verify_partial_doubles = true
  end

  config.use_transactional_fixtures = true
  config.infer_base_class_for_anonymous_controllers = false
  config.infer_spec_type_from_file_location!
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
argyle-1.0.0.beta.2 spec/spec_helper.rb
argyle-1.0.0.beta spec/spec_helper.rb
argyle-0.2.0 spec/spec_helper.rb
argyle-0.1.0 spec/spec_helper.rb
argyle-0.0.1 spec/spec_helper.rb