Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
README.txt
diffing_spec.rb
failing_autogenerated_docstrings_example.rb
failure_in_after.rb
failure_in_before.rb
mocking_example.rb
mocking_with_flexmock.rb
mocking_with_mocha.rb
mocking_with_rr.rb
partial_mock_example.rb
predicate_example.rb
raising_example.rb
spec_helper.rb
syntax_error_example.rb
team_spec.rb
timeout_behaviour.rb

README.txt

"Why have failing examples?", you might ask.

They allow us to see failure messages. RSpec wants to provide meaningful and helpful failure messages. The failures in this directory not only provide you a way of seeing the failure messages, but they provide RSpec's own specs a way of describing what they should look like and ensuring they stay correct.

To see the types of messages you can expect, stand in this directory and run:

../bin/spec ./*.rb
Something went wrong with that request. Please try again.