Sha256: d2b55b368bee6b5e3c6010ee953e9019443a231795f2cef3a1cf23e2bac628ef
Contents?: true
Size: 805 Bytes
Versions: 6
Compression:
Stored size: 805 Bytes
Contents
require 'spec_helper' klass = Capybara::RackTestJson::Driver describe klass do before { @driver = described_class.new(JsonTestApp) } it_behaves_like 'driver' it_behaves_like 'driver with header support' it_behaves_like 'driver with custom header support' it_behaves_like 'driver with status code support' it_behaves_like 'driver with cookies support' it_behaves_like "driver with redirect support" it_behaves_like 'driver with infinite redirect detection' it_behaves_like 'driver to post json' it_behaves_like 'driver to put json' it_behaves_like 'driver for client error' it_behaves_like 'driver for server error' end describe klass do before { @driver = described_class.new(JsonTestApp, :follow_redirect => false) } it_behaves_like "driver not to follow redirect" end
Version data entries
6 entries across 6 versions & 1 rubygems