Sha256: 267612e15956a34969a8d34510a9d0c45414bd3625954c4e328dfe0fb2027bbc
Contents?: true
Size: 423 Bytes
Versions: 32
Compression:
Stored size: 423 Bytes
Contents
require 'spec_helper' describe Restfully::HTTP::Helper do include Restfully::HTTP::Helper it "should correctly sanitize the headers" do sanitize_head({ 'Cache-control' => 'no-cache', :some_header => 'some value', 'accept' => 'application/json' }).should == { 'Cache-Control' => 'no-cache', 'Some-Header' => 'some value', 'Accept' => 'application/json' } end end
Version data entries
32 entries across 32 versions & 1 rubygems