Skip to content

Instantly share code, notes, and snippets.

@erinpagemd
Created November 20, 2015 00:12
Show Gist options
  • Save erinpagemd/678767923f95004fa875 to your computer and use it in GitHub Desktop.
Save erinpagemd/678767923f95004fa875 to your computer and use it in GitHub Desktop.
Tests for shared notes

integration tests that should be written for shared_notes:

  • Notetaker is restricted from removing interest in a course once they’ve expressed interest in a course AND accepted one request for that course
  • Student can rescind a request to a notetaker AND the notetaker doesn’t see the initial request in their dashboard.
  • notetaker accepts request and then is requested by another student in the same class
  • notetaker expresses interest in one course and does not show as interested_notetaker in his/her other courses
  • student has one accepted notetaker per course
comb through the shared_notes tickets and write tests for those things maybe?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment