diff --git a/.gitignore b/.gitignore index 248513af..3bec8332 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ Gemfile.lock *.swp dump.rdb .rbx +coverage/ diff --git a/test/helper.rb b/test/helper.rb index 8d2d3d87..5f8a9ebf 100644 --- a/test/helper.rb +++ b/test/helper.rb @@ -1,5 +1,5 @@ $TESTING = true -if false +if ENV.has_key?("SIMPLECOV") require 'simplecov' SimpleCov.start end