Sha256: 6011653997f54b3bba0d59535348abf9173136e94091a8ac1dba207206ba6758

Contents?: true

Size: 269 Bytes

Versions: 7

Compression:

Stored size: 269 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({"key" => nil})
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
timber-2.0.23 spec/timber/util/http_event_spec.rb
timber-2.0.22 spec/timber/util/http_event_spec.rb
timber-2.0.21 spec/timber/util/http_event_spec.rb
timber-2.0.20 spec/timber/util/http_event_spec.rb
timber-2.0.19 spec/timber/util/http_event_spec.rb
timber-2.0.17 spec/timber/util/http_event_spec.rb
timber-2.0.16 spec/timber/util/http_event_spec.rb