lib/action_cable/testing/connection/test_case.rb in action-cable-testing-0.6.0 vs lib/action_cable/testing/connection/test_case.rb in action-cable-testing-0.6.1
- old
+ new
@@ -191,10 +191,10 @@
cookies.each { |k, v| self.cookies[k] = v }
end
connection = self.class.connection_class.allocate
connection.singleton_class.include(TestConnection)
- connection.send(:initialize, build_test_request(path, request_params))
+ connection.send(:initialize, build_test_request(path, **request_params))
connection.connect if connection.respond_to?(:connect)
# Only set instance variable if connected successfully
@connection = connection
end