Skip to content

feature: add open attachment without download #3990

feature: add open attachment without download

feature: add open attachment without download #3990

Triggered via pull request February 21, 2025 14:35
Status Failure
Total duration 45s
Artifacts

lint.yml

on: pull_request
lint  /  ...  /  standardrb
32s
lint / runner / standardrb
lint  /  ...  /  erb-lint
5s
lint / runner / erb-lint
lint  /  check-eslint-config
6s
lint / check-eslint-config
lint  /  ...  /  eslint
0s
lint / runner / eslint
Fit to window
Zoom out
Zoom in

Annotations

6 errors
lint / runner / standardrb: spec/system/avo/open_field_attachment_spec.rb#L5
[rubocop] reported by reviewdog 🐶 [Corrected] Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping. Raw Output: spec/system/avo/open_field_attachment_spec.rb:5:36: C: [Corrected] Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping. let!(:cv_file) { Rails.root.join('app', 'assets', 'pdfs', 'cv_sample.pdf') } ^^^^^
lint / runner / standardrb: spec/system/avo/open_field_attachment_spec.rb#L5
[rubocop] reported by reviewdog 🐶 [Corrected] Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping. Raw Output: spec/system/avo/open_field_attachment_spec.rb:5:43: C: [Corrected] Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping. let!(:cv_file) { Rails.root.join('app', 'assets', 'pdfs', 'cv_sample.pdf') } ^^^^^^^^
lint / runner / standardrb: spec/system/avo/open_field_attachment_spec.rb#L5
[rubocop] reported by reviewdog 🐶 [Corrected] Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping. Raw Output: spec/system/avo/open_field_attachment_spec.rb:5:53: C: [Corrected] Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping. let!(:cv_file) { Rails.root.join('app', 'assets', 'pdfs', 'cv_sample.pdf') } ^^^^^^
lint / runner / standardrb: spec/system/avo/open_field_attachment_spec.rb#L5
[rubocop] reported by reviewdog 🐶 [Corrected] Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping. Raw Output: spec/system/avo/open_field_attachment_spec.rb:5:61: C: [Corrected] Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping. let!(:cv_file) { Rails.root.join('app', 'assets', 'pdfs', 'cv_sample.pdf') } ^^^^^^^^^^^^^^^
lint / runner / standardrb: spec/system/avo/open_field_attachment_spec.rb#L9
[rubocop] reported by reviewdog 🐶 [Corrected] Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping. Raw Output: spec/system/avo/open_field_attachment_spec.rb:9:54: C: [Corrected] Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping. user.cv.attach(io: File.open(cv_file), filename: 'cv_sample.pdf', content_type: 'application/pdf') ^^^^^^^^^^^^^^^
lint / runner / standardrb: spec/system/avo/open_field_attachment_spec.rb#L9
[rubocop] reported by reviewdog 🐶 [Corrected] Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping. Raw Output: spec/system/avo/open_field_attachment_spec.rb:9:85: C: [Corrected] Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping. user.cv.attach(io: File.open(cv_file), filename: 'cv_sample.pdf', content_type: 'application/pdf') ^^^^^^^^^^^^^^^^^