discourse/plugins/discourse-narrative-bot/spec
Blake Erickson 80a80ef2bd DEV: Use method instead of constant for discobot badge names
This change refactors the code a bit so that a plugin could easily
replace which badge is awarded when completing the discobot new user
tutorial and advanced tutorial.

By adding a static method and putting the BADGE_NAME constant inside of
that method we can simply call that method now instead of the constant.
A plugin could then `class_eval` that method and replace it with
whatever badge name they choose. This is way cleaner than having the
plugin change the frozen constant! eeek.
2020-04-09 20:46:51 -06:00
..
discourse_narrative_bot DEV: Use method instead of constant for discobot badge names 2020-04-09 20:46:51 -06:00
jobs DEV: Use method instead of constant for discobot badge names 2020-04-09 20:46:51 -06:00
lib FIX: Rate limit and hijack certificate generation. (#8215) 2019-10-21 13:14:15 -03:00
requests FIX: Rate limit and hijack certificate generation. (#8215) 2019-10-21 13:14:15 -03:00
user_spec.rb DEV: amend test for anonymous handling to use real data 2019-05-29 15:05:37 +10:00