mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Ensure fixtures are loaded for FoxyFixturesTest
Ensure that the fixtures are properly loaded for FoxyFixturesTest When tests are randomized, FoxyFixturesTest often fails due to unloaded fixtures.
This commit is contained in:
parent
18590e2809
commit
23cd1a1b0c
1 changed files with 2 additions and 0 deletions
|
@ -809,6 +809,8 @@ class FasterFixturesTest < ActiveRecord::TestCase
|
|||
end
|
||||
|
||||
class FoxyFixturesTest < ActiveRecord::TestCase
|
||||
# Set to false to blow away fixtures cache and ensure our fixtures are loaded
|
||||
self.use_transactional_tests = false
|
||||
fixtures :parrots, :parrots_pirates, :pirates, :treasures, :mateys, :ships, :computers,
|
||||
:developers, :"admin/accounts", :"admin/users", :live_parrots, :dead_parrots, :books
|
||||
|
||||
|
|
Loading…
Reference in a new issue