Update rails to version 6.1.7.6 #5226
Annotations
11 errors and 5 warnings
|
Run rspec tests:
spec/features/studies/edit_study_spec.rb#L25
Edit a study add external customer information
Failure/Error: <%= render_flashes %>
ActionView::Template::Error:
undefined local variable or method `render_flashes' for #<ActionView::Base:0x0000000033fec8>
Did you mean? render_section
|
Run rspec tests:
spec/features/studies/edit_study_spec.rb#L9
Edit a study edit open study
Failure/Error: <%= render_flashes %>
ActionView::Template::Error:
undefined local variable or method `render_flashes' for #<ActionView::Base:0x00000000340288>
Did you mean? render_section
|
Run rspec tests:
spec/features/studies/edit_study_spec.rb#L72
Edit a study with data release strategy displays HuMFre approval number when Not Applicable (Contact Datasharing) is clicked
Failure/Error: <%= render_flashes %>
ActionView::Template::Error:
undefined local variable or method `render_flashes' for #<ActionView::Base:0x00000000340648>
Did you mean? render_section
|
Run rspec tests:
spec/features/studies/edit_study_spec.rb#L62
Edit a study with data release strategy displays HuMFre approval number when Open (ENA) is clicked
Failure/Error: <%= render_flashes %>
ActionView::Template::Error:
undefined local variable or method `render_flashes' for #<ActionView::Base:0x000000003409b8>
Did you mean? render_section
|
Run rspec tests:
spec/features/studies/edit_study_spec.rb#L67
Edit a study with data release strategy displays HuMFre approval number when Managed (EGA) is clicked
Failure/Error: <%= render_flashes %>
ActionView::Template::Error:
undefined local variable or method `render_flashes' for #<ActionView::Base:0x00000000340d28>
Did you mean? render_section
|
Run rspec tests:
spec/features/studies/edit_study_spec.rb#L41
Edit a study when data release strategy is Not Applicable does not error when setting strategy to Open
Failure/Error: <%= render_flashes %>
ActionView::Template::Error:
undefined local variable or method `render_flashes' for #<ActionView::Base:0x000000003410c0>
Did you mean? render_section
|
Run rspec tests:
spec/heron/factories/event_spec.rb#L31
Heron::Factories::Event is not valid without seed
Failure/Error: broadcast_event.errors.each { |key, value| errors.add(key, value) }
ActiveSupport::DeprecationException:
DEPRECATION WARNING: Enumerating ActiveModel::Errors as a hash has been deprecated.
In Rails 6.1, `errors` is an array of Error objects,
therefore it should be accessed by a block with a single block
parameter like this:
person.errors.each do |error|
attribute = error.attribute
message = error.message
end
You are passing a block expecting two parameters,
so the old hash behavior is simulated. As this is deprecated,
this will result in an ArgumentError in Rails 7.0.
(called from check_broadcast_event at /home/runner/work/sequencescape/sequencescape/app/heron/factories/event.rb:32)
|
Run rspec tests:
spec/heron/factories/event_spec.rb#L49
Heron::Factories::Event with event type BroadcastEvent::PlateCherrypicked::EVENT_TYPE when missing one of the required subjects is not valid
Failure/Error: broadcast_event.errors.each { |key, value| errors.add(key, value) }
ActiveSupport::DeprecationException:
DEPRECATION WARNING: Enumerating ActiveModel::Errors as a hash has been deprecated.
In Rails 6.1, `errors` is an array of Error objects,
therefore it should be accessed by a block with a single block
parameter like this:
person.errors.each do |error|
attribute = error.attribute
message = error.message
end
You are passing a block expecting two parameters,
so the old hash behavior is simulated. As this is deprecated,
this will result in an ArgumentError in Rails 7.0.
(called from check_broadcast_event at /home/runner/work/sequencescape/sequencescape/app/heron/factories/event.rb:32)
|
Run rspec tests:
spec/heron/factories/event_spec.rb#L71
Heron::Factories::Event#save does not persist if missing any required info
Failure/Error: broadcast_event.errors.each { |key, value| errors.add(key, value) }
ActiveSupport::DeprecationException:
DEPRECATION WARNING: Enumerating ActiveModel::Errors as a hash has been deprecated.
In Rails 6.1, `errors` is an array of Error objects,
therefore it should be accessed by a block with a single block
parameter like this:
person.errors.each do |error|
attribute = error.attribute
message = error.message
end
You are passing a block expecting two parameters,
so the old hash behavior is simulated. As this is deprecated,
this will result in an ArgumentError in Rails 7.0.
(called from check_broadcast_event at /home/runner/work/sequencescape/sequencescape/app/heron/factories/event.rb:32)
|
Run rspec tests:
spec/features/tag_layout_template_spec.rb#L15
Create a new tag layout template create a new layout template from a tag group
Failure/Error: <%= render_flashes %>
ActionView::Template::Error:
undefined local variable or method `render_flashes' for #<ActionView::Base:0x00000000361988>
Did you mean? render_section
|
Run rspec tests:
spec/models/plate_purpose/additional_input_spec.rb#L22
PlatePurpose::AdditionalInput#state_of with no requests is pending
Skipped: Temporarily skipped with xit
|
Run rspec tests:
spec/models/plate_purpose/additional_input_spec.rb#L32
PlatePurpose::AdditionalInput#state_of with ancestors with no library requests is pending
Skipped: Temporarily skipped with xit
|
Run rspec tests:
spec/models/plate_purpose/additional_input_spec.rb#L43
PlatePurpose::AdditionalInput#state_of with ancestors with library requests is pending
Skipped: Temporarily skipped with xit
|
Run rspec tests:
spec/models/plate_purpose/additional_input_spec.rb#L53
PlatePurpose::AdditionalInput#state_of with no ancestors with no library requests is pending
Skipped: Temporarily skipped with xit
|
Run rspec tests:
spec/models/plate_purpose/additional_input_spec.rb#L64
PlatePurpose::AdditionalInput#state_of with no ancestors with library requests is passed
Skipped: Temporarily skipped with xit
|
Loading