test/unit/bulk_upload_test.rb
def new_attachments_params
    attachments_params(
      [{ title: "Title 1" }, { file: file_fixture("whitepaper.pdf") }],
      [{ title: "Title 2" }, { file: file_fixture("simple.pdf") }],
    )
  end
# Parameters suitable for posting to #create for attachments with new filenames
Parameters suitable for posting to #create for attachments with new filenames
Parameters suitable for posting to #create for attachments with new filenames
def new_attachments_params
    attachments_params(
      [{ title: "Title 1" }, { file: file_fixture("whitepaper.pdf") }],
      [{ title: "Title 2" }, { file: file_fixture("simple.pdf") }],
    )
  end
def new_attachments_params attachments_params ( [ { title : "Title 1" } , { file : file_fixture ( "whitepaper.pdf" ) } ] , [ { title : "Title 2" } , { file : file_fixture ( "simple.pdf" ) } ] , ) end
Parameters suitable for posting to #create for attachments with new filenames
Parameters suitable for posting to #create for attachments with new filenames