Fetching contributors…
Cannot retrieve contributors at this time
24 lines (18 sloc) 419 Bytes
def jruby?
RUBY_PLATFORM == 'java'
end
require 'simplecov'
require 'coveralls'
SimpleCov.formatters = [SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter]
SimpleCov.start do
add_filter '/spec'
percent = jruby? ? 91.29 : 92.31
minimum_coverage(percent)
end
require 'multi_xml'
require 'rspec'
RSpec.configure do |config|
config.expect_with :rspec do |c|
c.syntax = :expect
end
end