File: testhost_spec.rb

package info (click to toggle)
ruby-rspec-puppet 4.0.2%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,444 kB
  • sloc: ruby: 6,377; makefile: 6
file content (14 lines) | stat: -rw-r--r-- 315 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

require 'spec_helper'

describe 'testhost' do
  it { is_expected.to contain_class('sysctl::common') }

  describe 'testhost_a' do
    let(:node) { 'testhost_a' }

    it { is_expected.not_to contain_class('sysctl::common') }
    it { is_expected.to contain_file('/tmp/a') }
  end
end