Phoenix.LiveViewTest.assert_patched
You're seeing just the function
assert_patched
, go back to Phoenix.LiveViewTest module for more information.
Asserts a live patch was performed.
It always returns :ok
. To assert on the flash message,
you can assert on the result of the rendered LiveView.
Examples
render_click(view, :event_that_triggers_redirect)
assert_patched view, "/path"