summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCooper Lees <me@cooperlees.com>2020-06-24 12:54:55 -0700
committerCooper Lees <me@cooperlees.com>2020-06-24 12:55:37 -0700
commit0ca82454ebb63778f6c4a7781b19928a49293e96 (patch)
tree0bd3461a7308cde93849d6dcec48c6854f96a25b
parentd83afc7244cf63be9f27cb424ba754245c2ecbcf (diff)
downloadohai-0ca82454ebb63778f6c4a7781b19928a49293e96.tar.gz
Add spaces on rspec expected hashes
Signed-off-by: Cooper Lees <me@cooperlees.com>
-rw-r--r--spec/unit/plugins/linux/network_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/plugins/linux/network_spec.rb b/spec/unit/plugins/linux/network_spec.rb
index f10e3e88..c384b9b0 100644
--- a/spec/unit/plugins/linux/network_spec.rb
+++ b/spec/unit/plugins/linux/network_spec.rb
@@ -1512,8 +1512,8 @@ describe Ohai::System, "Linux Network Plugin" do
it "expect an IPv6 next hop and not keyword inet6" do
expect(plugin["network"]["interfaces"]["eth0"]["routes"]).to eq(
[
- {"destination"=>"default", "family"=>"inet", "metric" => "69", "via"=>"fe80::69"},
- {"destination"=>"fe80::/64", "family"=>"inet6", "metric"=>"256", "proto"=>"kernel"},
+ { "destination" => "default", "family" => "inet", "metric" => "69", "via" => "fe80::69" },
+ { "destination" => "fe80::/64", "family" => "inet6", "metric" => "256", "proto" => "kernel" },
]
)
end