From 813e6a3e5883c4c551c7d191cbd813a45b21ea1b Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Tue, 1 Sep 2020 09:58:57 -0700 Subject: Remove a redundant spec loop We were looping over the same object twice here. Signed-off-by: Tim Smith --- spec/unit/provider/route_spec.rb | 2 -- 1 file changed, 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 -- cgit v1.2.1