Skip to content

Commit 4160412

Browse files
committed
Adjust set arbitrary header test to check for the set value directly
1 parent c08b8a3 commit 4160412

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/rdf/spec/http_adapter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ module RDF_HttpAdapter
106106
it "sets arbitrary header" do
107107
WebMock.stub_request(:get, uri).to_return(body: "foo", headers: {"Foo" => "Bar"})
108108
RDF::Util::File.open_file(uri) do |f|
109-
expect(f.headers).to include(:foo => %(Bar))
109+
expect(f.headers[:foo]).to eq "Bar"
110110
opened.opened
111111
end
112112
end

0 commit comments

Comments
 (0)