Toot

Written by James :ruby: on 2024-11-28 at 15:08

Mocha v2.6.1 released

The following will still pass despite an erroneous deprecation warning displayed in v2.6.0 suggesting otherwise:

foo.expects(:bar).never

foo.expects(:bar).once

foo.bar

https://rubygems.org/gems/mocha/versions/2.6.1

[#]ruby #testing #mock #mocking

=> More informations about this toot | View the thread | More toots from floehopper@ruby.social

Mentions

=> View DavidStosik@famichiki.jp profile

Tags

=> View ruby tag | View testing tag | View mock tag | View mocking tag

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113561206681966283
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
223.943321 milliseconds
Gemini-to-HTML Time
0.553004 milliseconds

This content has been proxied by September (ba2dc).