Permalink
Browse files

Spec for optional headers arg.

  • Loading branch information...
1 parent b0570e4 commit 3111241270c5f77fc00c199c0c2ac10269208028 @jnunemaker committed Apr 12, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 spec/httparty/response_spec.rb
@@ -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

0 comments on commit 3111241

Please sign in to comment.