Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Spec for optional headers arg.

  • Loading branch information...
commit 3111241270c5f77fc00c199c0c2ac10269208028 1 parent b0570e4
John Nunemaker authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 spec/httparty/response_spec.rb
7 spec/httparty/response_spec.rb
View
@@ -190,4 +190,11 @@ def response_mock(klass)
end
end
end
+
+ describe "headers" do
+ it "can initialize without headers" do
+ headers = HTTParty::Response::Headers.new
+ headers.should == {}
+ end
+ end
end
Please sign in to comment.
Something went wrong with that request. Please try again.