replace 'None' project by empty string, fix #440

This commit is contained in:
Carsten Otto 2015-05-10 14:08:20 +02:00
parent d7944c2464
commit a29009d3da
8 changed files with 10 additions and 12 deletions

View file

@ -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