RSpec with signed in user

Hi there,

I am leaning rails development using RSpec, but there is one thing that
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
make the user login, and then visit the page.