factory_girlでtest起動時にレコード追加 fixtureのように起動時にレコードがある状態にしたい場合には***.ymlに <%= ({:one => Factory.build(:user).attributes}.to_yaml) %> のようにしたらいい