spec/spec_helper.rb in moosex-0.0.16 vs spec/spec_helper.rb in moosex-0.0.17
- old
+ new
@@ -1,7 +1,20 @@
+#require 'simplecov'
+#SimpleCov.start do
+# add_filter '/spec/'
+
+# add_group 'core', 'lib'
+# add_group 'test', 'spec'
+
+#end
+
require 'simplecov'
-SimpleCov.start do
- # add_filter '/spec/'
+require 'coveralls'
- add_group 'core', 'lib'
- add_group 'test', 'spec'
+SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
+ SimpleCov::Formatter::HTMLFormatter,
+ Coveralls::SimpleCov::Formatter
+]
+SimpleCov.start do
+ add_filter '/spec/'
+# add_group 'core', 'lib'
end