sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
Mocha::Hooks#mocha_verify
Verifies that all mock expectations have been met (only for use by authors of test libraries). This is equivalent to a series of "assertions". This method should be called at the end of each individual test, before it has been determined whether or not the test has passed.
Edit
git clone [email protected]:sonic-pi-net/sonic-pi.git
cd sonic-pi
open app/server/ruby/vendor/mocha-1.1.0/lib/mocha/hooks.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Mocha--Hooks-mocha_verify-for-pr
# Commit to gitgit add app/server/ruby/vendor/mocha-1.1.0/lib/mocha/hooks.rbgit commit -m "better docs for Mocha::Hooks#mocha_verify"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Mocha--Hooks-mocha_verify-for-pr
hub pull-request
# Celebrate!