Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #7214 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

[PATCH] Add support for fixtures :all

Reported by: manfred Assigned to: core
Priority: normal Milestone:
Component: ActiveRecord Version: edge
Severity: normal Keywords: patch nottobig fixtures
Cc:

Description

For some, arguably very bad tests you sometimes need to load all the fixtures, this leads to a very long list of fixtures.

The proposed patch adds the :all option to the fixtures classmethod. When :all is specified, all the fixtures in the fixtures directory are loaded.

Attachments

load_all_fixtures_at_once.diff (1.6 kB) - added by manfred on 01/20/07 00:18:20.

Change History

01/20/07 00:18:20 changed by manfred

  • attachment load_all_fixtures_at_once.diff added.

01/20/07 00:42:54 changed by jonathan_viney

+1 for the feature, haven't looked at this implementation though.

02/25/07 19:52:10 changed by david

  • status changed from new to closed.
  • resolution set to fixed.

Closed by [6227]