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:
parent
c59d3f0ae7
commit
dac3f48e26
6 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue