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

Ticket #7981 (closed defect: fixed)

Opened 2 years ago

Last modified 1 year ago

[PATCH] Include missing ActiveRecord test fixtures

Reported by: roderickvd Assigned to: core
Priority: normal Milestone: 1.x
Component: ActiveRecord Version: edge
Severity: normal Keywords:
Cc:

Description

Running Ruby 1.8.6 on Edge Rails r6500, Mac OS X 10.4.9:

The ActiveRecord test suite does not pass on a newly created database because it fails to include several required fixtures. The attached patch simply includes these missing fixtures and fixes the test suite.

It is likely that this was not picked up on the CI build because that database still had the corresponding tables populated from earlier revisions.

MySQL 5.0.37 Passes
PostgreSQL 8.2.3 Passes
SQLite 2.8.17 Failures: 2 -> 0; errors: 1 -> 1
SQLite 3.3.13 Failures: 4 -> 2; errors: 2 -> 1

Attachments

include_missing_fixtures.diff (1.4 kB) - added by roderickvd on 04/03/07 13:36:17.

Change History

04/03/07 13:36:17 changed by roderickvd

  • attachment include_missing_fixtures.diff added.

05/25/07 01:28:44 changed by bitsweat

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

(In [6832]) Include some missing fixtures. Closes #7981.