Disable a rubocop alert
All checks were successful
Run unit tests / rubocop (pull_request) Successful in 3m14s
Run unit tests / check-licenses (pull_request) Successful in 5m37s
Run unit tests / copyright_notice (pull_request) Successful in 7m13s
Run unit tests / unit_tests (pull_request) Successful in 30m24s
Run unit tests / build-static-assets (pull_request) Successful in 2h21m47s
All checks were successful
Run unit tests / rubocop (pull_request) Successful in 3m14s
Run unit tests / check-licenses (pull_request) Successful in 5m37s
Run unit tests / copyright_notice (pull_request) Successful in 7m13s
Run unit tests / unit_tests (pull_request) Successful in 30m24s
Run unit tests / build-static-assets (pull_request) Successful in 2h21m47s
This commit is contained in:
parent
7d8ecfd0e3
commit
0502bc4552
@ -8,7 +8,7 @@ class TableSimulatorJob < ApplicationJob
|
|||||||
MIN_PER_TABLE = 8
|
MIN_PER_TABLE = 8
|
||||||
MAX_PER_TABLE = 10
|
MAX_PER_TABLE = 10
|
||||||
|
|
||||||
def perform(wedding_id, tables_arrangement_id)
|
def perform(wedding_id, tables_arrangement_id) # rubocop:disable Metrics/MethodLength
|
||||||
Rails.logger.info "Starting table simulation #{tables_arrangement_id} for wedding #{wedding_id}"
|
Rails.logger.info "Starting table simulation #{tables_arrangement_id} for wedding #{wedding_id}"
|
||||||
ActsAsTenant.with_tenant(Wedding.find(wedding_id)) do
|
ActsAsTenant.with_tenant(Wedding.find(wedding_id)) do
|
||||||
engine = VNS::Engine.new
|
engine = VNS::Engine.new
|
||||||
|
Loading…
x
Reference in New Issue
Block a user