diff options
author | Bryan McLellan <btm@opscode.com> | 2012-05-13 18:20:30 -0700 |
---|---|---|
committer | Bryan McLellan <btm@opscode.com> | 2012-05-13 18:20:30 -0700 |
commit | 1613d532c755be5954751c6cc0321d3e87c35123 (patch) | |
tree | 89866a4768a0ad26861a3ea1a6faed0c91e34844 | |
parent | 20bdd4475a1420abaa4333e43caa8ec7bfa5f7fa (diff) | |
download | ohai-1613d532c755be5954751c6cc0321d3e87c35123.tar.gz |
OHAI-370: fix warnings about spaces before parans
-rw-r--r-- | spec/ohai/plugins/linux/network_spec.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/ohai/plugins/linux/network_spec.rb b/spec/ohai/plugins/linux/network_spec.rb index 41e48230..b5ce675c 100644 --- a/spec/ohai/plugins/linux/network_spec.rb +++ b/spec/ohai/plugins/linux/network_spec.rb @@ -613,8 +613,8 @@ ROUTE_N @ohai['network']['interfaces']['eth0']['routes'].should include Mash.new( :destination => "10.116.201.0/24", :proto => "kernel", :family =>"inet" ) @ohai['network']['interfaces']['foo:veth0@eth0']['routes'].should include Mash.new( :destination => "192.168.212.0/24", :proto => "kernel", :src => "192.168.212.2", :family =>"inet" ) @ohai['network']['interfaces']['eth0']['routes'].should include Mash.new( :destination => "fe80::/64", :metric => "256", :proto => "kernel", :family => "inet6" ) - @ohai['network']['interfaces']['eth0.11']['routes'].should include Mash.new ( :destination => "1111:2222:3333:4444::/64", :metric => "1024", :family => "inet6" ) - @ohai['network']['interfaces']['eth0.11']['routes'].should include Mash.new ( :destination => "default", :via => "1111:2222:3333:4444::1", :metric => "1024", :family => "inet6") + @ohai['network']['interfaces']['eth0.11']['routes'].should include Mash.new( :destination => "1111:2222:3333:4444::/64", :metric => "1024", :family => "inet6" ) + @ohai['network']['interfaces']['eth0.11']['routes'].should include Mash.new( :destination => "default", :via => "1111:2222:3333:4444::1", :metric => "1024", :family => "inet6") end describe "when there isn't a source field in route entries " do @@ -965,9 +965,9 @@ IP_ROUTE it "doesn't add bogus routes" do @ohai._require_plugin("network") @ohai._require_plugin("linux::network") - @ohai['network']['interfaces']['eth0']['routes'].should_not include Mash.new ( :destination => "10.116.201.0/26", :proto => "kernel", :family => "inet", :via => "10.116.201.39" ) - @ohai['network']['interfaces']['eth0']['routes'].should_not include Mash.new ( :destination => "10.118.19.0/26", :proto => "kernel", :family => "inet", :via => "10.118.19.39" ) - @ohai['network']['interfaces']['eth0']['routes'].should_not include Mash.new ( :destination => "1111:2222:3333:4444::/64", :family => "inet6", :metric => "1024" ) + @ohai['network']['interfaces']['eth0']['routes'].should_not include Mash.new( :destination => "10.116.201.0/26", :proto => "kernel", :family => "inet", :via => "10.116.201.39" ) + @ohai['network']['interfaces']['eth0']['routes'].should_not include Mash.new( :destination => "10.118.19.0/26", :proto => "kernel", :family => "inet", :via => "10.118.19.39" ) + @ohai['network']['interfaces']['eth0']['routes'].should_not include Mash.new( :destination => "1111:2222:3333:4444::/64", :family => "inet6", :metric => "1024" ) end it "doesn't set ipaddress" do |