Sha256: 308452ff6141d4ea2473af84c8f239a3459535f28c1e1a6eed973c74fce5c9ae
Contents?: true
Size: 504 Bytes
Versions: 1
Compression:
Stored size: 504 Bytes
Contents
# encoding: utf-8 require "logstash/devutils/rspec/spec_helper" require 'logstash/outputs/boundary' describe LogStash::Outputs::Boundary do let(:plugin) { described_class.new(config) } describe "debugging `api_key`" do let(:config) {{ "org_id" => "my-org-id", "api_key" => "$ecre&-key" }} it "should not show origin value" do expect(plugin.logger).to receive(:debug).with('<password>') plugin.register plugin.logger.send(:debug, plugin.api_key.to_s) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
logstash-output-boundary-3.0.6 | spec/outputs/boundary_spec.rb |