Forum: Ruby RSpec with signed in user

820e01609a9f8f0fc0d5167680625b93?d=identicon&s=25 Harisankar P S (coderhs)
on 2013-10-26 15:49
(Received via mailing list)
Hi there,

I am leaning rails development using RSpec, but there is one thing that
i
can't seem to understand. How to test a controller with a signed in
user, I
am using devise library for user authentication. And i am unsure on how
to
make the user login, and then visit the page.
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.