Browse Source

refactor: remove redundant lines

CLDC-3196-update-bu-resources-link
natdeanlewissoftwire 11 months ago
parent
commit
b5ca456612
  1. 1
      spec/requests/bulk_upload_lettings_logs_controller_spec.rb
  2. 1
      spec/requests/bulk_upload_sales_logs_controller_spec.rb

1
spec/requests/bulk_upload_lettings_logs_controller_spec.rb

@ -45,7 +45,6 @@ RSpec.describe BulkUploadLettingsLogsController, type: :request do
describe "GET /lettings-logs/bulk-upload-logs/guidance" do describe "GET /lettings-logs/bulk-upload-logs/guidance" do
context "when not in crossover period" do context "when not in crossover period" do
it "shows guidance page with correct title" do it "shows guidance page with correct title" do
Timecop.freeze(2022, 1, 1) do Timecop.freeze(2022, 1, 1) do
get "/lettings-logs/bulk-upload-logs/guidance?form%5Byear%5D=2022", params: {} get "/lettings-logs/bulk-upload-logs/guidance?form%5Byear%5D=2022", params: {}

1
spec/requests/bulk_upload_sales_logs_controller_spec.rb

@ -45,7 +45,6 @@ RSpec.describe BulkUploadSalesLogsController, type: :request do
describe "GET /sales-logs/bulk-upload-logs/guidance" do describe "GET /sales-logs/bulk-upload-logs/guidance" do
context "when not in crossover period" do context "when not in crossover period" do
it "shows guidance page with correct title" do it "shows guidance page with correct title" do
Timecop.freeze(2022, 1, 1) do Timecop.freeze(2022, 1, 1) do
get "/sales-logs/bulk-upload-logs/guidance?form%5Byear%5D=2022", params: {} get "/sales-logs/bulk-upload-logs/guidance?form%5Byear%5D=2022", params: {}

Loading…
Cancel
Save