Skip to content

Commit ee464a1

Browse files
committed
Fix Minitest handling of kwargs after update past 5.16.0
Issue was introduced in minitest/minitest@6fecff9 and hack workaround was introduced in minitest/minitest@b8ddc4f I *think* that changing the API make this work w/o the workaround would require a breaking change so we can leave that for later.
1 parent e17cf6e commit ee464a1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/ruby.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,12 @@ jobs:
2626
- rails_5.2_sprockets_3
2727
- rails_5.2_sprockets_4
2828
runs-on: ubuntu-latest
29-
env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
29+
env:
30+
# $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
3031
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
32+
# Workaround b/c upgrading Minitest broke some mocking expectations
33+
# having to do with automatic kwarg splatting
34+
MT_KWARGS_HACK: 1
3135
steps:
3236
- uses: actions/checkout@v3
3337
- uses: actions/setup-node@v3

0 commit comments

Comments
 (0)