Allow projects to have commas in their name.

This removes the validation that checks to make sure there is no comma
in the name, and updates the tests to match.
This commit is contained in:
Matt Rogers 2011-09-01 21:05:19 -05:00
parent 5cbc0b26c8
commit 55bf457740
4 changed files with 9 additions and 8 deletions

View file

@ -48,8 +48,8 @@ class ProjectsControllerTest < TodoContainerControllerTestBase
assert_ajax_create_increments_count 'My New Project'
end
def test_create_with_comma_in_name_does_not_increment_number_of_projects
assert_ajax_create_does_not_increment_count 'foo,bar'
def test_create_with_comma_in_name_increments_number_of_projects
assert_ajax_create_increments_count 'foo,bar'
end
def test_todo_state_is_project_hidden_after_hiding_project