Skip to content

Instantly share code, notes, and snippets.

View erinpagemd's full-sized avatar

Erin erinpagemd

  • Murfreesboro, TN
View GitHub Profile
@chyld
chyld / info
Created April 8, 2014 23:19
js extreme scrabble
https://drive.google.com/#folders/0B4iPWDqbzCMARlQtQWFNUXc5TTA
@sscotth
sscotth / security.json
Created December 12, 2014 21:20
Firebase Security Rules: Grants read/write access to the owner of this user account whose uid must exactly match the key ($uid)
{
"rules": {
"users": {
"$uid": {
".write": "auth !== null && auth.uid === $uid",
".read": "auth !== null && auth.uid === $uid"
}
}
}
}
@elizabrock
elizabrock / rake routes
Created May 26, 2015 14:51
Courseware Of The Future routes.rb
Prefix Verb URI Pattern Controller#Action
root GET / home#index
user_omniauth_authorize GET|POST /users/auth/:provider(.:format) omniauth_callbacks#passthru {:provider=>/github/}
user_omniauth_callback GET|POST /users/auth/:action/callback(.:format) omniauth_callbacks#(?-mix:github)
new_user_session GET /sign_in(.:format) devise/sessions#new
destroy_user_session DELETE /sign_out(.:format) devise/sessions#destroy
course_assignment_milestone GET /courses/:course_id/assignments/:assignment_id/milestones/:id(.:format) milestones#show
course_assignments GET /courses/:course_id/assignments(.:for
@erinpagemd
erinpagemd / wish_list.md
Created November 20, 2015 00:12
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?