You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spec/filewatch/rotate_spec.rb
+4-4
Original file line number
Diff line number
Diff line change
@@ -219,7 +219,7 @@ module FileWatch
219
219
end
220
220
221
221
context"create + rename rotation: when a new logfile is renamed to a path we have seen before but not all content from the previous the file is read"do
222
-
let(:opts){super.merge(
222
+
let(:opts){super().merge(
223
223
:file_chunk_size=>line1.bytesize.succ,
224
224
:file_chunk_count=>1
225
225
)}
@@ -296,7 +296,7 @@ module FileWatch
296
296
end
297
297
298
298
context"copy + truncate rotation: when a logfile is copied to a new path and truncated before the open file is fully read"do
299
-
let(:opts){super.merge(
299
+
let(:opts){super().merge(
300
300
:file_chunk_size=>line1.bytesize.succ,
301
301
:file_chunk_count=>1
302
302
)}
@@ -370,7 +370,7 @@ module FileWatch
370
370
end
371
371
372
372
context"? rotation: when an active file is renamed inside the glob and the reading lags behind"do
373
-
let(:opts){super.merge(
373
+
let(:opts){super().merge(
374
374
:file_chunk_size=>line1.bytesize.succ,
375
375
:file_chunk_count=>2
376
376
)}
@@ -409,7 +409,7 @@ module FileWatch
409
409
end
410
410
411
411
context"? rotation: when a not active file is rotated outside the glob before the file is read"do
0 commit comments