diff options
author | Jon Kessler <jwkpiano1@gmail.com> | 2013-08-16 08:22:08 -0700 |
---|---|---|
committer | Jon Kessler <jwkpiano1@gmail.com> | 2013-08-16 08:22:08 -0700 |
commit | ba5fab4c015366e355ab92371b27e77e896124a4 (patch) | |
tree | e5c5ec22f53168417734e3e715faa2e12f6fbb61 /railties/test | |
parent | 5c6e11d6b89444eefcb12e24d5419dadefdea1ba (diff) | |
download | rails-ba5fab4c015366e355ab92371b27e77e896124a4.tar.gz rails-ba5fab4c015366e355ab92371b27e77e896124a4.tar.bz2 rails-ba5fab4c015366e355ab92371b27e77e896124a4.zip |
update Rails::Railtie::Configuration and ActionDispatch::Response#respond_to? to accept include_private argument
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/application/configuration_test.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/railties/test/application/configuration_test.rb b/railties/test/application/configuration_test.rb index c51488e0e1..03a735b1c1 100644 --- a/railties/test/application/configuration_test.rb +++ b/railties/test/application/configuration_test.rb @@ -679,5 +679,12 @@ module ApplicationTests end assert_equal Logger::INFO, Rails.logger.level end + + test "respond_to? accepts include_private" do + make_basic_app + + assert_not Rails.configuration.respond_to?(:method_missing) + assert Rails.configuration.respond_to?(:method_missing, true) + end end end |