-
-
Notifications
You must be signed in to change notification settings - Fork 230
/
zabbix_host_spec.rb
25 lines (20 loc) · 1.01 KB
/
zabbix_host_spec.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# frozen_string_literal: true
require 'spec_helper'
describe 'zabbix_host' do
let(:title) { 'test1.example.com' }
context 'with default provider' do
it { is_expected.to be_valid_type.with_provider(:ruby) }
it { is_expected.to be_valid_type.with_properties('ensure') }
it { is_expected.to be_valid_type.with_properties('groups') }
it { is_expected.to be_valid_type.with_properties('id') }
it { is_expected.to be_valid_type.with_properties('interfaceid') }
it { is_expected.to be_valid_type.with_properties('ipaddress') }
it { is_expected.to be_valid_type.with_properties('port') }
it { is_expected.to be_valid_type.with_properties('proxy') }
it { is_expected.to be_valid_type.with_properties('templates') }
it { is_expected.to be_valid_type.with_properties('macros') }
it { is_expected.to be_valid_type.with_properties('use_ip') }
it { is_expected.to be_valid_type.with_parameters('hostname') }
it { is_expected.to be_valid_type.with_parameters('group_create') }
end
end