Fixtures for non AR object

I want to unit test some models, but they aren’t AR models. They’re
just basic Ruby classes. I’d like to be able to specify them in
fixtures files, and run my unit tests normally. The only difference
is that they don’t need to be inserted into a database. Is there any
way I can do this? Having a heck of a time using Rails WITHOUT a


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs