summaryrefslogtreecommitdiff
path: root/spec/mixlib/log_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/mixlib/log_spec.rb')
-rw-r--r--spec/mixlib/log_spec.rb4
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