Apply suggestions from code review #5749
Annotations
3 errors and 4 warnings
|
test
Process completed with exit code 1.
|
|
test:
spec/other/i18n_spec.rb#L29
I18n files are normalized
Failure/Error: expect(non_normalized).to be_empty, error_message
The following files need to be normalized:
config/locales/en/controllers/tasks.yml
config/locales/de/controllers/tasks.yml
Please run `i18n-tasks normalize` to fix these.
|
|
test:
spec/services/task_service/push_external_spec.rb#L79
TaskService::PushExternal#execute when response status is success when faraday throws an error is expected to eql "Connection to \"testlink\" failed. Remote host unreachable."
Failure/Error: it { is_expected.to eql I18n.t('tasks.export_external_confirm.server_error', account_link: account_link.name) }
expected: "Connection to \"testlink\" failed. Remote host unreachable."
got: "Connection to "testlink" failed. Remote host unreachable."
(compared using eql?)
|
|
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
|
|
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#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#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
|