Logo: Relish

  1. Sign in

Project: RSpec Core 3.1

RSpec Core 3.1

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. Example groups
  4. Command line
  5. Hooks
  6. Subject
  7. Helper methods
  8. Metadata
  9. Filtering
  10. Configuration
  11. Expectation framework integration
  12. Mock framework integration
  13. Formatters
  14. Spec files
  15. Use rspec-core without rspec-mocks or rspec-expectations
  16. Pending and skipped examples

Last published over 7 years ago by myronmarston.