Logo: Relish

  1. Sign in

Project: RSpec Core 2.7

RSpec Core 2.7

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. Autotest
  3. Example groups
  4. Command line
  5. Pending
  6. Hooks
  7. Subject
  8. Helper methods
  9. Metadata
  10. Filtering
  11. Configuration
  12. Expectation framework integration
  13. Mock framework integration
  14. Formatters
  15. Spec files

Last published over 7 years ago by .