Add spec test to check the platform specific collect_data check.
Merge pull request #245 from opscode/OC-10876

Add spec test to check the platform specific collect_data check.