sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
Minitest::Spec::DSL#before
Define a 'before' action. Inherits the way normal methods should. NOTE: +type+ is ignored and is only there to make porting easier. Equivalent to Minitest::Test#setup.
Edit
git clone [email protected]:sonic-pi-net/sonic-pi.git
cd sonic-pi
open app/server/ruby/vendor/minitest-5.18.1/lib/minitest/spec.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Minitest--Spec--DSL-before-for-pr
# Commit to gitgit add app/server/ruby/vendor/minitest-5.18.1/lib/minitest/spec.rbgit commit -m "better docs for Minitest::Spec::DSL#before"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Minitest--Spec--DSL-before-for-pr
hub pull-request
# Celebrate!