From 9bc7a83802349ecce547d83b37d708a42063190d Mon Sep 17 00:00:00 2001 From: Raphael Reitzig <4246780+reitzig@users.noreply.github.com> Date: Tue, 27 Jun 2023 22:52:16 +0200 Subject: [PATCH] fix(test): Replace `blank?` Which had apparently been provided by a dependency, but not anymore. --- test/features/step_definitions/general.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/features/step_definitions/general.rb b/test/features/step_definitions/general.rb index ca994db..55ce681 100644 --- a/test/features/step_definitions/general.rb +++ b/test/features/step_definitions/general.rb @@ -38,7 +38,7 @@ end And('the output contains {string}') do |content| output = @response[:stdout] - .select { |line| !line.blank? } + .select { |line| !line.strip.empty? } .map { |line| line.strip } expect(output).to include(content) end