spec/logspot_spec.rb in logspot-0.6.2 vs spec/logspot_spec.rb in logspot-0.6.3

- old
+ new

@@ -2,10 +2,10 @@ describe LoGspot do let(:filename) { File.expand_path('../../tmp/spec.log', __FILE__) } before do - FileUtils.rm(filename) + FileUtils.rm(filename) if File.exists?(filename) end let(:tag_format) { '' } let(:logger) { LoGspot.new(filename, tag_format: tag_format) } let(:read) { -> { File.read(filename) } }