1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
fab-manager/test/fixtures/README.md

10 lines
364 B
Markdown
Raw Normal View History

# Test fixtures
Fixtures are test data.
Every time a new test is run, the database is filled with these data.
You can create fixtures manually or using the following task, to dump your current table/database to the YAML fixture files:
```bash
rails db:to_fixtures[table]
```
The parameter `table` is optional. If not specified, the whole database will be dumped.