test/configuration_test.rb in airbrake-3.1.4 vs test/configuration_test.rb in airbrake-3.1.5
- old
+ new
@@ -23,10 +23,11 @@
assert_config_default :ignore_user_agent, []
assert_config_default :params_filters,
Airbrake::Configuration::DEFAULT_PARAMS_FILTERS
assert_config_default :backtrace_filters,
Airbrake::Configuration::DEFAULT_BACKTRACE_FILTERS
+ assert_config_default :rake_environment_filters, []
assert_config_default :ignore,
Airbrake::Configuration::IGNORE_DEFAULT
assert_config_default :development_lookup, true
assert_config_default :framework, 'Standalone'
assert_config_default :async, nil
@@ -112,15 +113,11 @@
should "allow param filters to be appended" do
assert_appends_value :params_filters
end
- should "warn when attempting to read environment filters" do
- config = Airbrake::Configuration.new
- config.
- expects(:warn).
- with(regexp_matches(/deprecated/i))
- assert_equal [], config.environment_filters
+ should "allow rake environment filters to be appended" do
+ assert_appends_value :rake_environment_filters
end
should "warn when attempting to write js_notifier" do
config = Airbrake::Configuration.new
config.