bug fixed for chefspec test cases