From 77a789e9af6d0d343047e04db9b36abf73f57c30 Mon Sep 17 00:00:00 2001 From: Jon Leighton Date: Mon, 2 Jul 2012 23:41:23 +0100 Subject: [PATCH] Add note about transactional tests. Closes #78. --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index baa75484..b8d0292b 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,11 @@ require 'capybara/poltergeist' Capybara.javascript_driver = :poltergeist ``` +If you were previously using the `:rack_test` driver, be aware that +your app will now run in a separate thread and this can have +consequences for transactional tests. [See the Capybara README for more +detail](https://github.com/jnicklas/capybara/blob/master/README.md#transactions-and-database-setup). + ## Installing PhantomJS ## You need PhantomJS 1.6.0. There are no other dependencies (you don't