9.6 Exercises
9.6.1 Add tests to verify that admin attribute of user model is not
editable through the web.
9.6.2 Open Gravatar change link in a new window and add test for it.
9.6.3 Add tests to make sure that Profile, Settings, etc links do not
appear when a user is not signed in.
9.6 Exercises
9.6.5 refactor new.html.erb and edit.html.erb in users views and update
the tests accordingly
9.6 Exercises
9.6.6 Redirect signed in users to the root url if they try to access the
Users#new and Users#create actions.
9.6 Exercises
9.6.8 Test that friendly forwarding only forwards to the given URL the
first time.
9.6.9 Prevent admin users from deleting themselves and test.