Add specs for and fix bugs in Taggable module (wincent.dev, 719595d)

This commit adds specs for the three public methods of the Taggable module, corrects a couple of minor bugs discovered during testing (unexpected behaviour of the split method, and typo in a variable name), as well as setting up a destroy trigger for taggings which should go away when a parent record is deleted.

Signed-off-by: Greg Hurrell <greg@hurrell.net>

← Add notes to Taggable spec (wincent.dev, 7d06fda)
Refactoring (directory organization) for acts_as_taggable (wincent.dev, 36d2f80) →

All snippets