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: cms_helper_test.rb
    path of file: ./repos/comfortable-mexican-sofa/test/helpers
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

require_relative "../test_helper"

class CmsHelperTest < ActionView::TestCase

  include Comfy::CmsHelper

  module TestViewHelpers

    def hello
      "hello"
    end

  end
  ActionView::Base.send :include, TestViewHelpers

  setup do
    # we're simulating instance variables that are present on the view/controller
    @cms_site = comfy_c
    
  def test_cms_site_detect
    site = comfy_cms_sites(:default)
    site.update_column(:path, "/en")
    assert_equal site, cms_site_detect

    site_b = Comfy::Cms::Site.create!(
      label:      "with path",
      identifier: "with-path",
      hostname:   site.hostname,
      path:       "fr"
    )
    request.fullpath = "/fr"
    assert_equal site_b, cms_site_detect

    site_b.update_columns(hostname: "site_b.com", path: "en")
    request.host_with_port  = "site_b.com"
    request.fullpath        = "/en"
    assert_equal site_b, cms_site_detect
  end