File: service_spec.rb

package info (click to toggle)
ruby-serverspec 2.43.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 984 kB
  • sloc: ruby: 4,847; makefile: 4
file content (16 lines) | stat: -rw-r--r-- 251 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require 'spec_helper'

set :os, :family => 'smartos'

describe service('sshd') do
  it { should be_enabled }
end

describe service('sshd') do
  it { should be_running }
end

describe service('sshd') do
  it { should have_property :foo => 'bar' }
end