fix #1429 by correctly handling tags with dots

This was a very old regression. This used to work before the rails 3.2 upgrade... Added tests 
to prevent future unnoticed breakage
This commit is contained in:
Reinier Balt 2013-06-03 15:17:38 +02:00
parent 40d0610b5d
commit 9a6ab05eef
4 changed files with 68 additions and 10 deletions

View file

@ -11,6 +11,6 @@ class TaggingTest < ActiveSupport::TestCase
tagging.destroy
assert_nil Tag.find_by_name("hello")
assert_nil Tag.find_by_name("hello"), "Tag should be destroyed when last use in tagging was removed"
end
end