resolve/refinerycms-page-images — pull request #50 by phiggins (2012-01-21 23:04:59+00:00)
Title: Refactor extension

The impetus for this was to make it so deleting wouldn't iterate over the image_pages collection in order to do deletion, but once I got in there I decided to clean everything up.

TODO: the tests defined for Refinery::Page apply equally to Refinery::Blog::Post, so ideally that would be turned into a shared_example set that worked for both. Since the tests don't even run against Refinery::Blog::Post I decided to not bother.