Sha256: cdeba195d519ccd5a55d80948671b535ebfbdf8c96870362a0913be2f71aa933

Contents?: true

Size: 249 Bytes

Versions: 6

Compression:

Stored size: 249 Bytes

Contents

module PhaxioExpectations
  def expect_api_request method, path, params = {}
    expect(Phaxio::Client).to receive(:request).with(method, path, params).and_call_original
  end
end

RSpec.configure do |config|
  config.include PhaxioExpectations
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
phaxio-2.1.2 spec/support/expectations.rb
phaxio-2.1.1 spec/support/expectations.rb
phaxio-2.1.0 spec/support/expectations.rb
phaxio-2.1.0.pre spec/support/expectations.rb
phaxio-2.0.1 spec/support/expectations.rb
phaxio-2.0.0 spec/support/expectations.rb