Rails unit testing doesn't load fixtures

后端 未结 6 1089
梦谈多话
梦谈多话 2020-12-16 01:54

rake test:units fails in my current application, because the needed data of the fixtures is missing.

If I\'m loading the fixtures manually via rak

6条回答
  •  伪装坚强ぢ
    2020-12-16 02:20

    Not sure if you already did this, but export the test data from the database to the yml files in test/fixtures using a plugin like ar_fixtures

提交回复
热议问题