Added note to readme file: use session_store = memory or lose your sessions.
This commit is contained in:
parent
f74037e4da
commit
ede0073db4
@ -63,7 +63,7 @@ A test written with Webrat can handle these changes smoothly.
|
|||||||
|
|
||||||
== REQUIREMENTS:
|
== REQUIREMENTS:
|
||||||
|
|
||||||
* Rails >= 1.2.6
|
* Rails >= 1.2.6 or Merb edge
|
||||||
* Hpricot >= 0.6
|
* Hpricot >= 0.6
|
||||||
* Rails integration tests in Test::Unit _or_
|
* Rails integration tests in Test::Unit _or_
|
||||||
* RSpec stories (using an RSpec version >= revision 2997)
|
* 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.
|
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:
|
== HISTORY:
|
||||||
|
|
||||||
See CHANGELOG in this directory.
|
See CHANGELOG in this directory.
|
||||||
|
Loading…
Reference in New Issue
Block a user