spec/spec_helper.rb in zeppelin-0.7.0 vs spec/spec_helper.rb in zeppelin-0.8.1
- old
+ new
@@ -1,7 +1,15 @@
require 'rubygems'
require 'bundler/setup'
+if RUBY_VERSION =~ /^1.9/ && RUBY_DESCRIPTION =~ /jruby|enterprise/i
+ require 'simplecov'
+
+ SimpleCov.start do
+ add_filter '/spec/'
+ end
+end
+
require 'zeppelin'
RSpec.configure do |config|
end