Selectively load fixtures

I’d like to load different sets of data into the Users table depending
on what I’m testing. At the moment, I’m using the setup method to
create the data at runtime. Can i instead use the fixtures method to
load a specific fixture file into the Users table?

thanks
alan

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