Sha256: 5504702086e2968ac33176ff5be88433d91f115bba1b29274241f2f3646f96ce

Contents?: true

Size: 714 Bytes

Versions: 1

Compression:

Stored size: 714 Bytes

Contents

require 'spec_helper'

klass = Capybara::RackTestJson::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/rack_test_json/driver_spec.rb