Browse Source

lint

pull/2454/head
Kat 2 years ago
parent
commit
570d1bff4f
  1. 4
      spec/requests/OrganisationsController/organisations_controller_rent_periods_spec.rb

4
spec/requests/OrganisationsController/organisations_controller_rent_periods_spec.rb

@ -117,14 +117,14 @@ RSpec.describe OrganisationsController, type: :request do
context "when a user creates a log with a certain rent period while another user is on the edit page" do
let(:period_to_not_delete) { "4" }
let(:period_to_create) { "5" }
let(:coordinator) { create(:user, :data_coordinator, organisation:)}
let(:coordinator) { create(:user, :data_coordinator, organisation:) }
let(:params) do
{
"organisation": {
name: organisation.name,
rent_periods: [period_to_create],
all_rent_periods: [period_to_not_delete],
}
},
}
end

Loading…
Cancel
Save