Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (23 sloc) 0.573 kb
def jruby?(platform = RUBY_PLATFORM)
'java' == platform
end
def rubinius?(platform = defined?(RUBY_ENGINE) && RUBY_ENGINE)
'rbx' == platform
end
if RUBY_VERSION >= '1.9'
require 'simplecov'
require 'coveralls'
SimpleCov.formatters = [SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter]
SimpleCov.start do
add_filter '/spec'
percent = jruby? ? 91.29 : 91.96
minimum_coverage(percent)
end
end
require 'multi_xml'
require 'rspec'
RSpec.configure do |config|
config.expect_with :rspec do |c|
c.syntax = :expect
end
end
Jump to Line
Something went wrong with that request. Please try again.