Sha256: 68675f44ea1aa206786272b40872863a69a7edbcc58396fc116afe5442fb842a

Contents?: true

Size: 317 Bytes

Versions: 3

Compression:

Stored size: 317 Bytes

Contents

module HttpResponses
  def self.included(base) do
    before do
      stub_request(:post, 'https://ssl.ditonlinebetalingssystem.dk/remote/payment.asmx') { 'lol?' }
    end
  end
  
  def stub_soap_request(url, action, parameters)
    Epay::Api.stub(:request).with(url, actions, parameters) do
      
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
epay-0.0.6 spec/helpers/http_responses.rb
epay-0.0.5 spec/helpers/http_responses.rb
epay-0.0.4 spec/helpers/http_responses.rb