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
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 K.
Dheeraj K. wrote in post #1054781:
login_user should be inside a before_each block.
Dheeraj K.
The updated code is at.
The module is not loaded properly.
Aashish K. wrote in post #1054821:
Dheeraj K. wrote in post #1054781:
login_user should be inside a before_each block.
Dheeraj K.
The updated code is at.
The module is not loaded properly.
In http://pastie.org/3719793
If I remove before_filter :authenticate_user!, Test passes.
Can you clarify.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs