spec/spec_helper.rb in rubocop-rspec-1.5.1 vs spec/spec_helper.rb in rubocop-rspec-1.5.2

- old
+ new

@@ -1,15 +1,7 @@ -# 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 } +require 'rubocop/rspec/support' if ENV['CI'] require 'codeclimate-test-reporter' CodeClimate::TestReporter.start end