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: geolocation_test.rb
    path of file: ./repos/workarea/core/test/lib/workarea
    
    the code of the file until where you have to start completion: require 'test_helper'

module Workarea
  class GeolocationTest < TestCase
    def test_country_uses_the_env_value
      location = Geolocation.new({ 'HTT
    
    def test_region_defaults_to_request_data
      request = mock('Geocoder::Request', data: { 'region_code' => 'PA' })
      location = Geolocation.new
      location.stubs(:request).returns(request)

      assert_equal('PA', location.region)
    end