docbrown/spec/models
Andy Zhao 5ace9a5fc9 Organization Notifications (#1762)
* Add spec for org reaction notification

* Add organization_id to notifications

* Add validations for user and org IDs

* Move comment json_data out of loop

* Use actual column names instead

* Add organization filters

* Remove extra text-align

* Add organization filtering

* Refactor to reduce complexity

* Add receiver argument to handle orgs

* Add has_many notifications for orgs

* Add follow notifications for orgs

* Add comment notifications for orgs

* Rename some tests for specificity

* Add mark org notifications as read functionality

* Add radix to parseInt

* Define json_data outside of loop

* Notify org followers of a new post as well

* Move test to proper location

* Add test for aggregated method

* Make send org reaction notification more readable

* Test the rest of the notification model

* Refactor tag adjustment spec

* Fix extra html
2019-02-25 14:25:37 -08:00
..
api_secret_spec.rb ApiSecret model for Developer API (#1369) 2019-01-08 12:30:54 -05:00
article_destroy_spec.rb Bust cache on article destroy instead of resave articles #1621 (#1801) 2019-02-23 19:41:06 -08:00
article_spec.rb Add padding to video duration (#1812) 2019-02-16 19:31:58 -04:00
badge_achievement_spec.rb Improve specs (#1693) 2019-02-04 15:56:00 -04:00
badge_spec.rb Implement Badge & BadgeAchievement model (#273) 2018-05-07 13:35:16 -04:00
block_spec.rb Code cleanups (#659) 2018-08-07 11:00:13 -04:00
buffer_update_spec.rb Rubocop cleanups (#1415) 2019-01-02 11:20:02 -05:00
chat_channel_spec.rb Code cleanups (#659) 2018-08-07 11:00:13 -04:00
comment_spec.rb Reduce the number of sql queries for articles comments #1606 (#1766) 2019-02-16 18:14:15 -04:00
display_ad_spec.rb Code cleanups (#659) 2018-08-07 11:00:13 -04:00
event_spec.rb Use timezone aware methods (#893) 2018-10-18 16:26:29 -04:00
feedback_message_spec.rb Rubocop cleanups (#1415) 2019-01-02 11:20:02 -05:00
follow_spec.rb Fix delayed job errors related to follows #1621 (#1835) 2019-02-23 18:16:20 -08:00
github_issue_spec.rb Bump octokit from 4.8.0 to 4.12.0 (#744) [ci skip] 2018-09-25 17:04:58 -04:00
github_repo_spec.rb Use timezone aware methods (#893) 2018-10-18 16:26:29 -04:00
html_variant_spec.rb Improve specs (#1693) 2019-02-04 15:56:00 -04:00
html_variant_success_spec.rb Rubocop cleanups (#1415) 2019-01-02 11:20:02 -05:00
html_variant_trial_spec.rb Rubocop cleanups (#1415) 2019-01-02 11:20:02 -05:00
identity_spec.rb Improve specs (#1693) 2019-02-04 15:56:00 -04:00
job_opportunity_spec.rb Code cleanups (#659) 2018-08-07 11:00:13 -04:00
mention_spec.rb WIP Refactor/notifications (#1131) 2018-11-19 16:09:02 -05:00
mentor_relationship_spec.rb Update mentor matching page (#1218) 2018-11-28 19:02:47 -05:00
message_spec.rb Improve specs (#1693) 2019-02-04 15:56:00 -04:00
note_spec.rb Improve specs (#1693) 2019-02-04 15:56:00 -04:00
notification_spec.rb Organization Notifications (#1762) 2019-02-25 14:25:37 -08:00
organization_spec.rb Allow Organizations to Update Slug/Username (#1411) 2019-01-10 14:16:43 -05:00
podcast_episode_spec.rb Fix Rubocop Style/MixinUsage and cleanup prefix_all_images (#1451) 2019-01-04 14:20:53 -05:00
push_notification_subscription_spec.rb Clean up spec outputs (#450) 2018-06-19 16:27:15 -04:00
reaction_destroy_spec.rb Fix ActiveRecord::RecordNotFound in Delayed::Jobs on article destroy (#1699) 2019-02-07 16:57:17 -05:00
reaction_spec.rb Refactor Reaction (#1320) 2018-12-13 14:24:33 -05:00
search_keyword_spec.rb Code cleanups (#659) 2018-08-07 11:00:13 -04:00
tag_adjustment_spec.rb Rubocop cleanups (#1415) 2019-01-02 11:20:02 -05:00
tag_spec.rb Improve performance for additional content boxes and tags index (#1750) 2019-02-06 16:50:35 -04:00
tweet_spec.rb Fix rubocop lints (#794) 2018-10-03 13:00:09 -04:00
user_spec.rb Allow Organizations to Update Slug/Username (#1411) 2019-01-10 14:16:43 -05:00