spec/spec_helper.rb in hydra-derivatives-3.4.2 vs spec/spec_helper.rb in hydra-derivatives-3.5.0

- old
+ new

@@ -1,13 +1,20 @@ ENV['environment'] ||= 'test' +ENV['RAILS_ENV'] = 'test' require 'simplecov' require 'coveralls' -SimpleCov.formatter = Coveralls::SimpleCov::Formatter + +SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new( + [ + SimpleCov::Formatter::HTMLFormatter, + Coveralls::SimpleCov::Formatter + ] +) +SimpleCov.minimum_coverage 100 SimpleCov.start do add_filter '/spec' end -Coveralls.wear! # - RSpec adds ./lib to the $LOAD_PATH require 'hydra/derivatives' # Resque.inline = Rails.env.test? require 'byebug' unless ENV['TRAVIS']