mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-17 07:40:12 +01:00
replace 'None' project by empty string, fix #440
This commit is contained in:
parent
d7944c2464
commit
a29009d3da
8 changed files with 10 additions and 12 deletions
|
|
@ -55,8 +55,8 @@ class AttributeHandlerTest < ActiveSupport::TestCase
|
|||
h[:project_name] = "A project"
|
||||
assert h.project_specified_by_name?, "project is specified by name"
|
||||
|
||||
h[:project_name] = "None"
|
||||
assert !h.project_specified_by_name?, "None is special token to specify nil-project"
|
||||
h[:project_name] = ""
|
||||
assert !h.project_specified_by_name?, "Blank string is special token to specify nil-project"
|
||||
end
|
||||
|
||||
def test_context_specified_by_name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue