Ensure boolean properties munged #152
Annotations
10 errors and 3 warnings
Run tests:
spec/unit/provider/network_config/redhat_spec.rb#L62
Puppet::Type::Network_config::ProviderRedhat when parsing the onboot property is expected to eq "yes"
Failure/Error: it { expect(data[:onboot]).to eq('yes') }
expected: "yes"
got: true
(compared using ==)
Diff:
@@ -1 +1 @@
-"yes"
+true
|
Run tests:
spec/unit/provider/network_config/redhat_spec.rb#L83
Puppet::Type::Network_config::ProviderRedhat when parsing the hotplug property when true is expected to eq "yes"
Failure/Error: it { expect(data[:hotplug]).to eq('yes') }
expected: "yes"
got: true
(compared using ==)
Diff:
@@ -1 +1 @@
-"yes"
+true
|
Run tests:
spec/unit/provider/network_config/redhat_spec.rb#L89
Puppet::Type::Network_config::ProviderRedhat when parsing the hotplug property when false is expected to eq "no"
Failure/Error: it { expect(data[:hotplug]).to eq('no') }
expected: "no"
got: false
(compared using ==)
Diff:
@@ -1 +1 @@
-"no"
+false
|
Run tests:
spec/unit/provider/network_config/redhat_spec.rb#L123
Puppet::Type::Network_config::ProviderRedhat when parsing complex configuration bond0 onboot is expected to eq "yes"
Failure/Error: its(:onboot) { is_expected.to eq('yes') }
expected: "yes"
got: true
(compared using ==)
Diff:
@@ -1 +1 @@
-"yes"
+true
|
Run tests:
spec/unit/provider/network_config/redhat_spec.rb#L136
Puppet::Type::Network_config::ProviderRedhat when parsing complex configuration bond1 onboot is expected to eq "yes"
Failure/Error: its(:onboot) { is_expected.to eq('yes') }
expected: "yes"
got: true
(compared using ==)
Diff:
@@ -1 +1 @@
-"yes"
+true
|
Run tests:
spec/unit/provider/network_config/redhat_spec.rb#L151
Puppet::Type::Network_config::ProviderRedhat when parsing complex configuration eth0 onboot is expected to eq "yes"
Failure/Error: its(:onboot) { is_expected.to eq('yes') }
expected: "yes"
got: true
(compared using ==)
Diff:
@@ -1 +1 @@
-"yes"
+true
|
Run tests:
spec/unit/provider/network_config/redhat_spec.rb#L167
Puppet::Type::Network_config::ProviderRedhat when parsing complex configuration eth1 onboot is expected to eq "yes"
Failure/Error: its(:onboot) { is_expected.to eq('yes') }
expected: "yes"
got: true
(compared using ==)
Diff:
@@ -1 +1 @@
-"yes"
+true
|
Run tests:
spec/unit/provider/network_config/redhat_spec.rb#L183
Puppet::Type::Network_config::ProviderRedhat when parsing complex configuration eth2 onboot is expected to eq "yes"
Failure/Error: its(:onboot) { is_expected.to eq('yes') }
expected: "yes"
got: true
(compared using ==)
Diff:
@@ -1 +1 @@
-"yes"
+true
|
Run tests:
spec/unit/provider/network_config/redhat_spec.rb#L199
Puppet::Type::Network_config::ProviderRedhat when parsing complex configuration eth3 onboot is expected to eq "yes"
Failure/Error: its(:onboot) { is_expected.to eq('yes') }
expected: "yes"
got: true
(compared using ==)
Diff:
@@ -1 +1 @@
-"yes"
+true
|
Run tests:
spec/unit/provider/network_config/redhat_spec.rb#L319
Puppet::Type::Network_config::ProviderRedhat when parsing interface.vlan_id vlan configuration eth0.0 onboot is expected to eq "yes"
Failure/Error: its(:onboot) { is_expected.to eq('yes') }
expected: "yes"
got: true
(compared using ==)
Diff:
@@ -1 +1 @@
-"yes"
+true
|
Run tests:
spec/unit/type/network_config_spec.rb#L68
Puppet::Type::Network_config when validating the attribute options is a descendant of the KeyValue property
Failure/Error: expect(Puppet::Type.type(:network_config).propertybyname(:options).ancestors).to include(Puppet::Property::Ensure)
expected [Puppet::Type::Network_config::Options, Puppet::Property, Puppet::Parameter, Puppet::Util::Logging, P...ator::GeneratorMethods::Object, JSON::Ext::Generator::GeneratorMethods::Object, Kernel, BasicObject] to include Puppet::Property::Ensure
Diff:
@@ -1,13 +1,25 @@
-[Puppet::Property::Ensure]
+[Puppet::Type::Network_config::Options,
+ Puppet::Property,
+ Puppet::Parameter,
+ Puppet::Util::Logging,
+ Puppet::Util::Errors,
+ Puppet::Util,
+ Object,
+ RspecPuppetFacts,
+ FastGettext::Translation,
+ PSON::Pure::Generator::GeneratorMethods::Object,
+ JSON::Ext::Generator::GeneratorMethods::Object,
+ Kernel,
+ BasicObject]
|
Run tests:
spec/unit/type/network_config_spec.rb#L85
Puppet::Type::Network_config when validating the attribute value ipaddress using the inet family fails when passed an IPv6 address
Failure/Error: expect { Puppet::Type.type(:network_config).new(name: 'yay', family: :inet, ipaddress: address6) }.to raise_error(%r{not a valid ipv4 address})
expected Exception with message matching /not a valid ipv4 address/ but nothing was raised
|
Run tests:
spec/unit/type/network_config_spec.rb#L96
Puppet::Type::Network_config when validating the attribute value ipaddress using the inet6 family fails when passed an IPv4 address
Failure/Error: expect { Puppet::Type.type(:network_config).new(name: 'yay', family: :inet6, ipaddress: address4) }.to raise_error(%r{not a valid ipv6 address})
expected Exception with message matching /not a valid ipv6 address/ but nothing was raised
|
Loading