kytrinyx/approvals — pull request #5 by jeremyruppel (2012-05-23 20:40:35+00:00)
Title: Directory namer

Me again :). I was trying to write a bunch of approval tests for a gem I was creating recently, but the approval filenames started to get hella long and apparently there is a filename length restriction for files included in gems (who knew?).

This feature branch adds a new namer that stores approvals in nested directories based on the rspec example metadata descriptions. The namer to use is now also configurable through RSpec, but the RSpecNamer is still the default. Let me know what you think!