Sha256: 6ba82107ce6bc9d8a1ce9b472782f759446ae32c7a9204d3011234e965d9457a

Contents?: true

Size: 659 Bytes

Versions: 2

Compression:

Stored size: 659 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 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

2 entries across 2 versions & 1 rubygems

Version Path
capybara-json-0.1.2 spec/capybara/rack_test_json/driver_spec.rb
capybara-json-0.1.1 spec/capybara/rack_test_json/driver_spec.rb