Testing

RSpec Situations

RSpec DSL for creating situations and combining them for testing  

Adds a super simple method to describe RSpec situations in terms of smaller situation blocks.

Define a situation with the ‘situation’ method. Add a symbol key to identify the situation, and add an optional description if you like, and pass in a block creating the situation.

more»