mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-22 23:24:07 +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
b87326acd7
commit
02d4afb724
4 changed files with 68 additions and 11 deletions
|
|
@ -11,6 +11,6 @@ class TaggingTest < ActiveSupport::TestCase
|
|||
|
||||
tagging.destroy
|
||||
|
||||
assert_nil Tag.where(:name => "hello").first
|
||||
assert_nil Tag.where(:name => "hello").first, "Tag should be destroyed when last use in tagging was removed"
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue