summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorNoah Kantrowitz <noah@coderanger.net>2017-05-25 18:44:20 -0500
committerNoah Kantrowitz <noah@coderanger.net>2017-05-25 18:44:20 -0500
commit2f01f85409541aa660fbbda1af9929b4e0da10f7 (patch)
tree308a6fc68bfe9f9c8a868df8b42ba5d766c2764a /spec
parent9cc61a93c3bff5c62a3d354e0d3216de01eb9f0b (diff)
downloadchef-2f01f85409541aa660fbbda1af9929b4e0da10f7.tar.gz
Typo and a test for that typo.
Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
Diffstat (limited to 'spec')
-rw-r--r--spec/unit/version_string_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/unit/version_string_spec.rb b/spec/unit/version_string_spec.rb
index 11bb7d07a5..48594cbd48 100644
--- a/spec/unit/version_string_spec.rb
+++ b/spec/unit/version_string_spec.rb
@@ -25,6 +25,8 @@ describe Chef::VersionString do
it { is_expected.to be == '1.2.3' }
it { is_expected.to be < 'abc' }
it { is_expected.to be > '0' }
+ it { is_expected.to eq described_class.new('1.2.3') }
+ it { is_expected.to be == described_class.new('1.2.3') }
context 'with !=' do
subject { described_object != '1.2.4' }