discourse/plugins/discourse-narrative-bot/spec/discourse_narrative_bot
Régis Hanol d156b7749d FIX: match discobot triggers on cooked version
In French, the help trigger has a raw content of "afficher l'aider" which is then cooked into "afficher l’aide" (note the different quote character).
Since we were checking the raw content of the trigger against the cooked version of the post, this trigger never worked in French.

This changes so that we cook the trigger before checking in against the cooked version of the post.

DEV: new 'discobot_username' method that is used everywhere instead of 'discobot_user.username' / 'discobot_user.username_lower'
2020-07-02 15:09:22 -04:00
..
advanced_user_narrative_spec.rb FIX: match discobot triggers on cooked version 2020-07-02 15:09:22 -04:00
new_user_narrative_spec.rb FIX: match discobot triggers on cooked version 2020-07-02 15:09:22 -04:00
store_spec.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
track_selector_spec.rb FIX: match discobot triggers on cooked version 2020-07-02 15:09:22 -04:00