spec/spec_helper.rb in rpub-0.2.1 vs spec/spec_helper.rb in rpub-0.3.0
- old
+ new
@@ -1,5 +1,5 @@
-if RUBY_VERSION >= '1.9'
+if RUBY_VERSION >= '1.9' && ENV.has_key?('COVERAGE')
require 'simplecov'
SimpleCov.start
end
require 'rpub'
- old
+ new