spec/support/versioned_helpers.rb in grape-1.5.1 vs spec/support/versioned_helpers.rb in grape-1.5.2

- old
+ new

@@ -42,10 +42,10 @@ raise ArgumentError.new("unknown versioning strategy: #{options[:using]}") end end def versioned_get(path, version_name, **version_options) - path = versioned_path(version_options.merge(version: version_name, path: path)) + path = versioned_path(**version_options.merge(version: version_name, path: path)) headers = versioned_headers(**version_options.merge(version: version_name)) params = {} params = { version_options[:parameter] => version_name } if version_options[:using] == :param get path, params, headers end