layout | title | previous | previous_url | next | next_url | translated |
---|---|---|---|---|---|---|
doc_es |
How-To - Write a Ruby Spec |
Write a Ticket |
how-to/write-a-ticket |
Fix a Failing Spec |
how-to/fix-a-failing-spec |
true |
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/evanphx/rubinius/issues.