mirror of
				https://github.com/redmine/redmine.git
				synced 2025-10-31 10:25:55 +01:00 
			
		
		
		
	Use strong params for CustomFieldEnumeration.
git-svn-id: http://svn.redmine.org/redmine/trunk@16603 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
		| @@ -75,12 +75,12 @@ class CustomFieldEnumerationsControllerTest < Redmine::ControllerTest | ||||
|     put :update_each, :params => { | ||||
|         :custom_field_id => @field.id, | ||||
|         :custom_field_enumerations => { | ||||
|           @bar.id => { | ||||
|           @bar.id.to_s => { | ||||
|             :position => "1", | ||||
|             :name => "Baz", | ||||
|             :active => "1" | ||||
|           },     | ||||
|                 @foo.id => { | ||||
|           @foo.id.to_s => { | ||||
|             :position => "2", | ||||
|             :name => "Foo", | ||||
|             :active => "0" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user