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: sql_spy_test.rb
    path of file: ./repos/sql-spy/test
    
    the code of the file until where you have to start completion: require "minitest/autorun"
requ
    
  def test_single_insert_query
    queries = SqlSpy.track do
      User.create(name: "mario")
    end

    assert_instance_of Array, queries
    assert_equal 3, queries.count

    assert_match %r{(begin transaction|begin)}i, queries[0].sql

    assert queries[1].insert?
    assert_equal "User", queries[1].model_name

    assert_match %r{(end transaction|commit)}i, queries[2].sql
  end