Sha256: 9183149cd24ced471f143d1dd8c4e5daaaba648a54dce41fc2db68b306103729

Contents?: true

Size: 348 Bytes

Versions: 1

Compression:

Stored size: 348 Bytes

Contents

require 'fakeweb'

FakeWeb.allow_net_connect = false
FakeWeb.register_uri(:get, "http://localhost:9595", :body => 'Up and running!', :status => 200)
FakeWeb.register_uri(:get, "http://localhost:9595/fail", :body => 'Omg fail', :status => 500)
FakeWeb.register_uri(:get, "http://localhost:9595/warning", :body => 'Omg need payment', :status => 402)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
outpost-0.2.5 test/support/requests.rb