docbrown/spec
rhymes cc53b55a4a
[deploy] Switch decorators from Draper to Rails builtin decorations (#6040)
* Convert SponsorshipDecorator to Rails decorator

* Remove empty ReactionDecorator

* Rename SponsorshipDecorator#level_color_hex to level_background_color

* Convert CommentDecorator to Rails decorator

* Add specs and fix bugs for NotificationDecorator

* Convert NotificationDecorator to Rails decorator

* Add specs and fix bugs for OrganizationDecorator

* Convert OrganizationDecorator to Rails decorator

* Add specs to PodcastEpisodeDecorator and fix bugs

* Convert PodcastEpisodeDecorator to a Rails decorator

* Add missing specs for ArticleDecorator and fix bugs

* Convert ArticleDecorator to Rails decorator

* Add missing specs to UserDecorator and fix issues

* Convert UserDecorator to Rails decorator

* Add .decorate_collection method

* Add decorator for AR relations and remove Draper

* Rename BaseDecorator back to ApplicationDecorator

* Rename .decorate_ back to .decorate

* Restore decorate_collection (WTH)

* Add decorated?

* Fix bugs and failing specs

* Decoration should always be explicit
2020-02-17 09:32:32 -05:00
..
black_box Adjust type tags for RSpec (#4864) 2019-11-20 13:01:30 -05:00
decorators [deploy] Switch decorators from Draper to Rails builtin decorations (#6040) 2020-02-17 09:32:32 -05:00
factories Search Tags in Elasticsearch from Classified Listing and Post Creation (#6024) [deploy] 2020-02-17 08:16:45 -05:00
fixtures Creating podcasts by users (#3730) [deploy] 2020-01-08 16:14:25 -05:00
helpers Fix linting (#4933) [deploy] 2019-11-26 08:35:34 -05:00
initializers Hookup Elasticsearch in travis (#5871) 2020-02-04 08:20:14 -05:00
jobs/shared_examples Remove Reactions::UpdateReactableJob & spec (#6059) [deploy] 2020-02-13 08:59:03 -08:00
labor Add mod channel automation to tags (#5731) [deploy] 2020-02-06 16:27:12 -05:00
lib Create DataUpdateScript to Index all Tags (#6078) [deploy] 2020-02-14 14:17:52 -05:00
liquid_tags Refactor ProfileImage (#5803) 2020-02-07 08:56:16 -05:00
mailers [deploy] Finalize deleting user associations (#5624) 2020-01-23 11:29:47 -05:00
models [deploy] Switch decorators from Draper to Rails builtin decorations (#6040) 2020-02-17 09:32:32 -05:00
observers Move SlackBotPingJob to Sidekiq (#5615) 2020-01-22 08:24:33 -05:00
policies Fix Rubocop lints (#5155) 2019-12-19 10:09:37 -05:00
requests [deploy] Switch decorators from Draper to Rails builtin decorations (#6040) 2020-02-17 09:32:32 -05:00
routing Enabled rubocop/lint (#2130) 2019-03-21 10:53:44 -04:00
services [deploy] Switch decorators from Draper to Rails builtin decorations (#6040) 2020-02-17 09:32:32 -05:00
support Document DataUpdateScripts, Add to Deploy Process, Add Development Check (#6068) [deploy] 2020-02-14 11:45:27 -05:00
system Consolidate server side main article feed logic (#5953) [deploy] 2020-02-12 08:43:20 -06:00
uploaders Adjust type tags for RSpec (#4864) 2019-11-20 13:01:30 -05:00
views Improve test speed (#3957) [ci skip] 2019-09-12 16:17:20 -04:00
workers Document DataUpdateScripts, Add to Deploy Process, Add Development Check (#6068) [deploy] 2020-02-14 11:45:27 -05:00
rails_helper.rb Add Code To Setup the Elasticsearch Tag Index (#5919) [deploy] 2020-02-06 11:46:11 -05:00
spec_helper.rb Temporarily comment out random (#2486) 2019-04-18 11:56:38 -04:00