From ede0073db409a379573bd5573f56e9794161ca0f Mon Sep 17 00:00:00 2001 From: Gwyn Morfey Date: Wed, 16 Apr 2008 17:14:23 +0100 Subject: [PATCH] Added note to readme file: use session_store = memory or lose your sessions. --- README.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.txt b/README.txt index ffbdf08..467385c 100644 --- a/README.txt +++ b/README.txt @@ -63,7 +63,7 @@ A test written with Webrat can handle these changes smoothly. == REQUIREMENTS: -* Rails >= 1.2.6 +* Rails >= 1.2.6 or Merb edge * Hpricot >= 0.6 * Rails integration tests in Test::Unit _or_ * RSpec stories (using an RSpec version >= revision 2997) @@ -76,6 +76,12 @@ In your stories/helper.rb: You could also unpack the gem into vendor/plugins. +To avoid losing sessions, you need this in environments/test.rb: + +Merb::Config.use do |c| + c[:session_store] = 'memory' +end + == HISTORY: See CHANGELOG in this directory.