diff --git a/test/integration/todo_xml_api_test.rb b/test/integration/todo_xml_api_test.rb index c7892490..f1128c5e 100644 --- a/test/integration/todo_xml_api_test.rb +++ b/test/integration/todo_xml_api_test.rb @@ -49,6 +49,42 @@ class TodoXmlApiTest < ActionController::IntegrationTest assert_response :success assert_equal @user.todos.count, old_count + 1 end + + def test_post_create_todo_with_dependencies + old_count = @user.todos.count + authenticated_post_xml_to_todo_create " + + this will succeed 2 + 10 + 4 + + 12 + + + 12 + +" + + assert_response :success + assert_equal @user.todos.count, old_count + 1 + end + + def test_post_create_todo_with_tags + old_count = @user.todos.count + authenticated_post_xml_to_todo_create " + + this will succeed 2 + 10 + 4 + + starred + + " + + puts @response.body + assert_response :success + assert_equal @user.todos.count, old_count + 1 + end def test_post_create_todo_with_wrong_project_and_context_id authenticated_post_xml_to_todo_create "this will fail-16-11"