lib/capybara/json/driver/base.rb in capybara-json-0.3.0 vs lib/capybara/json/driver/base.rb in capybara-json-0.4.0
- old
+ new
@@ -1,7 +1,7 @@
module Capybara::Json::Driver
class Base
- %w[ get post put delete get! post! put! delete!
+ %w[ get post put patch delete get! post! put! patch! delete!
reset!
current_url
raw_json json source body response_headers status_code
].each do |method|
define_method(method) do