alfred_spec.rb 571 B

1234567891011121314151617181920212223242526272829
  1. require 'serverspec'
  2. # Required by serverspec
  3. set :backend, :exec
  4. describe file('/usr/local/sbin/alfred') do
  5. it { should exist }
  6. it { should be_executable }
  7. end
  8. describe file('/usr/local/sbin/alfred-gpsd') do
  9. it { should exist }
  10. it { should be_executable }
  11. end
  12. describe file('/usr/local/sbin/batadv-vis') do
  13. it { should exist }
  14. it { should be_executable }
  15. end
  16. describe file('/etc/init.d/alfred') do
  17. it { should exist }
  18. it { should be_executable }
  19. end
  20. describe file('/etc/init.d/batadv-vis') do
  21. it { should exist }
  22. it { should be_executable }
  23. end