Exception: Phlex::Reactive::TestHelpers::UndeclaredReactiveAction

Inherits:
Error
  • Object
show all
Defined in:
lib/phlex/reactive/test_helpers.rb

Overview

Raised by run_reactive when the action is not declared with action :name. The endpoint answers this with a 403 (default-deny); the driver raises so a unit test asserts the contract directly. A dedicated class (not a bare ArgumentError) so raise_error(UndeclaredReactiveAction) is unambiguous.