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

require "shoes/swt"

Shoes.load_backend("swt").initialize_backend

RSpec.configure do |config|
  config.before(:each) do
    
    
def with_redraws
  allow(Shoes::Swt::RedrawingAspect).to receive(:new).and_call_original
  aspect = Shoes::Swt::RedrawingAspect.new swt_app, double
  begin
    yield
  ensure
    aspect.remove_redraws
  end
end