fuel-library/deployment/puppet/l23network/spec/functions
Alex Schultz ac715526ff Fix tests for l23network
This change includes an update to rspec-puppet ~> 2.2 and adjusting the
two tests that fail under 2.2 but not 2.1. I believe these failures are
related to https://github.com/rodjek/rspec-puppet/issues/266

The get_network_role_properly was previously passing because the return
value was not be properly check. In the code we are returning eth0 as
the interface for the admin network role and not nil.

The get_transformation_property was previously passing because the
return value was not correctly checked. Based on the code, the value for
eth2 should have been 1024 while the value for eth3 would have been nil.
This change updates the eth2 check with 1024 and adds a test case for
eth3.

Change-Id: I7b87d02d4c702dde68ecd7f4abcd304e686fa795
Closes-Bug: #1509056
2015-10-22 14:53:49 -05:00
..
array_or_string_to_array__spec.rb Fix deprecated method for rspec. 2015-08-05 20:22:25 +03:00
array_part__spec.rb Allow setup more than one IP address per interface 2015-09-22 18:33:46 -05:00
check_cidrs__spec.rb prepare env for use rspec for l23network 2015-03-21 16:56:30 +03:00
cidr_to_ipaddr__spec.rb prepare env for use rspec for l23network 2015-03-21 16:56:30 +03:00
cidr_to_netmask__spec.rb prepare env for use rspec for l23network 2015-03-21 16:56:30 +03:00
get_default_gateways__spec.rb Add get_default_gateways() parser function 2015-07-02 13:38:28 +03:00
get_network_role_property__phys_dev__spec.rb Adjust MTU for child interfaces if it possible 2015-05-18 17:56:21 -07:00
get_network_role_property__spec.rb Fix tests for l23network 2015-10-22 14:53:49 -05:00
get_pair_of_jack_names__spec.rb Add 'vlan_ids' property to the l2_patch resource 2015-08-07 10:41:51 +03:00
get_patch_name__spec.rb Spec-tests for l23network::l2::port and l23network::l2::patch 2015-04-06 13:07:23 +00:00
get_route_resource_name__spec.rb Fix l23_stored config for additional routes 2015-04-24 20:21:33 +03:00
get_transformation_property__spec.rb Fix tests for l23network 2015-10-22 14:53:49 -05:00
sanitize_bool_in_hash__spec.rb prepare env for use rspec for l23network 2015-03-21 16:56:30 +03:00