You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assignee: bsheqa
Status: Closed (closed on 2016-09-15 14:19:10 +00:00)
Target Version: v0.3.0
Last Update: 2016-09-15 19:19:06 +00:00 (in Redmine)
We use the following test for multiple classes:
context "#{os} with host => foo (not a valid IP address)" do
let(:params) { {:host => 'foo'} }
it do
expect {
is_expected.to contain_icinga2__feature('graphite')
}.to raise_error(Puppet::Error, /"foo" is not a valid IP address/)
end
end
My suggestion is to remove the 'contain_icinga2__feature' check where only params are tested
context "#{os} with host => foo (not a valid IP address)" do
let(:params) { {:host => 'foo'} }
it { is_expected.to raise_error(Puppet::Error, /"foo" is not a valid IP address/) }
end
end
The text was updated successfully, but these errors were encountered:
This issue has been migrated from Redmine: https://dev.icinga.com/issues/12724
Created by bsheqa on 2016-09-14 09:26:06 +00:00
Assignee: bsheqa
Status: Closed (closed on 2016-09-15 14:19:10 +00:00)
Target Version: v0.3.0
Last Update: 2016-09-15 19:19:06 +00:00 (in Redmine)
We use the following test for multiple classes:
where this line has no effect at all:
My suggestion is to remove the 'contain_icinga2__feature' check where only params are tested
The text was updated successfully, but these errors were encountered: