require 'rspec' require 'process_exists/version' include ProcessExists def running_specs_as_root? # The superuser normally has a UID of zero (0) Process.uid == 0 end