Sha256: ebf640e64c67a7a2f6194fcf0988705e2dd568bc46968e77bb79547146fe0c45
Contents?: true
Size: 612 Bytes
Versions: 4
Compression:
Stored size: 612 Bytes
Contents
require File.expand_path('../spec_helper', File.dirname(__FILE__)) describe Capybara::Driver::RackTest do before do @driver = Capybara::Driver::RackTest.new(TestApp) end it "should throw an error when no rack app is given" do running do Capybara::Driver::RackTest.new(nil) end.should raise_error(ArgumentError) end 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" end
Version data entries
4 entries across 4 versions & 3 rubygems