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:
parent
f42f2862bb
commit
fc8635f87a
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue