diff options
-rw-r--r-- | .rubocop_todo.yml | 1 | ||||
-rw-r--r-- | test/application_system_test_case.rb | 4 |
2 files changed, 1 insertions, 4 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 72acf4841..5087f0747 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1679,7 +1679,6 @@ Style/WhileUntilModifier: - 'lib/redmine/unified_diff.rb' - 'lib/redmine/utils.rb' - 'lib/redmine/wiki_formatting/textile/redcloth3.rb' - - 'test/application_system_test_case.rb' # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, MinSize, WordRegex. diff --git a/test/application_system_test_case.rb b/test/application_system_test_case.rb index a2f3cc2d3..55bb6d37e 100644 --- a/test/application_system_test_case.rb +++ b/test/application_system_test_case.rb @@ -72,9 +72,7 @@ class ApplicationSystemTestCase < ActionDispatch::SystemTestCase # Returns the path of the download file def downloaded_file(filename='*') Timeout.timeout(5) do - while downloaded_files(filename).empty? - sleep 0.2 - end + sleep 0.2 while downloaded_files(filename).empty? end downloaded_files(filename).first end |