Precedente: Write a Ticket Su: Indice Successivo: Fix a Failing Spec

How-To - Write a Ruby Spec

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.
Precedente: Write a Ticket Su: Indice Successivo: Fix a Failing Spec

Tweet at @rubinius on Twitter or email community@rubini.us. Please report Rubinius issues to our issue tracker.