move to strong_parameters of rails4.

This commit is contained in:
Reinier Balt 2013-05-27 12:44:31 +02:00
parent 049296fd33
commit 671f64b419
24 changed files with 153 additions and 61 deletions

View file

@ -19,7 +19,7 @@ class ContextXmlApiTest < ActionDispatch::IntegrationTest
end
def test_fails_gracefully_with_invalid_xml_format
authenticated_post_xml_to_context_create "<context_name></context_name>"
authenticated_post_xml_to_context_create "<context><name></name></context>"
assert_responses_with_error 'Name context must have a name'
end