discourse/plugins/automation/spec/models
Gary Pendergast 0802135037
DEV: Monkey patch a from_described_class helper in RSpec::Mocks (#34021)
This change adds a new `from_described_class` helper to `RSpec::Mocks`, allowing stubs to only be used when called from the described class in a given spec.

The practical application of this helper is to handle flaky specs, where other code can call the mocks before the test target can.
2025-08-05 12:03:42 +10:00
..
automation_spec.rb UX: simplify and shorten new script flow for automations (#29178) 2024-10-23 14:04:17 -04:00
field_spec.rb FEATURE: enhance post created edited trigger in automation (#31900) 2025-03-20 08:05:06 +11:00
stat_spec.rb DEV: Monkey patch a from_described_class helper in RSpec::Mocks (#34021) 2025-08-05 12:03:42 +10:00
user_global_notice_spec.rb DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00