Changes in rspec test code and recipes for syntax error while uploading ...

Changes in rspec test code and recipes for syntax error while uploading cookbook to chef-server version 11.8