Sha256: bb352786a082616656aab4c24b97b9697790d5eb8ae22578b7068d1cac2f338f

Contents?: true

Size: 193 Bytes

Versions: 4

Compression:

Stored size: 193 Bytes

Contents

def stub_upland_mobile_commons_request(path, method:, body: nil)
  stub_request(method, "https://secure.mcommons.com/api/#{path}")
      .with(body: body, basic_auth: [username, password])
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
upland_mobile_commons_rest-0.1.2 spec/support/stub_requests.rb
upland_mobile_commons_rest-0.1.1 spec/support/stub_requests.rb
upland_mobile_commons_rest-0.1.0 spec/support/stub_requests.rb
upland_mobile_commons_rest-0.0.1 spec/support/stub_requests.rb