mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-19 08:40:12 +01:00
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:
parent
5cbc0b26c8
commit
55bf457740
4 changed files with 9 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue