summaryrefslogtreecommitdiffstats
path: root/test/functional
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-06-03 08:43:04 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-06-03 08:43:04 +0000
commit6ca3e4f75fa1efafccf928e06f1bd8fd2045c93c (patch)
tree941f14eb5803489c030d3b9622fef446f8938122 /test/functional
parentb923a54b2d1a2e51fe56222b7a551522621a4079 (diff)
downloadredmine-6ca3e4f75fa1efafccf928e06f1bd8fd2045c93c.tar.gz
redmine-6ca3e4f75fa1efafccf928e06f1bd8fd2045c93c.zip
Use strong params for CustomFieldEnumeration.
git-svn-id: http://svn.redmine.org/redmine/trunk@16603 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/custom_field_enumerations_controller_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/custom_field_enumerations_controller_test.rb b/test/functional/custom_field_enumerations_controller_test.rb
index 913517ae1..3670af288 100644
--- a/test/functional/custom_field_enumerations_controller_test.rb
+++ b/test/functional/custom_field_enumerations_controller_test.rb
@@ -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"