require "rails_helper" RSpec.describe BulkUploadController, type: :request do let(:url) { "/case_logs/bulk_upload" } let(:organisation) { FactoryBot.create(:organisation) } before do allow(Organisation).to receive(:find).with(107_242).and_return(organisation) end describe "GET #show" do before do get url, params: {} end it "returns a success response" do expect(response).to be_successful end it "returns a page with a file upload form" do expect(response.body).to match(/