spec/spec_helper.rb in sections_rails-0.7.2 vs spec/spec_helper.rb in sections_rails-0.8.0
- old
+ new
@@ -1,6 +1,8 @@
-require 'coveralls'
-Coveralls.wear!
+if ENV['COVERALLS_CONFIG'] != 'nocoveralls'
+ require 'coveralls'
+ Coveralls.wear!
+end
require 'rubygems'
require 'bundler/setup'
require 'rails'
require File.expand_path("../dummy/config/environment.rb", __FILE__)