Files
calligraphy/spec/support/request_helpers.rb
2018-01-04 00:21:16 -06:00

12 lines
284 B
Ruby

module ActionDispatch
module Integration
module RequestHelpers
%w[copy move mkcol options propfind proppatch lock unlock].each do |method|
define_method method do |path, **args|
process method.to_sym, path, **args
end
end
end
end
end