mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #20636 from dcrec1/isolated_test
fix test not failing when executed isolated
This commit is contained in:
commit
34012244b4
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ require 'models/owner'
|
||||||
require 'models/pet'
|
require 'models/pet'
|
||||||
|
|
||||||
class ReloadModelsTest < ActiveRecord::TestCase
|
class ReloadModelsTest < ActiveRecord::TestCase
|
||||||
fixtures :pets
|
fixtures :pets, :owners
|
||||||
|
|
||||||
def test_has_one_with_reload
|
def test_has_one_with_reload
|
||||||
pet = Pet.find_by_name('parrot')
|
pet = Pet.find_by_name('parrot')
|
||||||
|
|
Loading…
Reference in a new issue