spec/spec_helper.rb in equalizer-0.0.10 vs spec/spec_helper.rb in equalizer-0.0.11

- old
+ new

@@ -2,11 +2,14 @@ if ENV['COVERAGE'] == 'true' require 'simplecov' require 'coveralls' - SimpleCov.formatters = [SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter] + SimpleCov.formatters = [ + SimpleCov::Formatter::HTMLFormatter, + Coveralls::SimpleCov::Formatter + ] SimpleCov.start do command_name 'spec:unit' add_filter 'config' @@ -18,9 +21,11 @@ end require 'equalizer' RSpec.configure do |config| + config.raise_errors_for_deprecations! + config.expect_with :rspec do |expect_with| expect_with.syntax = :expect end end