spec/spec_helper.rb in trackerific-0.7.1 vs spec/spec_helper.rb in trackerific-0.7.2

- old
+ new

@@ -1,9 +1,25 @@ -ENV['RAILS_ENV'] = 'test' +require 'simplecov' +if ENV['CI'] + require 'coveralls' + SimpleCov.formatter = Coveralls::SimpleCov::Formatter +end + +SimpleCov.start do + add_group 'Parsers', 'lib/trackerific/parsers' + add_group 'Builders', 'lib/trackerific/builders' + add_group 'Services', 'lib/trackerific/services' + add_filter 'spec' +end + +ENV['RACK_ENV'] = 'test' + require 'rubygems' require 'bundler/setup' require 'trackerific' require 'fakeweb' +require 'savon/mock/spec_helper' +require 'active_support/core_ext/hash/conversions' # load all the support files Dir["spec/support/**/*.rb"].each { |f| require File.expand_path(f) }