From ba5fab4c015366e355ab92371b27e77e896124a4 Mon Sep 17 00:00:00 2001 From: Jon Kessler Date: Fri, 16 Aug 2013 08:22:08 -0700 Subject: update Rails::Railtie::Configuration and ActionDispatch::Response#respond_to? to accept include_private argument --- railties/test/application/configuration_test.rb | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'railties/test') 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 -- cgit v1.2.3