Sha256: 85b7bee41a6e1d35435865fd491fc91d62809bd44c1484615791a16fcaf5a836

Contents?: true

Size: 580 Bytes

Versions: 6

Compression:

Stored size: 580 Bytes

Contents

Build test data with clarity and ease.

This uses FactoryBot to help you define dummy and test data for your test
suite. The `create`, `build`, and `build_stubbed` class methods are directly
available to all tests.

We recommend putting FactoryBot definitions in one `spec/factories.rb` file, at
least until it grows unwieldy. This helps reduce confusion around circular
dependencies and makes it easy to jump between definitions.

Outside of the tests, the `dev:prime` rake task can be used to insert initial
development data into the database. You can use FactoryBot here, too.

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
suspenders-20230113.0 templates/descriptions/factories.md
suspenders-1.56.1 templates/descriptions/factories.md
suspenders-1.55.1 templates/descriptions/factories.md
suspenders-1.55.0 templates/descriptions/factories.md
suspenders-1.54.1 templates/descriptions/factories.md
suspenders-1.54.0 templates/descriptions/factories.md