From 3a8d59af3d98f14ad23006b44ca60d01ee7f6120 Mon Sep 17 00:00:00 2001 From: Matijs van Zuijlen Date: Fri, 15 Nov 2024 09:48:54 +0100 Subject: [PATCH] Fix @requires-platform-windows hook Aruba no longer depends on FFI. The Cucumber hooks now use Cucumber's platform detection. --- features/step_definitions/hooks.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/step_definitions/hooks.rb b/features/step_definitions/hooks.rb index 026af59b..a114982b 100644 --- a/features/step_definitions/hooks.rb +++ b/features/step_definitions/hooks.rb @@ -57,7 +57,7 @@ end Before '@requires-platform-windows' do - next if FFI::Platform.windows? + next if Cucumber::WINDOWS skip_this_scenario end