mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-21 00:16:09 +01:00
Merge pull request #150 from kytrinyx/fix-failing-tag-test
Find tag by lowercase name in tag test
This commit is contained in:
commit
4f6e6e3e4d
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ class TagTest < ActiveSupport::TestCase
|
|||
tag = Tag.find_or_create_by_name("UPPER")
|
||||
assert !tag.new_record?
|
||||
|
||||
upper = Tag.find_by_name("UPPER")
|
||||
upper = Tag.find_by_name("upper")
|
||||
assert_not_nil upper
|
||||
assert upper.name == "upper"
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue