canvas-lms/spec/factories
Cody Cutrer bc48b1ef34 normalize user_id out of notification_policies
fixes #6585, #7096

by normalizing, it's impossible to not maintain a column that isn't
there (yes, triple negative is intended in that sentence), thus
preventing sending notifications to the wrong user after a merge
or any other bugs that would have missing maintaining the
denormalization.

test plan:
 * test notifications in general
 * merge two active users together - their notification preferences
   should survive the merge

Change-Id: I239d810c5499b94550b65128cac71c42cedd11ba
Reviewed-on: https://gerrit.instructure.com/8013
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Jacob Fugal <jacob@instructure.com>
2012-02-01 12:42:23 -07:00
..
account_factory.rb fix the mass assignment error raising option 2011-04-07 16:00:55 -06:00
announcement_factory.rb api for the activity stream, closes #4740 2011-08-23 09:13:20 -06:00
assessment_question_factory.rb correct tally of question points when adding from bank, fixes #4718 2011-06-01 08:13:26 -06:00
assignment_factory.rb restrict submission actions to sections 2011-11-10 12:08:58 -07:00
attachment_factory.rb switch to mocha mock framework for specs 2011-10-27 08:37:13 -06:00
bookmark_service_factory.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06:00
calendar_event_factory.rb fix dashboard notifications for appointments 2012-01-10 13:40:25 -07:00
collaboration_factory.rb Initial commit. 2011-01-31 18:57:29 -07:00
communication_channel_factory.rb Initial commit. 2011-01-31 18:57:29 -07:00
course_factory.rb store sis_batch_id as an integer, not a string 2012-01-11 09:14:36 -07:00
delayed_message_factory.rb Initial commit. 2011-01-31 18:57:29 -07:00
discussion_topic_factory.rb api for the activity stream, closes #4740 2011-08-23 09:13:20 -06:00
enrollment_factory.rb Initial commit. 2011-01-31 18:57:29 -07:00
eportfolio_factory.rb finish selenium tests for sales demonstrations 2011-09-28 12:34:28 -06:00
external_feed_factory.rb Initial commit. 2011-01-31 18:57:29 -07:00
folder_factory.rb Initial commit. 2011-01-31 18:57:29 -07:00
group_factory.rb add groups/group_memberships to sis csv import, closes #4247 2011-06-03 15:17:08 -06:00
message_factory.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06:00
notification_factory.rb use user host url for summary message links, fixes #4455 2011-05-03 13:27:16 -06:00
notification_policy_factory.rb normalize user_id out of notification_policies 2012-02-01 12:42:23 -07:00
outcome_factory.rb fix error in selenium outcome spec and some selenium cleanup 2011-10-03 09:26:03 -06:00
page_view_factory.rb user page views api 2011-09-06 16:18:59 -06:00
pseudonym_factory.rb Initial commit. 2011-01-31 18:57:29 -07:00
quiz_factory.rb Quiz statistics selenium test. Fix selenium tests. 2011-10-07 12:20:35 -06:00
rubric_assessment_factory.rb Initial commit. 2011-01-31 18:57:29 -07:00
rubric_association_factory.rb Initial commit. 2011-01-31 18:57:29 -07:00
rubric_factory.rb finish selenium tests for sales demonstrations 2011-09-28 12:34:28 -06:00
scribd_account_factory.rb Initial commit. 2011-01-31 18:57:29 -07:00
scribd_mime_type_factory.rb Initial commit. 2011-01-31 18:57:29 -07:00
submission_comment_factory.rb Initial commit. 2011-01-31 18:57:29 -07:00
submission_factory.rb restrict submission actions to sections 2011-11-10 12:08:58 -07:00
user_factory.rb allow admins to message anyone in their accounts 2011-07-31 20:14:42 -06:00
user_service_factory.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06:00
wiki_page_factory.rb Initial commit. 2011-01-31 18:57:29 -07:00