Documentation from relish about
I found it so cool how rspec:
- execute all the expectation in the group. That way, we can run through all the expectation within one
example. It makes sense for all the independent
expectationto be executed all, so we can have a better understanding of the test.
- Also, the way rspec groups and displays error.
A nice way to test multiple objects with slightly different behaviors. Their same behaviours can be grouped into