diff options
author | Claire McQuin <claire@getchef.com> | 2014-10-29 15:14:22 -0700 |
---|---|---|
committer | Claire McQuin <claire@getchef.com> | 2014-10-29 15:59:04 -0700 |
commit | 5fed7a65a2f024d964ecf2de1bcf2911cf8a600c (patch) | |
tree | 14cc6968e4fe4fd2485c0211088b25c645a80a4b /spec/unit/monkey_patches/string_spec.rb | |
parent | b92c309b0f1aa0837f76ab89d6c81c36076ceca9 (diff) | |
download | chef-5fed7a65a2f024d964ecf2de1bcf2911cf8a600c.tar.gz |
Update to RSpec 3.
Diffstat (limited to 'spec/unit/monkey_patches/string_spec.rb')
-rw-r--r-- | spec/unit/monkey_patches/string_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/monkey_patches/string_spec.rb b/spec/unit/monkey_patches/string_spec.rb index 8c6710b38e..74e3753229 100644 --- a/spec/unit/monkey_patches/string_spec.rb +++ b/spec/unit/monkey_patches/string_spec.rb @@ -27,8 +27,8 @@ describe String do ch = num.chr ch.force_encoding('ASCII-8BIT') if ch.respond_to? :force_encoding - ch.ord.should be_a_kind_of(Fixnum) - ch.ord.should == num + expect(ch.ord).to be_a_kind_of(Fixnum) + expect(ch.ord).to eq(num) end end |