Sha256: 39c17ff0056b454dae02969d36d6bafb52f6f9f2e17cedf28cf5e49c9603edc8

Contents?: true

Size: 329 Bytes

Versions: 1

Compression:

Stored size: 329 Bytes

Contents

module Capybara::Json::Driver
  class Base
    %w[ get post put delete get! post! put! delete!
        reset!
        current_url
        source body response_headers status_code
    ].each do |method|
      define_method(method) do
        raise NotImplementedError
      end
    end
    def needs_server?; false; end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
capybara-json-0.3.0.beta1 lib/capybara/json/driver/base.rb