This project is archived and is in readonly mode.

#218 ✓invalid
Anil Wadghule

script/generate model creates wrong unit test file

Reported by Anil Wadghule | May 18th, 2008 @ 01:32 PM

For latest edge Rails(Edge Rails revision 2463e38efd3cbcc10e7b0a93ad9c2d2224340668). When you generate model with "script/generate model user"

The file user_test.rb created in test/unit folder do not have line

require File.dirname(__FILE__) + '/../test_helper'
ruby 'test-helper'

which is wrong and so test fail until you make it correct.

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

Pages