devise authenticate_user! causing test fail

Hi all,
I could not run a simple test case. My app uses devise,rspec, etc. The
problem code is at http://pastie.org/3719793

can anyone please help
Thank you,
Aashish

login_user should be inside a before_each block.

Dheeraj Kumar

Dheeraj Kumar wrote in post #1054781:

login_user should be inside a before_each block.

Dheeraj Kumar

The updated code is at.

http://pastie.org/3719793

The module is not loaded properly.

Aashish Kiran wrote in post #1054821:

Dheeraj Kumar wrote in post #1054781:

login_user should be inside a before_each block.

Dheeraj Kumar

The updated code is at.

http://pastie.org/3719793

The module is not loaded properly.

In http://pastie.org/3719793
If I remove before_filter :authenticate_user!, Test passes.
Can you clarify.