Sha256: e93c8f0c3c42e0d6952e9e515017929208078c5133bab35be81c150ddff5d9a7
Contents?: true
Size: 796 Bytes
Versions: 4
Compression:
Stored size: 796 Bytes
Contents
# encoding: utf-8 require 'rubocop' rubocop_path = File.join(File.dirname(__FILE__), '../vendor/rubocop') unless File.directory?(rubocop_path) raise "Can't run specs without a local RuboCop checkout. Look in the README." end Dir["#{rubocop_path}/spec/support/**/*.rb"].each { |f| require f } if ENV['CI'] require 'codeclimate-test-reporter' CodeClimate::TestReporter.start end 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 end $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) require 'rubocop-rspec'
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
rubocop-rspec-1.5.1 | spec/spec_helper.rb |
rubocop-rspec-1.5.0 | spec/spec_helper.rb |
rubocop-rspec-1.4.1 | spec/spec_helper.rb |
rubocop-rspec-1.4.0 | spec/spec_helper.rb |