-
Notifications
You must be signed in to change notification settings - Fork 450
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expand network interface mock data for readability && vs. and opscode -> Chef inc. Remove extra spaces in specs Improve debug output Add comments to methods
- Loading branch information
Showing
5 changed files
with
83 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# | ||
# Author:: Caleb Tennis <[email protected]> | ||
# Author:: Chris Read <[email protected]> | ||
# Copyright:: Copyright (c) 2011 Opscode, Inc. | ||
# Copyright:: Copyright (c) 2011-2015 Chef Software, Inc. | ||
# License:: Apache License, Version 2.0 | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
|
@@ -663,7 +663,7 @@ | |
expect(plugin['network']['interfaces']['eth0.11']['routes']).to 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 | ||
describe "when there isn't a source field in route entries" do | ||
before(:each) do | ||
plugin.run | ||
end | ||
|
@@ -798,7 +798,7 @@ | |
end | ||
end | ||
|
||
describe "when there's a source field in a local route entry " do | ||
describe "when there's a source field in a local route entry" do | ||
let(:linux_ip_route) { | ||
'10.116.201.0/24 dev eth0 proto kernel src 10.116.201.76 | ||
192.168.5.0/24 dev eth0 proto kernel src 192.168.5.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters