Based on everydayrailsrspec book.