Sha256: 74c4e18b2cdaecdfa8e32d7d08cb19412970021252742ee809e849964b9062f1
Contents?: true
Size: 410 Bytes
Versions: 26
Compression:
Stored size: 410 Bytes
Contents
require "spec_helper" describe Timber::Util::HTTPEvent, :rails_23 => true do describe ".normalize_headers" do it "should ignore nils" do result = described_class.normalize_headers({"key" => nil}) expect(result).to eq({}) end it "should handle non strings" do result = described_class.normalize_headers({"key" => 1}) expect(result).to eq({"key" => "1"}) end end end
Version data entries
26 entries across 26 versions & 1 rubygems