spec/spec_helper.rb in rubocop-rspec-1.15.1 vs spec/spec_helper.rb in rubocop-rspec-1.16.0
- old
+ new
@@ -33,10 +33,10 @@
# RSpec gives helpful warnings when you are doing something wrong.
# We should take their advice!
config.raise_on_warning = true
- config.include(ExpectViolation)
+ config.include(ExpectOffense)
end
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))