Sha256: d1719701879a860c23eb1a867f8ee645f3655f3fff5af81eaa749055b04c7e5e
Contents?: true
Size: 364 Bytes
Versions: 48
Compression:
Stored size: 364 Bytes
Contents
# encoding: UTF-8 require "spec_helper" describe Timber::Events::ControllerCall, :rails_23 => true 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
48 entries across 48 versions & 1 rubygems