Check what fixtures are being included in the tests. I’ve run into a lot
of
the same problems as this, and it’s always been that I wasn’t including
a
fixture properly.
Thanks. The issue seemed to be with one of the validations. I was
validating against a table of states using the two letter state abbr.
as a FK. When I took that validation out, the test worked in both
instances. In both cases, I loaded the fixture containing all the
state data. Feels to me like there might be a bug lurking in here
somewhere because the test should have worked in both cases.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.