create admin users_controller
install cancan gem
create Role Model
check on user responds to role model(RED)
check on user responds to role model(GREEN)
deleted roles_spec
red on role validation
GREEN on all
Red on admin/dashboard
RED on Admin::users#new
GREEN on Admin::users#new
created new users form
confirm that test assertion fails on invalid form submission (RED)
confirm that test assertion fails on invalid form submission (GREEN)
RED on successful form submission
Form submits blank, checked on Selenium RED on new user form
installed database cleaner
GREEN on creating a user
display user information on show page. Create user with role
refactored form_for