Sha256: f677581176ef9bb3f80ef697bea5b228d815a0e46641506a7cee924293bdf791

Contents?: true

Size: 273 Bytes

Versions: 5

Compression:

Stored size: 273 Bytes

Contents

require 'spec_helper'

set :os, :family => 'nixos'

describe commands.command_class('service').create do
  it { should be_an_instance_of(Specinfra::Command::Nixos::Base::Service) }
end

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
serverspec-2.0.0.beta13 spec/type/nixos/service_spec.rb
serverspec-2.0.0.beta12 spec/type/nixos/service_spec.rb
serverspec-2.0.0.beta11 spec/type/nixos/service_spec.rb
serverspec-2.0.0.beta10 spec/type/nixos/service_spec.rb
serverspec-2.0.0.beta9 spec/type/nixos/service_spec.rb