Sha256: 5b03d457230ac661ace3b07c9ff7914b5f6b32f7ab33147bb15f46617cac1950

Contents?: true

Size: 716 Bytes

Versions: 1

Compression:

Stored size: 716 Bytes

Contents

require 'spec_helper'

klass = Capybara::HTTPClientJson::Driver

describe klass do
  before { @driver = described_class.new(JsonTestApp) }

  it_should_behave_like 'driver'
  it_should_behave_like 'driver with header support'
  it_should_behave_like 'driver with custom header support'
  it_should_behave_like 'driver with status code support'
  it_should_behave_like 'driver with cookies support'
  it_should_behave_like "driver with redirect support"
  it_should_behave_like 'driver with infinite redirect detection'

  it_should_behave_like 'driver to post json'
  it_should_behave_like 'driver to put json'

  it_should_behave_like 'driver for client error'
  it_should_behave_like 'driver for server error'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
capybara-json-0.2.0 spec/capybara/httpclient_json/driver_spec.rb