You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: windows_architecture_helper_spec.rb
    path of file: ./repos/chef/spec/unit/mixin
    
    the code of the file until where you have to start completion: #
# Author:: Adam Edwards (<adamed@chef.io>)
# Copyright:: Copyright (c) Chef Software Inc.
# License:: Apache License, Version
    
  def with_node_architecture_combinations
    @valid_architectures.each do |node_architecture|
      new_node = Chef::Node.new
      new_node.default["kernel"] = {}
      new_node.default["kernel"][:machine] = node_architecture.to_s

      @valid_architectures.each do |architecture|
        yield new_node, architecture if block_given?
      end
    end
  end