Skip to content

Commit 27eaaa3

Browse files
author
MSzweda
committed
add more pointers
1 parent 772e5a9 commit 27eaaa3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/views/pages/test_5.html.haml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
Write a spec for page that requires authentication.
88
Don't log the user in, stub the required methods instead and return an object you create in spec.
99
Check if your user's email displays on the page.
10+
Which method checks that user is authenticated? Stub it.
11+
You need a user object, devise uses current_user - stub it.
1012
%h3 Things we learn in this step:
1113
%p
1214
%ul

0 commit comments

Comments
 (0)