Files
grecia/spec/airbrake_spec.rb
Senén Rodero Rodríguez 1e46746d6a Filter airbrake parameters
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.
2023-11-23 18:21:29 +01:00

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