spec/unit/sucker/response_spec.rb in sucker-0.7.1 vs spec/unit/sucker/response_spec.rb in sucker-0.8.0
- old
+ new
@@ -57,14 +57,9 @@
it "converts a content hash to string" do
@response.body = "<book><title>A Thousand Plateaus</title></book>"
@response.to_hash["book"]["title"].should be_an_instance_of String
end
- it "is aliased as to_h" do
- @response.should respond_to :to_h
- @response.to_h.should eql @response.to_hash
- end
-
it "renders French" do
@response.body = "<Title>L'archéologie du savoir</Title>"
@response.to_hash["Title"].should eql "L'archéologie du savoir"
end