From d43e0bafb450078a27352dde42346374b03cd43e Mon Sep 17 00:00:00 2001 From: Jack Walker Date: Mon, 18 May 2020 16:11:47 +1000 Subject: [PATCH] Missing closing paren from last commit. --- spec/beef/core/main/autorun_engine/autorun_engine_spec.rb | 2 +- spec/beef/core/main/handlers/browser_details_handler_spec.rb | 2 +- spec/beef/extensions/websocket_hooked_browser_spec.rb | 2 +- spec/beef/modules/debug/test_beef_debugs_spec.rb | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/beef/core/main/autorun_engine/autorun_engine_spec.rb b/spec/beef/core/main/autorun_engine/autorun_engine_spec.rb index c0f63168e..b06d13981 100644 --- a/spec/beef/core/main/autorun_engine/autorun_engine_spec.rb +++ b/spec/beef/core/main/autorun_engine/autorun_engine_spec.rb @@ -105,7 +105,7 @@ RSpec.describe 'AutoRunEngine Test', :run_on_browserstack => true do print_info "Exception Message: #{exception.message}" if exception.message.include?('Failed to open TCP connection') || exception.class == Selenium::WebDriver::Error::UnknownError || - (exception.class == NoMethodError && exception.message.include?('>') + (exception.class == NoMethodError && exception.message.include?('>')) print_info 'Encountered BrowserStack false negative connection timeout issue' print_info 'Exiting with success code to prevent failing full test suite' print_info 'It would be advisable to rerun this test' diff --git a/spec/beef/core/main/handlers/browser_details_handler_spec.rb b/spec/beef/core/main/handlers/browser_details_handler_spec.rb index 4f9978167..2aa43f0da 100644 --- a/spec/beef/core/main/handlers/browser_details_handler_spec.rb +++ b/spec/beef/core/main/handlers/browser_details_handler_spec.rb @@ -102,7 +102,7 @@ RSpec.describe 'Browser Details Handler', :run_on_browserstack => true do print_info "Exception Message: #{exception.message}" if exception.message.include?('Failed to open TCP connection') || exception.class == Selenium::WebDriver::Error::UnknownError || - (exception.class == NoMethodError && exception.message.include?('>') + (exception.class == NoMethodError && exception.message.include?('>')) print_info 'Encountered BrowserStack false negative connection timeout issue' print_info 'Exiting with success code to prevent failing full test suite' print_info 'It would be advisable to rerun this test' diff --git a/spec/beef/extensions/websocket_hooked_browser_spec.rb b/spec/beef/extensions/websocket_hooked_browser_spec.rb index 303241dff..3ec961580 100644 --- a/spec/beef/extensions/websocket_hooked_browser_spec.rb +++ b/spec/beef/extensions/websocket_hooked_browser_spec.rb @@ -93,7 +93,7 @@ RSpec.describe 'Browser hooking with Websockets', :run_on_browserstack => true d print_info "Exception Message: #{exception.message}" if exception.message.include?('Failed to open TCP connection') || exception.class == Selenium::WebDriver::Error::UnknownError || - (exception.class == NoMethodError && exception.message.include?('>') + (exception.class == NoMethodError && exception.message.include?('>')) print_info 'Encountered BrowserStack false negative connection timeout issue' print_info 'Exiting with success code to prevent failing full test suite' print_info 'It would be advisable to rerun this test' diff --git a/spec/beef/modules/debug/test_beef_debugs_spec.rb b/spec/beef/modules/debug/test_beef_debugs_spec.rb index 6f366f11a..f50d2b891 100644 --- a/spec/beef/modules/debug/test_beef_debugs_spec.rb +++ b/spec/beef/modules/debug/test_beef_debugs_spec.rb @@ -101,7 +101,7 @@ RSpec.describe 'BeEF Debug Command Modules:', :run_on_browserstack => true do print_info "Exception Message: #{exception.message}" if exception.message.include?('Failed to open TCP connection') || exception.class == Selenium::WebDriver::Error::UnknownError || - (exception.class == NoMethodError && exception.message.include?('>') + (exception.class == NoMethodError && exception.message.include?('>')) print_info 'Encountered BrowserStack false negative connection timeout issue' print_info 'Exiting with success code to prevent failing full test suite' print_info 'It would be advisable to rerun this test'