aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-01-05 15:41:39 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-01-05 15:50:53 -0300
commit23714ec33ffd87d314d74f3b4ff6b6075a652be8 (patch)
tree3bb8582acf5381ecf196e60ae574bc8a5265d4ae /railties/test
parentfa6e995a03ea2daa78902f7ea5cc9cb570014609 (diff)
downloadrails-23714ec33ffd87d314d74f3b4ff6b6075a652be8.tar.gz
rails-23714ec33ffd87d314d74f3b4ff6b6075a652be8.tar.bz2
rails-23714ec33ffd87d314d74f3b4ff6b6075a652be8.zip
Move config.filter_parameters to you own initializer file
This is very rarely changed and does not deserve to be in application.rb
Diffstat (limited to 'railties/test')
-rw-r--r--railties/test/application/configuration_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/application/configuration_test.rb b/railties/test/application/configuration_test.rb
index 5b8aa28e50..654a44e648 100644
--- a/railties/test/application/configuration_test.rb
+++ b/railties/test/application/configuration_test.rb
@@ -193,8 +193,8 @@ module ApplicationTests
end
test "filter_parameters should be able to set via config.filter_parameters in an initializer" do
- app_file 'config/initializers/filter_parameters.rb', <<-RUBY
- Rails.application.config.filter_parameters += [ :foo, 'bar' ]
+ app_file 'config/initializers/filter_parameters_logging.rb', <<-RUBY
+ Rails.application.config.filter_parameters += [ :password, :foo, 'bar' ]
RUBY
require "#{app_path}/config/environment"