1
0
Fork 0
mirror of https://github.com/rest-client/rest-client.git synced 2022-11-09 13:49:40 -05:00
rest-client--rest-client/spec/base.rb
Larry Gilbert 1ef588bd62 Remove rcov support in favor of simplecov
SimpleCov runs when RSpec is run; there is no Rake task for it.
2013-08-10 21:03:18 -07:00

19 lines
273 B
Ruby

require 'simplecov'
SimpleCov.start do
add_filter 'vendor/'
add_filter 'spec/'
end
def is_ruby_19?
RUBY_VERSION > '1.9'
end
require 'rubygems'
begin
require "ruby-debug"
rescue LoadError
# NOP, ignore
end
require File.dirname(__FILE__) + '/../lib/restclient'