spec/spec_helper.rb in r509-ca-http-0.2.2 vs spec/spec_helper.rb in r509-ca-http-0.3.0
- old
+ new
@@ -1,7 +1,10 @@
-if (RUBY_VERSION.split('.')[1].to_i > 8)
- require 'simplecov'
- SimpleCov.start
+require 'simplecov'
+SimpleCov.start
+begin
+ require 'coveralls'
+ Coveralls.wear!
+rescue LoadError
end
$:.unshift File.expand_path("../../lib", __FILE__)
$:.unshift File.expand_path("../", __FILE__)
require 'rubygems'