Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 64968bcb8c
Fetching contributors…

Cannot retrieve contributors at this time

file 7 lines (7 sloc) 0.185 kb
1 2 3 4 5 6 7
test_http("httprb") do
  resp = HTTPrb.get(URL.to_s) do
    header "X-Test", "test"
  end
  data = JSON.parse(resp.body)
  raise Exception.new unless data.first["number"] != 123123
end
Something went wrong with that request. Please try again.