spec/capybara/httpclient_json/driver_spec.rb in capybara-json-0.2.0 vs spec/capybara/httpclient_json/driver_spec.rb in capybara-json-0.2.1
- old
+ new
@@ -17,5 +17,11 @@
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
+
+describe klass do
+ before { @driver = described_class.new(JsonTestApp, :follow_redirect => false) }
+
+ it_should_behave_like "driver not to follow redirect"
+end