diff options
author | Max Horbul <max@gorbul.net> | 2016-03-18 11:09:40 -0700 |
---|---|---|
committer | Max Horbul <max@gorbul.net> | 2016-03-18 11:09:40 -0700 |
commit | b122bcc27e3399269983200a754b71625a4d8e09 (patch) | |
tree | 07fd781ff99f69c0a298a2fb3ba2ed1a2344cccf | |
parent | 1abc84f86f254e6461909a7c2eeb104162bcb84a (diff) | |
download | mixlib-log-b122bcc27e3399269983200a754b71625a4d8e09.tar.gz |
clean up warnings related to the old rspec syntax
-rw-r--r-- | spec/mixlib/log_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/mixlib/log_spec.rb b/spec/mixlib/log_spec.rb index 31695f5..9557fda 100644 --- a/spec/mixlib/log_spec.rb +++ b/spec/mixlib/log_spec.rb @@ -163,7 +163,7 @@ describe Mixlib::Log do ObjectSpace.each_object(File) do |f| opened_files_count_after += 1 unless f.closed? end - opened_files_count_after.should eq(opened_files_count_before + 1) + expect(opened_files_count_after).to eq(opened_files_count_before + 1) end it "should not close IO logger" do @@ -179,7 +179,7 @@ describe Mixlib::Log do ObjectSpace.each_object(File) do |f| opened_files_count_after += 1 unless f.closed? end - opened_files_count_after.should eq(opened_files_count_before + 1) + expect(opened_files_count_after).to eq(opened_files_count_before + 1) end end |