This error come up when I run my cucumber test file.
Solution: the problem is because in my config.yml file I have an entry with "-".
So in my config.yml I have the following:
test_server:
member_no: -
member_name: -
year: 2014
To fix the issue, just remove the "-" from config.yml so that ruby can parse the yml file
test_server:
member_no: 00000010
member_name: cucumber
year: 2014
To fix the issue, just remove the "-" from config.yml so that ruby can parse the yml file
ReplyDeletetest_server:
member_no: 00000010
member_name: cucumber
year: 2014