There is a before_filter
in controller
before_filter :require_user
You have not supplied the required action in the test, so the real action show
has not been reached yet.
To fix, just add necessary action say creating user or login, before get :show