rails/activestorage/test
Jonathan Hefner 28e976b6aa Update JavascriptPackageTest for Active Storage
Prior to this commit, if `app/javascript/activestorage/index.js`
contained a syntax error, `JavascriptPackageTest` would still pass
because `system "yarn build"` would simply return `false` and the
compiled output would not change.  This commit adds `exception: true` to
the `system` call so that an error will be raised if `yarn build` fails.

Also, since 6c96e1cd7bf3b7089c9b59b2ebeb35bfa6fb3f88, Active Storage
compiles an additional `app/assets/javascripts/activestorage.esm.js`
file.  This commit adds an assertion for that file as well.
2023-11-05 15:13:33 -06:00
..
analyzer Fix VideoAnalyzerTest with FFmpeg 6.0 2023-10-31 11:53:54 -05:00
controllers Add expires_at option to ActiveStorage::Blob#signed_id 2023-09-26 21:08:20 +00:00
database Fix ActiveStorage tests for load_defaults 7.0 2021-06-21 07:44:33 +09:00
dummy Remove config.public_file_server.enabled from generators 2023-11-03 11:34:37 -05:00
fixtures Reduce file size of tiff image in Active Storage 2021-08-12 11:37:44 -03:00
jobs Keep VariantWithRecord API consistent with Variant 2023-08-23 19:16:39 +00:00
models Allow accepting service as a proc 2023-11-01 21:20:55 -05:00
previewer Active Storage: raise PreviewError when a preview cannot be generated 2021-02-26 14:06:52 -05:00
service Enable Minitest/LiteralAsActualArgument 2023-09-13 10:09:32 +09:00
template Extend audio_tag and video_tag to accept Active Storage attachments. 2022-03-14 02:05:37 -03:00
urls Make vips the default variant processor for new apps 2021-07-14 14:26:43 -03:00
engine_test.rb Add config option to not touch records 2023-10-20 14:41:57 -04:00
fixture_set_test.rb Enable Minitest/LiteralAsActualArgument 2023-09-13 10:09:32 +09:00
javascript_package_test.rb Update JavascriptPackageTest for Active Storage 2023-11-05 15:13:33 -06:00
migrations_test.rb Respect Active Record's primary_key_type in Active Storage migrations 2021-06-11 11:51:07 +03:00
test_helper.rb Stop building AS::Notifications::Event manually 2023-09-29 12:34:23 -04:00