This project is archived and is in readonly mode.

#5355 ✓committed
Paul Hieromnimon

No error raised when fixtures file doesn't exist

Reported by Paul Hieromnimon | August 11th, 2010 @ 03:20 AM

Fixtures.new will not complain if fixture_path is invalid. This makes it hard to track down issues to due a missing file/typo. Additionally, there is no way to tell the difference between an empty file and a non-existent file.

Attached is a fix + test case.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Attachments

Tags

Pages