Class: ExampleAppOwnerTabsTest

Inherits:
ExampleAppIntegrationTestCase show all
Defined in:
lib/installer_templates/example_app_tests/test/integration/example_app_owner_tabs_test.rb

Overview

/owners/:id ships two Turbo sub-tabs (naw, apartments). The custom OwnersController#show picks one of two attribute subsets driven by params[:tab], sets set_tab so the active tab is highlighted, and renders inside the row <turbo-frame id="owner_<id>"> so a tab click is a single partial swap. name deliberately appears on both tabs.