Browse Source

More realistic spec file

pull/84/head
baarkerlounger 4 years ago
parent
commit
b26552f405
  1. BIN
      spec/fixtures/files/2021_22_lettings_bulk_upload.xlsx
  2. 2
      spec/requests/bulk_upload_controller_spec.rb

BIN
spec/fixtures/files/2021_22_lettings_bulk_upload.xlsx vendored

Binary file not shown.

2
spec/requests/bulk_upload_controller_spec.rb

@ -27,7 +27,7 @@ RSpec.describe BulkUploadController, type: :request do
end end
it "creates case logs for each row in the template" do it "creates case logs for each row in the template" do
expect { subject }.to change(CaseLog, :count).by(2) expect { subject }.to change(CaseLog, :count).by(9)
end end
it "redirects to the case log index page" do it "redirects to the case log index page" do

Loading…
Cancel
Save