sumeetjain / outcomes-tracker

0 stars 0 forks source link

142 entry decorator #156

Closed halfghaninne closed 6 years ago

halfghaninne commented 7 years ago

Fixes #142


Getting Set Up


Login Credentials

Your GH profile. You can be a student or admin user to test this functionality.

To change your user settings, in rails c call the methods set_view_permission and set_edit_permission on your User object to change from a student (default) to admin User.

Likewise, call remove_view_permission and remove_edit_permission to change from admin to student)


Functionality to Test

Happy-path process for adding and commenting on an application should be uninterrupted by refactoring that took place.

All tests in spec/decorators should pass.


Notes:

I have an outstanding questions:

  1. Do the@ variables in entries#create, entries#update, and entries#destroy need to be changed to decorators as well? I'm guessing not because these are "behind the scenes" actions. I'm not even sure that these actions are being used. 😰