docbrown/spec/services
Jacob Herrington 00dd84f9e1 Add a default message to badge award action (#5160)
* Add a default message to badge award action

Because:
 - The only badges routinely awarded manually use the same message
 - Right now, unfriendly/unsafe UI can result in an error notification

The only badges that are currently awarded manually (afaik) have the
message "Congrats!!!" so for the time being, if a message is not
supplied to the UI, it will simply use the "Congrats!!!" message as a
default.

That being said, I'm not totally convinced this message won't work for
the long term. Generally, if we are awarding badges by hand, I'd imagine
we'd want a specific message explaining why we are doing that, or just
be okay with "Congrats!"

After talking with Peter about it, the longer term goal should be to
move badge messages into the database so they can be modified in the app
and not hardcoded. That also make sense regarding the effort to
genericize the app eventually.

* Test Badge notifications
2019-12-19 10:38:57 -05:00
..
articles Adjust type tags for RSpec (#4864) 2019-11-20 13:01:30 -05:00
audit Fix warning on missing Faker keyword argument (#4574) 2019-10-24 14:43:05 -04:00
credits Adjust type tags for RSpec (#4864) 2019-11-20 13:01:30 -05:00
edge_cache/commentable Fix comment deletion bug (#3732) 2019-08-27 17:07:09 -04:00
exporter Adjust type tags for RSpec (#4864) 2019-11-20 13:01:30 -05:00
giphy Adjust type tags for RSpec (#4864) 2019-11-20 13:01:30 -05:00
mentions Adjust type tags for RSpec (#4864) 2019-11-20 13:01:30 -05:00
moderator Self-deleting user account (#4480) [deploy] 2019-11-11 14:59:01 -05:00
notifications Add a default message to badge award action (#5160) 2019-12-19 10:38:57 -05:00
payments Adjust type tags for RSpec (#4864) 2019-11-20 13:01:30 -05:00
podcasts Fix podcast episode validation error (#4967) [deploy] 2019-11-29 16:16:19 -05:00
pro_memberships Fix biller spec's zonebie issue (#4112) [ci skip] 2019-09-25 19:00:53 -04:00
secrets Use a sortable unique ID for the event_id (#3972) 2019-09-09 10:15:12 -04:00
streams Don't try to register webhook when twitch returns empty data (#3219) 2019-06-18 21:34:06 -04:00
suggester Adjust type tags for RSpec (#4864) 2019-11-20 13:01:30 -05:00
user_blocks New Feature: Block Users (#4411) 2019-10-23 17:14:28 -04:00
users Remove RedisRailsCache and replace with Rails.cache (#5059) [deploy] 2019-12-10 13:11:08 -06:00
webhook Dispatch events only to the corresponding user endpoints (#4008) 2019-09-11 15:33:11 -04:00
analytics_service_spec.rb Make unsure specs more confident about time (#3518) 2019-07-23 09:36:47 -04:00
article_with_video_creation_service_spec.rb Fix invalid body_markdown in article with video (#4258) [ci skip] 2019-10-08 15:41:44 -04:00
authorization_service_spec.rb Adjust type tags for RSpec (#4864) 2019-11-20 13:01:30 -05:00
medium_article_retrieval_service_spec.rb Add publication date to medium liquid tag (#4961) (#5002) [deploy] 2019-12-05 11:19:10 -05:00
ping_admins_spec.rb Adjust type tags for RSpec (#4864) 2019-11-20 13:01:30 -05:00
read_notifications_service_spec.rb Adjust type tags for RSpec (#4864) 2019-11-20 13:01:30 -05:00
rss_reader_spec.rb Adjust type tags for RSpec (#4864) 2019-11-20 13:01:30 -05:00
tag_adjustment_creation_service_spec.rb Mod tooling: add tags via /mod (#4750) [deploy] 2019-11-21 16:32:32 -05:00
tag_adjustment_update_service_spec.rb Mod tooling: add tags via /mod refactor (#5017) 2019-12-13 13:02:45 -05:00