BenjaminMedia/image_system — pull request #12 by andreorvalho (2014-01-23 12:36:59+00:00)
Title: Features/change image to concern/initial setup

## Status: ready to merge

Responsible: Andre Orvalho
Reported: Andre Orvalho
Relevant to: image module and testing

NOTE: This is the first request of project that will introduce a big change on the gem!

The purpose of this pull request is related to testing. Since it was really hard to recreate the real function of an active record class for a module and most of the image module was based on the usage of active record, I have decide to start moving its functionality to a concern.

This will make sure that:

- The image model now is a concern.(for this tests only active support was necessary)
- The communication system knows how to find height and width
- The dummy app is prepared to be tested as if it was using the gem

Also the file spec/lib/image_system/image_spec.rb, has been all commented out so the tests do not fail, since most of them are being passed to spec/lib/image_system/concerns/image_spec.rb