Sha256: e663e6ff3e40b0aed40a02b5120845e46f810c59dd84d650a16a92d3c0d11b97
Contents?: true
Size: 660 Bytes
Versions: 62
Compression:
Stored size: 660 Bytes
Contents
Description: Generates a new decorator for a given PATH in a Workarea platform component (or plugin), and a decorator for its unit test from the existing codebase in your host app. Example: rails generate workarea:decorator app/models/workarea/search/storefront/product.rb This will create: app/models/workarea/search/storefront/product.decorator test/models/workarea/search/storefront/product_test.decorator (if a test exists) If no tests exist, it will also show a huge warning message stating the class you're about to decorate has NO tests, so anything you change must be also verified in the unit tests.
Version data entries
62 entries across 62 versions & 1 rubygems