-
-
Notifications
You must be signed in to change notification settings - Fork 631
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better documentation for test helpers, check config messages #1072
Conversation
494e4c2
to
6c4ecde
Compare
* Throw if configuration.generated_assets_dir specified, and using webpacker, and if that doesn't match the public_output_path. * Otherwise, warn if generated_assets_dir is specified * Fix the setup for tests for spec/dummy so they automatically rebuild by correctly setting the source_path in the webpacker.yml * Updated documentation for the testing setup.
6c4ecde
to
44a8a11
Compare
Review status: 0 of 15 files reviewed at latest revision, all discussions resolved, some commit checks broke. lib/react_on_rails/configuration.rb, line 40 at r1 (raw file):
Should be Comments from Reviewable |
Review status: 0 of 15 files reviewed at latest revision, all discussions resolved, some commit checks broke. lib/react_on_rails/configuration.rb, line 40 at r1 (raw file): Previously, Judahmeek (Judah Meek) wrote…
I'll fix! Comments from Reviewable |
4d751ea
to
dc5657a
Compare
Reviewed 10 of 15 files at r1, 12 of 12 files at r2, 1 of 1 files at r3. lib/react_on_rails/configuration.rb, line 25 at r3 (raw file):
is there a test for this new method? lib/react_on_rails/utils.rb, line 9 at r3 (raw file):
what about using lib/react_on_rails/webpacker_utils.rb, line 7 at r3 (raw file):
instead of writing comments here what about having a spec with this info? In the spec we could see if returning a full path, pathname, etc. Easier to see future errors when upgrading webpacker too. lib/react_on_rails/webpacker_utils.rb, line 14 at r3 (raw file):
remove comment after upgrading 3.4.3? Comments from Reviewable |
added some tests Review status: all files reviewed at latest revision, 4 unresolved discussions. lib/react_on_rails/configuration.rb, line 25 at r3 (raw file): Previously, mapreal19 (Mario Pérez) wrote…
Yes, added one! lib/react_on_rails/utils.rb, line 9 at r3 (raw file): Previously, mapreal19 (Mario Pérez) wrote…
good idea! but didn't change much, but one method name. lib/react_on_rails/webpacker_utils.rb, line 7 at r3 (raw file): Previously, mapreal19 (Mario Pérez) wrote…
Done. lib/react_on_rails/webpacker_utils.rb, line 14 at r3 (raw file): Previously, mapreal19 (Mario Pérez) wrote…
Done. Comments from Reviewable |
Reviewed 13 of 13 files at r4. lib/react_on_rails/utils.rb, line 9 at r3 (raw file): Previously, justin808 (Justin Gordon) wrote…
👍 Comments from Reviewable |
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed. Comments from Reviewable |
webpacker, and if that doesn't match the public_output_path.
by correctly setting the source_path in the webpacker.yml
This change is