Sha256: 16a47e09fa081e893c5896dca7f094476c1f1a1e84426c891108dacd79bd603f

Contents?: true

Size: 351 Bytes

Versions: 18

Compression:

Stored size: 351 Bytes

Contents

# encoding: UTF-8

require "spec_helper"

describe Logtail::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

18 entries across 18 versions & 2 rubygems

Version Path
logtail-ruby-0.1.3 spec/logtail/events/controller_call_spec.rb
logtail-0.1.13 spec/logtail/events/controller_call_spec.rb
logtail-0.1.12 spec/logtail/events/controller_call_spec.rb
logtail-0.1.11 spec/logtail/events/controller_call_spec.rb
logtail-0.1.10 spec/logtail/events/controller_call_spec.rb
logtail-0.1.9 spec/logtail/events/controller_call_spec.rb
logtail-0.1.8 spec/logtail/events/controller_call_spec.rb
logtail-0.1.7 spec/logtail/events/controller_call_spec.rb
logtail-0.1.6 spec/logtail/events/controller_call_spec.rb
logtail-0.1.5 spec/logtail/events/controller_call_spec.rb
logtail-0.1.4 spec/logtail/events/controller_call_spec.rb
logtail-0.1.3 spec/logtail/events/controller_call_spec.rb
logtail-0.1.2 spec/logtail/events/controller_call_spec.rb
logtail-0.1.1 spec/logtail/events/controller_call_spec.rb
logtail-0.1.0 spec/logtail/events/controller_call_spec.rb
logtail-ruby-0.1.2 spec/logtail/events/controller_call_spec.rb
logtail-ruby-0.1.1 spec/logtail/events/controller_call_spec.rb
logtail-ruby-0.1.0 spec/logtail/events/controller_call_spec.rb