Sha256: 288803c0ed4cf2f07ed84cc0ae6ef461af33170a0e180ef9d65912a8f77d2611
Contents?: true
Size: 661 Bytes
Versions: 2
Compression:
Stored size: 661 Bytes
Contents
require 'rubocop' require 'rubocop/rspec/support' if ENV['CI'] require 'codeclimate-test-reporter' CodeClimate::TestReporter.start end Dir.glob(File.expand_path('support/*.rb', __dir__)).map(&method(:require)) RSpec.configure do |config| config.order = :random config.expect_with :rspec do |expectations| expectations.syntax = :expect # Disable `should` end config.mock_with :rspec do |mocks| mocks.syntax = :expect # Disable `should_receive` and `stub` end config.include(ExpectViolation) end $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) require 'rubocop-rspec'
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rubocop-rspec-1.6.0 | spec/spec_helper.rb |
rubocop-rspec-1.5.3 | spec/spec_helper.rb |