docbrown/spec
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
..
controllers Improve specs (#1693) 2019-02-04 15:56:00 -04:00
decorators Add more test coverage (#1829) 2019-02-22 09:16:57 -08:00
factories Fix delayed job errors related to follows #1621 (#1835) 2019-02-23 18:16:20 -08:00
features Reduce the number of sql queries for articles comments #1606 (#1766) 2019-02-16 18:14:15 -04:00
fixtures/approvals/rssreader/get_all_articles Refactor RssReader (#1537) 2019-01-14 14:25:49 -05:00
jobs Bust cache on article destroy instead of resave articles #1621 (#1801) 2019-02-23 19:41:06 -08:00
labor Added <kbd> tag support to markdown editors in article posts and comm… (#1761) 2019-02-16 22:30:35 -04:00
lib/acts_as_taggable_on Code cleanups (#659) 2018-08-07 11:00:13 -04:00
liquid_tags Add comment template to post (#1692) 2019-01-30 13:32:34 -05:00
mailers Replace data with content in export email copy (#1572) 2019-01-16 17:10:06 -05:00
models Organization Notifications (#1762) 2019-02-25 14:25:37 -08:00
observers Improve specs (#1693) 2019-02-04 15:56:00 -04:00
policies Remove harsh video restriction and add video duration (#1811) 2019-02-16 17:42:44 -04:00
requests Organization Notifications (#1762) 2019-02-25 14:25:37 -08:00
routing Code cleanups (#659) 2018-08-07 11:00:13 -04:00
services Organization Notifications (#1762) 2019-02-25 14:25:37 -08:00
support Improve specs (#1693) 2019-02-04 15:56:00 -04:00
views Improve specs (#1693) 2019-02-04 15:56:00 -04:00
rails_helper.rb Improve specs (#1693) 2019-02-04 15:56:00 -04:00
spec_helper.rb Use timezone aware methods (#893) 2018-10-18 16:26:29 -04:00