diff options
author | Corey Hemminger <hemminger@hotmail.com> | 2023-05-08 13:36:01 -0500 |
---|---|---|
committer | Corey Hemminger <hemminger@hotmail.com> | 2023-05-08 13:36:01 -0500 |
commit | 58dfbca65ac8fedae6c66cb4cbfdcec97fe42fcb (patch) | |
tree | 667e65caf99a0cf90a727886de2be0985c660679 | |
parent | d89e87c1fdf3823d64ee89195531706d0b492a77 (diff) | |
download | chef-58dfbca65ac8fedae6c66cb4cbfdcec97fe42fcb.tar.gz |
remove eol spec testsStromweld-patch-1
Signed-off-by: Corey Hemminger <hemminger@hotmail.com>
-rw-r--r-- | spec/unit/client_spec.rb | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/spec/unit/client_spec.rb b/spec/unit/client_spec.rb index ae11fd9793..b947b50f58 100644 --- a/spec/unit/client_spec.rb +++ b/spec/unit/client_spec.rb @@ -384,22 +384,6 @@ describe Chef::Client do end end - describe "eol release warning" do - it "warns when running an EOL release" do - stub_const("Chef::VERSION", 15) - allow(Time).to receive(:now).and_return(Time.new(2021, 5, 1, 5)) - expect(logger).to receive(:warn).with(/This release of.*became end of life \(EOL\) on May 1st 2021/) - client.warn_if_eol - end - - it "does not warn when running an non-EOL release" do - stub_const("Chef::VERSION", 15) - allow(Time).to receive(:now).and_return(Time.new(2021, 4, 31)) - expect(logger).to_not receive(:warn).with(/became end of life/) - client.warn_if_eol - end - end - describe "authentication protocol selection" do context "when FIPS is disabled" do before do |