This project is archived and is in readonly mode.
Add missing models and fixtures to run ActiveRecord test cases isolated
Reported by Emilio Tagua | May 19th, 2009 @ 12:24 AM | in 2.x
I keep finding more missing models and fixtures when running ActiveRecord tests without rake, so i decided to run this script:
for i in $(ls */_test.rb); do ruby -I "connections/native_mysql" $i; done
And just wrap all this in the same patch, with this patch applied all ActiveRecord's unit tests will run and have passing tests.
Comments and changes to this ticket
-
Repository May 19th, 2009 @ 11:23 AM
- State changed from new to resolved
(from [20deb677a23d2a57f0a946dc98debe0fcdb70c40]) Add missing models and fixtures [#2673 state:resolved]
Signed-off-by: Pratik Naik pratiknaik@gmail.com
http://github.com/rails/rails/commit/20deb677a23d2a57f0a946dc98debe...
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>
People watching this ticket
Attachments
Tags
Referenced by
- 2673 Add missing models and fixtures to run ActiveRecord test cases isolated (from [20deb677a23d2a57f0a946dc98debe0fcdb70c40]) Add mis...