As Rails does with the application log and other tools. We are going to use the same filtering rules we use in Consul Democracy. We are renaming the initializer file name `filter_parameter_logging.rb` so it's loaded before the errbit initializer.
8 lines
221 B
Ruby
8 lines
221 B
Ruby
require "rails_helper"
|
|
|
|
describe "Airbrake" do
|
|
it "uses the same filtering rules that Consul Democracy" do
|
|
expect(Airbrake::Config.instance.blocklist_keys).to eq Rails.application.config.filter_parameters
|
|
end
|
|
end
|