Class: ExampleAppShowcaseNumericFieldsTest

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

Overview

Numeric Tier 1 helpers on FormElementShowcase:

integer_field   (count)                  + numericality validation regression
decimal_field   (price)                  default precision: 10, scale: 2
decimal_field   (latitude, longitude)    explicit `{p,s}` CLI suffix:
                                         decimal(9,6) / decimal(10,6)
money_field     (amount, money-rails `monetize :amount_cents`)