We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24b8a33 commit 7187fcbCopy full SHA for 7187fcb
spec/snaky_hash/version_spec.rb
@@ -1,7 +1,9 @@
1
# frozen_string_literal: true
2
3
RSpec.describe SnakyHash::Version do
4
- it "has a version number" do
5
- expect(described_class::VERSION).not_to be_nil
+ it_behaves_like "a Version module", described_class
+
6
+ it "is greater than 1.0.0" do
7
+ expect(Gem::Version.new(described_class) >= Gem::Version.new("1.0.0")).to(be(true))
8
end
9
0 commit comments