You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not sure is supposed be the purpose of the test_require_individual_library_files test case. I assume it should test that all files has correctly specified their requires. If that is the case, then this test works just when executed using bundle exec, but fails to catch, that the lib/sprockets/erb_processor.rb fails this condition. IOW this fails:
$ ruby -Ilib lib/sprockets/erb_processor.rb
lib/sprockets/erb_processor.rb:4:in `<main>': uninitialized constant Sprockets (NameError)
class Sprockets::ERBProcessor
^^^^^^^^^
Did you mean? Process
while it works with bundle exec.
IMHO, the test case should ensure, that the files are required even without Bundler. It does not impact me in any real life example, so I'm just reporting.
The text was updated successfully, but these errors were encountered:
I am not sure is supposed be the purpose of the test_require_individual_library_files test case. I assume it should test that all files has correctly specified their requires. If that is the case, then this test works just when executed using
bundle exec
, but fails to catch, that thelib/sprockets/erb_processor.rb
fails this condition. IOW this fails:while it works with
bundle exec
.IMHO, the test case should ensure, that the files are required even without Bundler. It does not impact me in any real life example, so I'm just reporting.
The text was updated successfully, but these errors were encountered: