[rspec-users] RSpec-Rails not tearing down the session?

Brian Cardarella bcardarella at gmail.com
Tue Oct 27 22:53:46 EDT 2009

I've isolated the code pretty well. The session is being set with
Authlogic, not certain if that makes a difference.

The session hash is empty on the test side but populated in the
controller when it shouldn't be.

On Oct 27, 10:45 pm, David Chelimsky <dchelim... at gmail.com> wrote:
> On Oct 27, 2009, at 9:39 PM, Brian Cardarella <bcardare... at gmail.com>  
> wrote:
> > I noticed that a session that I am setting up in one exa,ple is still
> > available in another. Is RSpec-Rails supposed to tear down the session
> > or should I be doing this myself?
> Unless you've got a before(:all) block, you should be getting a fresh  
> session in each example, in which case you've probably uncovered a bug.
> _______________________________________________
> rspec-users mailing list
> rspec-us... at rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users

More information about the rspec-users mailing list