This project is archived and is in readonly mode.
Fix HasManyThroughAssociationsTest tests
Reported by Emilio Tagua | July 31st, 2008 @ 02:59 PM | in 2.x
At the moment HasManyThroughAssociationsTest are failing, 1 failure and 1 error, when running just that test file, NOT when running all tests.
The failure is in method "test_associate_existing":
assert_queries(1) do
posts(:thinking).people << people(:david)
end
Generates an extra: SHOW FIELDS FROM `posts`. That is not generated when running all tests.
The error is that comment model is used in the test but it isn't included, i add both, the model and the fixture.
Comments and changes to this ticket
-
Repository July 31st, 2008 @ 05:03 PM
- State changed from new to resolved
(from [fb5cc19707582fa61ca3e426697cc2b00e9e5ffa]) Fix HasManyThroughAssociationsTest tests. [#733 state:resolved]
Signed-off-by: Pratik Naik
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>