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: step_helpers.rb
    path of file: ./repos/shoulda-matchers/spec/support/acceptance/helpers
    
    the code of the file until where you have to start completion: require_relative 'file_he
    
    def configure_routes
      write_file 'config/routes.rb', <<-FILE
        Rails.application.routes.draw do
          resources :examples, only: :index
        end
      FILE
    end