Skip to content
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
..
Failed to load latest commit information.
command_line
configuration
example_groups
expectation_framework_integration
filtering
formatters
helper_methods
hooks
metadata
mock_framework_integration `c.mock_framework = :foo` => `c.mock_with :foo` Apr 25, 2015
pending_and_skipped_examples
spec_files
step_definitions
subject
support
.nav
README.md
clear_examples.feature
core_standalone.feature

README.md

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.

Something went wrong with that request. Please try again.