spec/spec_helper.rb in hydra-pcdm-0.9.0 vs spec/spec_helper.rb in hydra-pcdm-0.10.0
- old
+ new
@@ -1,16 +1,14 @@
ENV['environment'] ||= 'test'
require 'simplecov'
require 'coveralls'
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new(
- [
- SimpleCov::Formatter::HTMLFormatter,
- Coveralls::SimpleCov::Formatter
- ])
-SimpleCov.start do
- add_filter '/spec'
-end
+ [SimpleCov::Formatter::HTMLFormatter,
+ Coveralls::SimpleCov::Formatter]
+)
+
+SimpleCov.start { add_filter '/spec' }
require 'bundler/setup'
Bundler.setup
require 'hydra/pcdm'