Sha256: 1e4ee1258a478d9b40038c2b4578ddee003b45b82a665e79e833f582eaa73518
Contents?: true
Size: 466 Bytes
Versions: 2
Compression:
Stored size: 466 Bytes
Contents
require File.join '.', 'test', 'helper' describe "Request earls may be absolute or relative" do it "must have host header when relative" do spy_internet = SpyInternet.new richard_iii = Richard::III.new :internet => spy_internet err = lambda { richard_iii.exec 'GET /1.1/statuses' }.must_raise RuntimeError err.message.must_match /missing host header/i end it "ignores host header when earl is absolute -- that is it does not send it" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
richard_iii-0.1.1 | test/unit.tests/earls_may_be_relative_or_absolute.rb |
richard_iii-0.1.0 | test/unit.tests/earls_may_be_relative_or_absolute.rb |