1.2.3

## How-To - Write a Ruby Spec

This page was machine translated. Please help us improve it.

See How-To - Translate Documentation

Make sure you have read:

- Getting Started
- Specs

Then, follow these steps to write a spec for a Ruby method:

1. Edit a file under `spec/ruby/...`
2. Run `bin/mspec -tr spec/ruby/some/spec_file.rb`
3. Repeat until the spec passes on MatzRuby
4. Commit your changes
5. Use `git format-patch`
6. Create a gist with your patch and link to it in a ticket on the issue tracker at http://github.com/rubinius/rubinius/issues.