aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/fixtures
Commit message (Collapse)AuthorAgeFilesLines
* Move/rename files to follow naming conventionsAlexey Muranov2012-10-071-83/+0
|
* Rename "Fixtures" class to "FixtureSet"Alexey Muranov2012-10-071-1/+1
| | | | Rename `ActiveRecord::Fixtures` class to `ActiveRecord::FixtureSet`. Instances of this class normally hold a collection of fixtures (records) loaded either from a single YAML file, or from a file and a folder with the same name. This change make the class name singular and makes the class easier to distinguish from the modules like `ActiveRecord::TestFixtures`, which operates on multiple fixture sets, or `DelegatingFixtures`, `::Fixtures`, etc., and from the class `ActiveRecord::Fixture`, which corresponds to a single fixture.
* Fix a couple of helper requires that were missed. This was causing the tests ↵Jon Leighton2011-06-071-1/+1
| | | | to fail to run on 1.8.7.
* Refactor Active Record test connection setup. Please see the ↵Jon Leighton2011-06-041-1/+1
| | | | RUNNING_UNIT_TESTS file for details, but essentially you can now configure things in test/config.yml. You can also run tests directly via the command line, e.g. ruby path/to/test.rb (no rake needed, uses default db connection from test/config.yml). This will help us fix the CI by enabling us to isolate the different Rails versions to different databases.
* fixing 1.8 support for new fixture testsAaron Patterson2011-05-231-2/+4
|
* fixture file will validate fixture formatAaron Patterson2011-05-231-0/+18
|
* return an empty array for empty yaml filesAaron Patterson2011-05-231-0/+17
|
* adding AR::Fixtures::File class to wrap a fixture fileAaron Patterson2011-05-231-0/+46