docbrown/spec/services
rhymes 5e9867ec56 Simplify AnalyticsService code (#2308)
* Add basic tests for Analytics service

* User/Organization are always required

* Add some data to the test

* Use queries and date times

* Fix AnalyticsService interface in the controller

* s/HTTP_API_KEY/api-key

* Defend against nils and support datetime objects

* Update app/services/analytics_service.rb

Co-Authored-By: rhymes <rhymesete@gmail.com>

* Use SQL sum, not Rails sum

* Group average_read_time

* Use SQL, not Rails

* Use ISO date

* Fix specs
2019-04-04 16:07:57 -04:00
..
analytics Simplify AnalyticsService code (#2308) 2019-04-04 16:07:57 -04:00
exporter Export comments (#1471) 2019-01-16 12:54:45 -05:00
moderator Improve Internal Dashboards features(#2043) 2019-03-18 16:29:11 -04:00
notifications New comment notifications to Active Jobs #1996 (#2287) 2019-04-03 11:38:30 -04:00
suggester Enabled rubocop/lint (#2130) 2019-03-21 10:53:44 -04:00
article_with_video_creation_service_spec.rb Add more test coverage (#1829) 2019-02-22 09:16:57 -08:00
membership_service_spec.rb Enabled rubocop/lint (#2130) 2019-03-21 10:53:44 -04:00
moderation_service_spec.rb Add more test coverage (#1829) 2019-02-22 09:16:57 -08:00
read_notifications_service_spec.rb Organization Notifications (#1762) 2019-02-25 14:25:37 -08:00
rss_reader_spec.rb Add feed_fetched_at for users to not refetch unnecessarily (#1555) 2019-01-15 13:29:11 -05:00
tag_adjustment_creation_service_spec.rb Improve specs (#1693) 2019-02-04 15:56:00 -04:00
tag_adjustment_update_service_spec.rb Fix braces around hash params Rubocop offense (#1453) 2019-01-11 13:08:45 -05:00