我正在为我的桌子写一个夹具.并且其中一个coloums将JSON字符串作为值.
问题是夹具没有加载失败,因为:
Fixture::FormatError: a YAML error occurred parsing /home/saurajeet/code/dcbox/test/fixtures/hardware.yml. Please note that YAML must be consistently indented using spaces. Tabs are not allowed. Please have a look at http://www.yaml.org/faq.html
The exact error was:
ArgumentError: syntax error on line 145, col 73: ` portslist: [{"name":"ob1","port_num":0,"port_type":"network"},{"name":"ob2","port_nu'.....
Run Code Online (Sandbox Code Playgroud)
任何解决方案.