mirror of
https://github.com/rest-client/rest-client.git
synced 2022-11-09 13:49:40 -05:00
d7a11503af
* Put unit and integration specs into separate subdirectories * Consolidate all requires of 'webmock/rspec' into spec_helper.rb * Use WebMock.{disable!,enable!} for specs calling live server
12 lines
156 B
Ruby
12 lines
156 B
Ruby
def is_ruby_19?
|
|
RUBY_VERSION > '1.9'
|
|
end
|
|
|
|
begin
|
|
require "ruby-debug"
|
|
rescue LoadError
|
|
# NOP, ignore
|
|
end
|
|
|
|
require 'webmock/rspec'
|
|
require 'restclient'
|