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