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: transfer_system_spec.rb
    path of file: ./repos/human-essentials/spec/system
    
    the code of the file until where you have to start completion: RSpec.describe "Transfer management", type: :system do
  before do
    sign_in(@user)
  end
  let!(:url_prefix) { "/#{@organization.to_param}" }
  let(:item) { create(:item) }

  def create_transfer(amount, from_name, to_name)
    visit url_prefix + "/transfers"
    click_link "New Transfer"
    within "form#new_transfer" do
      select from_name, from: "From storage
    
  def create_transfer(amount, from_name, to_name)
    visit url_prefix + "/transfers"
    click_link "New Transfer"
    within "form#new_transfer" do
      select from_name, from: "From storage location"
      select to_name, from: "To storage location"
      fill_in "Comment", with: "something"
      select item.name, from: "transfer_line_items_attributes_0_item_id"
      fill_in "transfer_line_items_attributes_0_quantity", with: amount
    end
    click_on "Save"
  end