1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Other get signatures take keyword arguments

This commit is contained in:
Akira Matsuda 2019-09-14 00:52:41 +09:00
parent f42f2862bb
commit fc8635f87a

View file

@ -177,9 +177,9 @@ class Rack::TestCase < ActionDispatch::IntegrationTest
end
end
def get(thing, *args)
def get(thing, *args, **options)
if thing.is_a?(Symbol)
super("#{self.class.testing}/#{thing}", *args)
super("#{self.class.testing}/#{thing}", *args, **options)
else
super
end