1
0
Fork 0
mirror of https://github.com/rest-client/rest-client.git synced 2022-11-09 13:49:40 -05:00

include WebMock::API to get rid of deprecation warnings

This commit is contained in:
Matt Manning 2012-11-08 23:24:31 -05:00 committed by Larry Gilbert
parent c59d3f0ae7
commit dac3f48e26
6 changed files with 6 additions and 6 deletions

View file

@ -1,7 +1,7 @@
require File.join( File.dirname(File.expand_path(__FILE__)), 'base')
require 'webmock/rspec'
include WebMock
include WebMock::API
describe RestClient::Exception do
it "returns a 'message' equal to the class name if the message is not set, because 'message' should not be nil" do

View file

@ -1,7 +1,7 @@
require File.join( File.dirname(File.expand_path(__FILE__)), 'base')
require 'webmock/rspec'
include WebMock
include WebMock::API
describe RestClient do

View file

@ -1,7 +1,7 @@
require File.join( File.dirname(File.expand_path(__FILE__)), 'base')
require 'webmock/rspec'
include WebMock
include WebMock::API
describe RestClient::Request do

View file

@ -1,7 +1,7 @@
require File.join( File.dirname(File.expand_path(__FILE__)), 'base')
require 'webmock/rspec'
include WebMock
include WebMock::API
describe RestClient::Request do
before do

View file

@ -1,7 +1,7 @@
require File.join( File.dirname(File.expand_path(__FILE__)), 'base')
require 'webmock/rspec'
include WebMock
include WebMock::API
describe RestClient::Resource do
before do

View file

@ -1,7 +1,7 @@
require File.join( File.dirname(File.expand_path(__FILE__)), 'base')
require 'webmock/rspec'
include WebMock
include WebMock::API
describe RestClient::Response do
before do