How-To - Write a Ruby Spec
Make sure you have read:
Then, follow these steps to write a spec for a Ruby method:
- Edit a file under
spec/ruby/...
- Run
bin/mspec -tr spec/ruby/some/spec_file.rb
- Repeat until the spec passes on MatzRuby
- Commit your changes
- Use
git format-patch
- Create a gist with your patch and link to it in a ticket on the issue
tracker at http://github.com/rubinius/rubinius/issues.