[rspec-users] RSpec-Rails not tearing down the session?
bcardarella at gmail.com
Wed Oct 28 00:19:16 EDT 2009
So I think that this is an Authlogic issue, not a RSpec-Rails issue.
I'll keep digging and if I find a fix I'll update
On Oct 27, 10:53 pm, Brian Cardarella <bcardare... at gmail.com> wrote:
> 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
> rspec-users mailing list
> rspec-us... at rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users
More information about the rspec-users