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: core_test.rb
    path of file: ./repos/sinja/test/helpers
    
    the code of the file until where you have to start completion: # frozen_string_literal: true
require_relative 'test_helper'

class HelpersApp < MyAppBase
  before do
    env['
    
  def test_halt
    e = assert_raises(Sinja::HttpError) do
      get '/halt', :code=>418, :body=>"I'm a teapot"
    end
    assert_equal 418, e.http_status
    assert_equal "I'm a teapot", e.message
  end