spec/spec_helper.rb in tf-idf-similarity-0.1.3 vs spec/spec_helper.rb in tf-idf-similarity-0.1.4
- old
+ new
@@ -17,5 +17,11 @@
when :nmatrix
require 'nmatrix'
else
require 'matrix'
end
+
+RSpec.configure do |c|
+ if MATRIX_LIBRARY == :gsl # GSL can't initialize an empty matrix
+ c.filter_run_excluding :empty_matrix => true
+ end
+end