refactor: passes when matching condition returns false in condition_spec.rb
refactor: does not pass when matching condition returns nil in condition_spec.rb