spec/spec_helper.rb in rley-0.1.06 vs spec/spec_helper.rb in rley-0.1.07
- old
+ new
@@ -1,8 +1,16 @@
# File: spec_helper.rb
# Purpose: utility file that is loaded by all our RSpec files
require 'simplecov'
+require 'coveralls'
+
+Coveralls.wear!
+
+SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
+ SimpleCov::Formatter::HTMLFormatter,
+ Coveralls::SimpleCov::Formatter
+]
require 'rspec' # Use the RSpec framework
require 'pp' # Use pretty-print for debugging purposes