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

@ -61,7 +61,7 @@ class TodoXmlApiTest < ActionDispatch::IntegrationTest
assert_response :success
todo = @user.todos.where(:description => "this will succeed 2.0").first
assert_not_nil todo
assert !todo.uncompleted_predecessors.empty?
assert !todo.uncompleted_predecessors.empty?, "should have predecessors"
end
def test_post_create_todo_with_single_dependency