Skip to content

Commit

Permalink
Merge pull request #48667 from igor-drozdov/fix-ruby-keywords-for-act…
Browse files Browse the repository at this point in the history
…ion-view-test-case

Add ruby2_keywords to ActionView::TestCase#method_missing
  • Loading branch information
guilleiguaran committed Jul 6, 2023
2 parents e79250c + d540abd commit a5fc471
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions actionview/lib/action_view/test_case.rb
Expand Up @@ -287,6 +287,7 @@ def method_missing(selector, *args)
super
end
end
ruby2_keywords(:method_missing)

def respond_to_missing?(name, include_private = false)
begin
Expand Down

0 comments on commit a5fc471

Please sign in to comment.