spec/spec_helper.rb in madhattr-0.5.0 vs spec/spec_helper.rb in madhattr-0.5.1
- old
+ new
@@ -1,8 +1,22 @@
+if ENV['CI']
+ require 'coveralls'
+ Coveralls.wear! do
+ add_filter "/spec"
+ end
+else
+ require 'simplecov'
+ SimpleCov.start do
+ add_filter "/spec"
+ end
+end
+
require 'madhattr'
+
require 'minitest'
require 'minitest/autorun'
require 'minitest/spec'
require 'minitest/pride'
require 'minitest/hell'
-require 'minitest-spec-context'
\ No newline at end of file
+require 'minitest-spec-context'
+