spec/spec_helper.rb in rambling-trie-0.6.1 vs spec/spec_helper.rb in rambling-trie-0.7.0

- old
+ new

@@ -1,19 +1,21 @@ require 'simplecov' +require 'coveralls' + +SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ + SimpleCov::Formatter::HTMLFormatter, + Coveralls::SimpleCov::Formatter +] + SimpleCov.start do add_filter '/spec/' end require 'rspec' require 'rambling-trie' -::SPEC_ROOT = File.dirname(__FILE__) +::SPEC_ROOT = File.dirname __FILE__ RSpec.configure do |config| config.order = :random - config.treat_symbols_as_metadata_keys_with_true_values = true config.run_all_when_everything_filtered = true - config.filter_run :focus - - config.expect_with :rspec do |c| - c.syntax = :expect - end + config.raise_errors_for_deprecations! end