Bump rubocop from 1.71.0 to 1.71.2 #5339
Annotations
1 error and 8 warnings
lint
Process completed with exit code 1.
|
lint:
app/helpers/application_helper.rb#L62
[rubocop] reported by reviewdog 🐶
Use anonymous block forwarding.
Raw Output:
app/helpers/application_helper.rb:62:25: C: Naming/BlockForwarding: Use anonymous block forwarding.
|
lint:
app/helpers/application_helper.rb#L62
[rubocop] reported by reviewdog 🐶
Use anonymous block arguments forwarding (`&`).
Raw Output:
app/helpers/application_helper.rb:62:25: C: Style/ArgumentsForwarding: Use anonymous block arguments forwarding (`&`).
|
lint:
app/helpers/application_helper.rb#L64
[rubocop] reported by reviewdog 🐶
Use anonymous block forwarding.
Raw Output:
app/helpers/application_helper.rb:64:69: C: Naming/BlockForwarding: Use anonymous block forwarding.
|
lint:
app/helpers/application_helper.rb#L64
[rubocop] reported by reviewdog 🐶
Use anonymous block arguments forwarding (`&`).
Raw Output:
app/helpers/application_helper.rb:64:69: C: Style/ArgumentsForwarding: Use anonymous block arguments forwarding (`&`).
|
test:
spec/services/proforma_service/import_task_spec.rb#L56
ProformaService::ImportTask#execute when task with same uuid exists in db creates a predecessor for task
Failure/Error: expect { import_proforma_task }.to change { task.reload.predecessor }.from(nil).to(be_an(Task))
NoMethodError:
undefined method 'predecessor' for an instance of Task
|
test:
spec/services/proforma_service/import_task_spec.rb#L74
ProformaService::ImportTask#execute when task with same uuid exists in db when user does not own task when user is an author of task creates a new task
Failure/Error: before { task.authors << user }
NoMethodError:
undefined method 'authors' for an instance of Task
|
test:
spec/services/proforma_service/import_task_spec.rb#L82
ProformaService::ImportTask#execute when task with same uuid exists in db when user does not own task when user is an author of task creates a predecessor for task
Failure/Error: before { task.authors << user }
NoMethodError:
undefined method 'authors' for an instance of Task
|
test:
spec/services/proforma_service/import_task_spec.rb#L78
ProformaService::ImportTask#execute when task with same uuid exists in db when user does not own task when user is an author of task changes existing task
Failure/Error: before { task.authors << user }
NoMethodError:
undefined method 'authors' for an instance of Task
|