From 01cb220e8fd25ad37bae3223a560b99afd163d01 Mon Sep 17 00:00:00 2001 From: Corey Hemminger Date: Tue, 18 Jun 2024 12:26:47 -0500 Subject: [PATCH] test Signed-off-by: Corey Hemminger --- spec/version_spec.rb | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/spec/version_spec.rb b/spec/version_spec.rb index 3b7967d..20d4fc5 100644 --- a/spec/version_spec.rb +++ b/spec/version_spec.rb @@ -23,17 +23,9 @@ expect(defined?(Kitchen::Driver::WORKFLOW_TESTING_VERSION)).to be_truthy end - it "has a STRING constant" do - expect(Kitchen::Driver::WORKFLOW_TESTING_VERSION.const_defined?(:STRING)).to be_truthy - end - - it "has a CURRENT constant" do - expect(Kitchen::Driver::WORKFLOW_TESTING_VERSION.const_defined?(:CURRENT)).to be_truthy - end - it "compares versions correctly" do - version_1 = Kitchen::Driver::WORKFLOW_TESTING_VERSION::CURRENT - version_2 = Kitchen::Driver::WORKFLOW_TESTING_VERSION::CURRENT + version_1 = Kitchen::Driver::WORKFLOW_TESTING_VERSION + version_2 = Kitchen::Driver::WORKFLOW_TESTING_VERSION expect(version_1).to eq(version_2) end end