Fix bugs related; used Chef::Provider::File instead of ::File by accident.
Also, if the File.open succeeds and runs to the end, the file object is nil.
equal_to, not values