test/test_helper.rb in magic_grid-0.9.3.1 vs test/test_helper.rb in magic_grid-0.10.0
- old
+ new
@@ -1,7 +1,14 @@
# Configure Rails Environment
ENV["RAILS_ENV"] = "test"
+unless ENV['TRAVIS']
+ require 'simplecov'
+ SimpleCov.start do
+ add_filter '/dummy/'
+ end
+end
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
require "rails/test_help"
#Run any available migration
#ActiveRecord::Migrator.migrate 'up'