Logo: Relish

  1. Sign up
  2. 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
  end
end

Issues

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.

Topics

  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 2 years ago by dchelimsky.