From 4ed2e895835da22bcd7a61a38952e94963bc390a Mon Sep 17 00:00:00 2001 From: kares Date: Wed, 9 Jun 2021 13:12:06 +0200 Subject: [PATCH] Test: a try that actually re-tries on `RSpec::Expectations::ExpectationNotMetError` --- spec/inputs/file_read_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/inputs/file_read_spec.rb b/spec/inputs/file_read_spec.rb index 54c3685..5aef58c 100644 --- a/spec/inputs/file_read_spec.rb +++ b/spec/inputs/file_read_spec.rb @@ -338,7 +338,7 @@ sincedb_content = File.read(sincedb_path).strip expect( sincedb_content ).to_not be_empty - Stud.try(3.times) do + try(3) do sleep(1.5) # > sincedb_clean_after sincedb_content = File.read(sincedb_path).strip