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: account_history_spec.rb
    path of file: ./repos/identity-idp/spec/features
    
    the code of the file until where you have to start completion: require 'rails_helper'

RSpe
    
  def build_account_history
    account_created_event
    gpo_mail_sent_event
    gpo_mail_sent_again_event
    identity_with_link
    identity_without_link
    new_personal_key_event
    password_changed_event
  end