Skip to content

Update media_attachment_spec.rb #64

Update media_attachment_spec.rb

Update media_attachment_spec.rb #64

Triggered via push September 22, 2023 06:04
Status Failure
Total duration 2m 30s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

lint-ruby.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 errors
lint: app/models/media_attachment.rb#L116
[Correctable] Style/WordArray: Use %w or %W for an array of words. (https://rubystyle.guide#percent-w)
lint: app/models/status.rb#L286
Layout/LineLength: Line is too long. [360/320] (https://rubystyle.guide#max-line-length)
lint: app/serializers/rest/status_serializer.rb#L165
[Correctable] Layout/TrailingWhitespace: Trailing whitespace detected. (https://rubystyle.guide#no-trailing-whitespace)
lint: app/validators/poll_validator.rb#L12
[Correctable] Style/NumericPredicate: Use poll.options.size.positive? instead of poll.options.size > 0. (https://rubystyle.guide#predicate-methods)
lint: app/validators/poll_validator.rb#L12
[Correctable] Style/ZeroLengthPredicate: Use !empty? instead of size > 0.
lint: spec/models/media_attachment_spec.rb#L152
[Correctable] Layout/TrailingWhitespace: Trailing whitespace detected. (https://rubystyle.guide#no-trailing-whitespace)
lint
Process completed with exit code 1.