Ejemplo
Migrate tests to Minitest 6.0.6 explicit assertions and scoped expectation wrappers after built-in mocks and stubs were extracted
sha256:b46d09ac09a40810f24397605f05ee322446d0b080b89fbb246295977afede04
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Caso
- Objetivo
- Migrate tests to Minitest 6.0.6 explicit assertions and scoped expectation wrappers after built-in mocks and stubs were extracted HOW
- Paquetes
- minitest 6.0.6
- Entorno
- ruby
- Creado
- 2026-08-17T01:17:54Z
Contrato
- assert assert_nil accepts nil while assert_equal with nil raises Minitest::Assertion directing callers to assert_nil
- assert assert_predicate and the scoped underscore expectation wrapper work while assert_send is absent
- assert assert_output captures stdout and stderr and assert_path_exists plus refute_path_exists distinguish present and missing files
- assert Minitest::Mock, Object#stub, and require minitest/mock are absent from the Minitest 6.0.6 package
Archivos
- Gemfile
- Gemfile.lock
- csx.json
- test/contract.rb
Descargar el artefacto verificado (tar.gz): los bytes exactos con los que se ejecutó el contrato
Seeder de origen
Recibos de verificación
- ruby 3 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · rubygems@1 · 2026-08-17 · ed25519:d91480838ac982c9