Sha256: 4dcd5d2472f7bc28ec846bf93b9fbefda36331df2015722902b130cedbd16b44

Contents?: true

Size: 350 Bytes

Versions: 2

Compression:

Stored size: 350 Bytes

Contents

# encoding: UTF-8

require "spec_helper"

describe Timber::Events::ControllerCall do
  describe ".initialize" do
    it "sanitizes the password param" do
      # event = described_class.new(controller: 'controller', action: 'action', params: {password: 'password'})
      # expect(event.params).to eq({'password' => '[sanitized]'})
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
timber-3.0.1 spec/timber/events/controller_call_spec.rb
timber-3.0.0 spec/timber/events/controller_call_spec.rb