spec/spec_helper.rb in equalizer-0.0.9 vs spec/spec_helper.rb in equalizer-0.0.10
- old
+ new
@@ -2,14 +2,11 @@
if ENV['COVERAGE'] == 'true'
require 'simplecov'
require 'coveralls'
- SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
- SimpleCov::Formatter::HTMLFormatter,
- Coveralls::SimpleCov::Formatter,
- ]
+ SimpleCov.formatters = [SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter]
SimpleCov.start do
command_name 'spec:unit'
add_filter 'config'
@@ -19,14 +16,9 @@
minimum_coverage 100
end
end
require 'equalizer'
-
-# TODO: FIXME!
-# Cache correct freezer in ice_nine before
-# rspec2 infects the world...
-Equalizer.new
RSpec.configure do |config|
config.expect_with :rspec do |expect_with|
expect_with.syntax = :expect
end