test_spec.rb 307 B

1234567891011121314151617
  1. require 'serverspec'
  2. # Required by serverspec
  3. set :backend, :exec
  4. describe file('/usr/local/bin/alfred-json') do
  5. it { should exist }
  6. it { should be_executable }
  7. end
  8. describe port(80) do
  9. it { should be_listening.with('tcp6') }
  10. end
  11. describe port(443) do
  12. it { should be_listening.with('tcp6') }
  13. end