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
bin/mspec -tr spec/ruby/some/spec_file.rb
- Repeat until the spec passes on MatzRuby
- Commit your changes
- Open a pull request.
If you are also implemented the method, feel free to do that
together in a single pull request but make sure you have separate
commits for the specs and code.