Class: ExampleAppFormElementShowcaseTest

Inherits:
ActiveSupport::TestCase
  • Object
show all
Defined in:
lib/installer_templates/example_app_tests/test/models/example_app_form_element_showcase_test.rb

Overview

Pins the FormElementShowcase model wiring:

- plain_text columns are present (no rich_text drift)
- every kept Tier 1 attribute is in the attribute list
- priority2 keeps its options_disabled tuple slot (8.1.5 row shape)
- integer numericality is enforced on :count

Constant Summary collapse

EXPECTED_ATTRIBUTES =
%i[
  header_basics
  title
  body_plain_area
  header_numbers
  count
  price
  header_dates
  meeting_date
  meeting_time
  birth_month
  start_month
  header_choices
  is_active
  gender
  rating_int
  priority
  priority2
  stars
  header_files
  attachment
  jingle
  cover
  header_rich
  description
  roles
  header_meta
  created_at
  updated_at
].freeze