mirror of
https://github.com/rest-client/rest-client.git
synced 2022-11-09 13:49:40 -05:00
Changed use of spec/base.rb into spec/spec_helper.rb
This commit is contained in:
parent
c8dd0c2154
commit
9b083b6a6e
12 changed files with 13 additions and 15 deletions
11
spec/spec_helper.rb
Normal file
11
spec/spec_helper.rb
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
def is_ruby_19?
|
||||
RUBY_VERSION > '1.9'
|
||||
end
|
||||
|
||||
begin
|
||||
require "ruby-debug"
|
||||
rescue LoadError
|
||||
# NOP, ignore
|
||||
end
|
||||
|
||||
require 'restclient'
|
||||
Loading…
Add table
Add a link
Reference in a new issue