spec/spec_helper.rb in tf-idf-similarity-0.1.4 vs spec/spec_helper.rb in tf-idf-similarity-0.1.5
- old
+ new
@@ -1,8 +1,12 @@
require 'rubygems'
+require 'simplecov'
require 'coveralls'
-Coveralls.wear!
+SimpleCov.formatter = Coveralls::SimpleCov::Formatter
+SimpleCov.start do
+ add_filter 'spec'
+end
require 'rspec'
require File.dirname(__FILE__) + '/../lib/tf-idf-similarity'
MATRIX_LIBRARY = (ENV['MATRIX_LIBRARY'] || :matrix).to_sym