Sha256: b7bb7b26f3f2cd2ce61d4a02e1b49a52cb2b77f94d741d295b6599898b911c27
Contents?: true
Size: 350 Bytes
Versions: 4
Compression:
Stored size: 350 Bytes
Contents
require 'fakeweb' FakeWeb.allow_net_connect = false def fake_post path, response FakeWeb.register_uri(:post, "https://pi.pardot.com#{path}", :body => response) end def fake_get path, response FakeWeb.register_uri(:get, "https://pi.pardot.com#{path}", :body => response) end def fake_authenticate client, api_key client.api_key = api_key end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ruby-pardot-1.2.0 | spec/support/fakeweb.rb |
ruby-pardot-1.1.0 | spec/support/fakeweb.rb |
ruby-pardot-1.0.2 | spec/support/fakeweb.rb |
ruby-pardot-1.0 | spec/support/fakeweb.rb |