diff options
author | Noah Kantrowitz <noah@coderanger.net> | 2017-05-25 18:44:20 -0500 |
---|---|---|
committer | Noah Kantrowitz <noah@coderanger.net> | 2017-05-25 18:44:20 -0500 |
commit | 2f01f85409541aa660fbbda1af9929b4e0da10f7 (patch) | |
tree | 308a6fc68bfe9f9c8a868df8b42ba5d766c2764a /spec | |
parent | 9cc61a93c3bff5c62a3d354e0d3216de01eb9f0b (diff) | |
download | chef-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.rb | 2 |
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' } |