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: create_application_spec.rb
    path of file: ./repos/pakyow/spec/smoke
    
    the code of the file until where you have to start completion: require "smoke_helper"

RSpec.describe "creating an application in an existing project", :repeatable, smoke: true do
  before do
    setup_default_application
    cli_run "create:application foo --path /foo"
    setup_created_application; boot
  end

  def setup_default_application
    # intentionally blank
  end

    
  def setup_created_application
    root_controller_path = project_path.join("apps/bar/backend/controllers/root.rb")
    FileUtils.mkdir_p(root_controller_path.dirname)

    File.open(root_controller_path, "w+") do |file|
      file.write <<~SOURCE
        controller do
          default do
            send "bar"
          end
        end
      SOURCE
    end
  end