summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-09-01 09:58:57 -0700
committerTim Smith <tsmith84@gmail.com>2020-09-08 19:24:14 -0700
commit813e6a3e5883c4c551c7d191cbd813a45b21ea1b (patch)
treefadc484b53a41928b8756b2104874a8723a7f299
parent80b2115913042a65ceceff72cd5ab3faa7bdc7f4 (diff)
downloadchef-remove_loops.tar.gz
Remove a redundant spec loopremove_loops
We were looping over the same object twice here. Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--spec/unit/provider/route_spec.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/unit/provider/route_spec.rb b/spec/unit/provider/route_spec.rb
index ad5223a04f..d39ca8b155 100644
--- a/spec/unit/provider/route_spec.rb
+++ b/spec/unit/provider/route_spec.rb
@@ -230,8 +230,6 @@ describe Chef::Provider::Route do
@provider.generate_config
end
- end
- %w{ rhel fedora amazon }.each do |platform_family|
it "should write a default route file on #{platform_family} platform family" do
@node.automatic_attrs[:platform_family] = platform_family