Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 688 Bytes

write-a-ruby-spec.markdown

File metadata and controls

24 lines (20 loc) · 688 Bytes
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:

  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/evanphx/rubinius/issues.