Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: Corey Hemminger <[email protected]>
  • Loading branch information
Stromweld committed Jun 18, 2024
1 parent 48020be commit 01cb220
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions spec/version_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 01cb220

Please sign in to comment.