lib/airborne/request_expectations.rb in airborne-0.0.18 vs lib/airborne/request_expectations.rb in airborne-0.0.19

- old
+ new

@@ -27,20 +27,18 @@ expect(response.code).to eq(code) end def expect_header(key, content) header = headers[key] - expect(header).to_not be_nil if header expect(header.downcase).to eq(content.downcase) else raise "Header #{key} not present in HTTP response" end end def expect_header_contains(key, content) header = headers[key] - expect(header).to_not be_nil if header expect(header.downcase).to include(content.downcase) else raise "Header #{key} not present in HTTP response" end \ No newline at end of file