|
|
|
|
@ -56,7 +56,7 @@ describe "rake core:full_import", type: :task do
|
|
|
|
|
expect(data_protection_service).to receive(:create_data_protection_confirmations).with("dataprotect") |
|
|
|
|
expect(rent_period_service).to receive(:create_organisation_rent_periods).with("rent-period") |
|
|
|
|
expect(lettings_logs_service).to receive(:create_logs).with("logs") |
|
|
|
|
expect(sales_logs_service).to receive(:create_logs).with("logs") |
|
|
|
|
# expect(sales_logs_service).to receive(:create_logs).with("logs") |
|
|
|
|
|
|
|
|
|
task.invoke(fixture_path) |
|
|
|
|
end |
|
|
|
|
@ -76,7 +76,7 @@ describe "rake core:full_import", type: :task do
|
|
|
|
|
expect(data_protection_service).to receive(:create_data_protection_confirmations) |
|
|
|
|
expect(rent_period_service).to receive(:create_organisation_rent_periods) |
|
|
|
|
expect(lettings_logs_service).to receive(:create_logs) |
|
|
|
|
expect(sales_logs_service).to receive(:create_logs) |
|
|
|
|
# expect(sales_logs_service).to receive(:create_logs) |
|
|
|
|
|
|
|
|
|
expect(scheme_service).not_to receive(:create_schemes) |
|
|
|
|
expect(location_service).not_to receive(:create_scheme_locations) |
|
|
|
|
|