From f2cb6ac98baf3e770d4287abb0f6ae36494ea932 Mon Sep 17 00:00:00 2001 From: "benjamin.jessop" Date: Tue, 5 Apr 2022 08:56:09 +1200 Subject: [PATCH] chore: Test --- lib/nitra/ext/cucumber.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/nitra/ext/cucumber.rb b/lib/nitra/ext/cucumber.rb index a78c2fc..d905636 100644 --- a/lib/nitra/ext/cucumber.rb +++ b/lib/nitra/ext/cucumber.rb @@ -5,7 +5,7 @@ module Cucumber # Cucumber's internals insist on using the new keyword # everywhere, we have to monkeypatch it out - CUCUMBER_3 = ::Cucumber::VERSION.chomp.split(/\./).first.to_i >= 3 + CUCUMBER_3 = ::Cucumber::VERSION.chomp.split(/\./).first.to_i == 3 if CUCUMBER_3 require 'cucumber/glue/registry_and_more'