Logo: Relish

  1. Sign in

Project: RSpec Core 2.9

RSpec Core 2.9

rspec-core provides the structure for RSpec code examples:

describe Account do
  it "has a balance of zero when first opened" do
    # example code goes here - for more on the 
    # code inside the examples, see rspec-expectations 
    # and rspec-mocks


This documentation is open source, and a work
in progress. If you find it incomplete or confusing, please submit an issue, or, better yet, a pull request.


  1. Upgrade
  2. Changelog
  3. Autotest
  4. Example groups
  5. Command line
  6. Pending
  7. Hooks
  8. Subject
  9. Helper methods
  10. Metadata
  11. Filtering
  12. Configuration
  13. Expectation framework integration
  14. Mock framework integration
  15. Formatters
  16. Spec files

Last published over 7 years ago by .