mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-06 17:28:50 +01:00
Add Tag#label method
This commit is contained in:
parent
f56fc1945c
commit
95a4ed6e4a
4 changed files with 10 additions and 2 deletions
|
|
@ -41,5 +41,9 @@ class TagTest < ActiveSupport::TestCase
|
|||
|
||||
assert tag.name == "strip spaces"
|
||||
end
|
||||
|
||||
def test_tag_label
|
||||
assert_equal 'one-two-three', Tag.new(:name => 'one two three').label
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue