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: generators_spec.rb
    path of file: ./repos/rails_event_store/rails_event_store/spec
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

require "spec_helper"
require_relative "../lib/generators/rails_event_store/bounded_context_generator"

module RailsEventStore
  module Generators
    ::RSpec.describe BoundedContextGenerator do
      ::RSpec::Matchers.define :match_content do |expected|
        match do |actual|
          @matcher = ::RSpec::Matche
    
      def expect_identity_access_spec_helper
        expect("identity_access/spec/spec_helper.rb").to match_content(<<~EOF)
          # frozen_string_literal: true

          ENV["RAILS_ENV"] = "test"

          $LOAD_PATH.push File.expand_path("../../../spec", __FILE__)
          require File.expand_path("../../../config/environment", __FILE__)
          require File.expand_path("../../../spec/rails_helper", __FILE__)

          require_relative "../lib/identity_access"
        EOF
      end