我已经为我的控制器编写了一些测试但是无论何时我运行命令rails test我都会收到错误消息活动记录格式错误。任何帮助或建议将受到高度赞赏。
#this is what I have on my fixture.yml
one:
contract_name: MyString
contract_status: MyString
services_rendered: MyString
contract_value: MyString
award_year: 1
location: one
two:
contract_name: MyString
contract_status: MyString
services_rendered: MyString
contract_value: MyString
award_year: 1
location: two