mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-07 17:58:50 +01:00
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:
parent
40d0610b5d
commit
9a6ab05eef
4 changed files with 68 additions and 10 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue