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