update schema #9156
Annotations
9 errors and 2 warnings
Run rspec tests:
spec/controllers/studies_controller_spec.rb#L186
StudiesController#update with poly_metadata options with existing poly_metadatum with empty value does not create poly_metadatum
Failure/Error: let(:update_params) { params.merge('id' => study.id).merge('poly_metadata' => { option_key => option_value }) }
NoMethodError:
undefined method `id' for nil:NilClass
|
Run rspec tests:
spec/controllers/studies_controller_spec.rb#L166
StudiesController#update with poly_metadata options with existing poly_metadatum with specified value creates poly_metadatum with the value
Failure/Error: let(:update_params) { params.merge('id' => study.id).merge('poly_metadata' => { option_key => option_value }) }
NoMethodError:
undefined method `id' for nil:NilClass
|
Run rspec tests:
spec/controllers/studies_controller_spec.rb#L139
StudiesController#update with poly_metadata options without existing poly_metadatum with empty value does not create poly_metadatum
Failure/Error: poly_metadatum = study.poly_metadatum_by_key(option_key)
NoMethodError:
undefined method `poly_metadatum_by_key' for nil:NilClass
|
Run rspec tests:
spec/controllers/studies_controller_spec.rb#L121
StudiesController#update with poly_metadata options without existing poly_metadatum with specified value creates poly_metadatum with the value
Failure/Error: poly_metadatum = study.poly_metadatum_by_key(option_key)
NoMethodError:
undefined method `poly_metadatum_by_key' for nil:NilClass
|
Run rspec tests:
spec/controllers/studies_controller_spec.rb#L52
StudiesController#create with valid options works
|
Run rspec tests:
spec/controllers/studies_controller_spec.rb#L57
StudiesController#create with valid options changes Study.count by 1
Failure/Error: expect(Study.count - @study_count).to eq(1)
expected: 1
got: 0
(compared using ==)
|
Run rspec tests:
spec/controllers/studies_controller_spec.rb#L89
StudiesController#create with poly_metadata options with specified value creates poly_metadatum with the value
Failure/Error: poly_metadatum = Study.last.poly_metadatum_by_key(option_key)
NoMethodError:
undefined method `poly_metadatum_by_key' for nil:NilClass
|
Run rspec tests:
spec/controllers/studies_controller_spec.rb#L98
StudiesController#create with poly_metadata options with empty value does not create poly_metadatum
Failure/Error: poly_metadatum = Study.last.poly_metadatum_by_key(option_key)
NoMethodError:
undefined method `poly_metadatum_by_key' for nil:NilClass
|
Run rspec tests
Process completed with exit code 1.
|
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading