diff options
Diffstat (limited to 'spec/unit/util/file_helper_spec.rb')
-rw-r--r-- | spec/unit/util/file_helper_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/util/file_helper_spec.rb b/spec/unit/util/file_helper_spec.rb index 88caeb5f..8fc542f0 100644 --- a/spec/unit/util/file_helper_spec.rb +++ b/spec/unit/util/file_helper_spec.rb @@ -26,7 +26,7 @@ end describe "Ohai::Util::FileHelper" do let(:file_helper) { FileHelperMock.new } - before(:each) do + before do allow(file_helper).to receive(:name).and_return("Fakeclass") logger = instance_double("Mixlib::Log::Child", trace: nil, debug: nil, warn: nil) allow(file_helper).to receive(:logger).and_return(logger) |