Sha256: 1fe47ac001f44f8817af5a4192ee0839334630fbd498ff9c3ad06667fb1c359f

Contents?: true

Size: 576 Bytes

Versions: 2

Compression:

Stored size: 576 Bytes

Contents

require 'spec_helper'

# this code is written in capybara's spec/spec_helper
alias :running :lambda

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 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'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
capybara-json-0.0.2 spec/capybara/rack_test_json/driver_spec.rb
capybara-json-0.0.1 spec/capybara/rack_test_json/driver_spec.rb