-
-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
Trying to run shoulda-context 2.0.0 test suite with Bundler 4.0, I observe the following test error:
1) Failure:
TestFrameworkDetectionTest#test_: TestFrameworkDetection should detect Minitest 5.x when it is loaded standalone. [test/shoulda/test_framework_detection_test.rb:31]:
Expected: ["Minitest::Test"]
Actual: ["Resolving dependencies..."]
After analysis, there seems to be some issue with Bundler 4.0 always printing the "Resolving dependencies..." message.
Nevertheless, the point is that the test case could be more robust, because I can reproduce the issue also with Bundler 2.6.9 the following way:
$ bundle -v
Bundler version 2.6.9
$ rm gemfiles/test.gemfile.lock
$ TEST_FRAMEWORK=minitest BUNDLE_GEMFILE=gemfiles/test.gemfile ruby -Ilib:test -rsingleton -e 'require "shoulda/test_framework_detection_test.rb"'
Run options: --seed 64350
# Running:
F
Finished in 0.136952s, 7.3018 runs/s, 7.3018 assertions/s.
1) Failure:
TestFrameworkDetectionTest#test_: TestFrameworkDetection should detect Minitest 5.x when it is loaded standalone. [test/shoulda/test_framework_detection_test.rb:31]:
Expected: ["Minitest::Test"]
Actual: ["Resolving dependencies..."]
1 runs, 1 assertions, 1 failures, 0 errors, 0 skips
Metadata
Metadata
Assignees
Labels
No labels