摘要: 如何在单元测试中测试接口返回的字段? 如果我们有一个api的entity为 employment.rb let(:default_headers) { { 'CONTENT_TYPE' => 'application/json' } } it 'xxx xxx' do headers = { 'Au 阅读全文
posted @ 2019-10-16 06:06 冰凌花花~ 阅读(199) 评论(0) 推荐(0) 编辑