require 'serverspec' include Serverspec::Helper::Exec include Serverspec::Helper::DetectOS describe file('/etc/passwd') do it { should be_file } end