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: options_test.rb
    path of file: ./repos/occams-record/test/eager_loading
    
    the code of the file until where you have to start completion: require 'test_helper'

class EagerLoadingOptionsTest < Minitest::Test
  include TestHelpers

  def setup
    DatabaseCleaner.start
  end

  def teardown
    DatabaseClean
    
  def test_eager_load_as_a_custom_name
    widgets = OccamsRecord.
      query(Widget.order(:name)).
      eager_load(:category, as: :cat).
      run

    assert_equal [
      "Widget A: Foo",
      "Widget B: Foo",
      "Widget C: Foo",
      "Widget D: Bar",
      "Widget E: Bar",
      "Widget F: Bar",
      "Widget G: Bar",
    ], widgets.map { |w|
      "#{w.name}: #{w.cat.name}"
    }
  end