This project is archived and is in readonly mode.
Unable to create any model and unit test that begin with the word 'Test'
Reported by asherwood | November 30th, 2009 @ 07:48 PM
After upgrading to rails 2.3.5 and running my tests the following error appears
test_fields(ActionView::TestCase):
TypeError: wrong argument type Class (expected Module)
After doing a bit of testing in a new application it looks like this error is thrown whenever a new model is generated beginning with the word 'test' and then the tests are run.
Comments and changes to this ticket
-
asherwood December 21st, 2009 @ 11:22 AM
- Tag changed from test to fixtures, test
After further investigation into this, the problem is happening when there is a fixture that starts with the word test.
-
Rohit Arondekar October 8th, 2010 @ 12:25 PM
- State changed from new to invalid
- Importance changed from to
Test is a reserved word.
Although this list is old, it still has most of the reserved words: http://wiki.rubyonrails.org/rails/pages/reservedwords
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>