feature: add open attachment without download #3990
lint.yml
on: pull_request
lint
/
...
/
standardrb
32s
lint
/
...
/
erb-lint
5s
lint
/
check-eslint-config
6s
lint
/
...
/
eslint
0s
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')
^^^^^^^^^^^^^^^^^
|