using each_with_object instead of each
using named subjects in error spec
added #path method to reduce duplication in error classes
Merge pull request #10 from danieldevries/rspec-named-subjects

Rspec named subjects