Skip to content

Commit

Permalink
setup-fixtures
Browse files Browse the repository at this point in the history
We're going to seed our integration tests using "fixture sets".  These
are separate directories so that they do not interfere with our unit
tests and so that we can have separate fixtures for separate tests.

In our case, we want to test from a blank database, so we'll create a
blank file for each model with the exception of `story_status`:

    $ mkdir test/fixtures/blank
    $ cd test/fixtures/blank
    $ touch project_memberships.yml projects.yml stories.yml
    $ touch task_assignments.yml tasks.yml users.yml
  • Loading branch information
bryanlarsen committed Feb 19, 2010
1 parent f25a467 commit e1ab407
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 0 deletions.
Empty file.
Empty file.
Empty file added test/fixtures/blank/stories.yml
Empty file.
Empty file.
Empty file added test/fixtures/blank/tasks.yml
Empty file.
Empty file added test/fixtures/blank/users.yml
Empty file.

0 comments on commit e1ab407

Please sign in to comment.