From 8034dde023a64b98c6b3edb80a44e4cc23f8979f Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Fri, 21 Dec 2018 01:39:18 +0900 Subject: Module#{define_method,alias_method,undef_method,remove_method} become public since Ruby 2.5 https://bugs.ruby-lang.org/issues/14133 --- actionpack/test/abstract/collector_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/test/abstract/collector_test.rb') diff --git a/actionpack/test/abstract/collector_test.rb b/actionpack/test/abstract/collector_test.rb index a4770b66e1..6db045fcd7 100644 --- a/actionpack/test/abstract/collector_test.rb +++ b/actionpack/test/abstract/collector_test.rb @@ -30,7 +30,7 @@ module AbstractController end test "register mime types on method missing" do - AbstractController::Collector.send(:remove_method, :js) + AbstractController::Collector.remove_method :js begin collector = MyCollector.new assert_not_respond_to collector, :js -- cgit v1.2.3