Browse files

Add spec.

  • Loading branch information...
1 parent 1a8f08b commit 738f5bbf58e47f641884f0680b8b402819086d49 @i0rek i0rek committed Nov 27, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 spec/typhoeus/response_spec.rb
View
4 spec/typhoeus/response_spec.rb
@@ -24,6 +24,10 @@
it "sets @headers to a Typhoeus::Response::Header" do
expect(response.instance_variable_get(:@headers)).to be_a(Typhoeus::Response::Header)
end
+
+ it "has key" do
+ expect(response.headers['A']).to eq('B')
+ end
end
end
end

0 comments on commit 738f5bb

Please sign in to comment.