File: 010_elasticsearch_init_unkown_spec.rb

package info (click to toggle)
puppet-module-voxpupuli-elasticsearch 9.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,496 kB
  • sloc: ruby: 9,906; sh: 392; makefile: 4
file content (15 lines) | stat: -rw-r--r-- 305 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

require 'spec_helper'

describe 'elasticsearch', type: 'class' do
  context 'on an unknown OS' do
    context 'it should fail' do
      let(:facts) do
        { operatingsystem: 'Windows' }
      end

      it { is_expected.to raise_error(Puppet::Error) }
    end
  end
end