]> source.dussan.org Git - redmine.git/commitdiff
remove spaces inside {} of CustomFieldTest
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 14 Nov 2020 13:18:48 +0000 (13:18 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 14 Nov 2020 13:18:48 +0000 (13:18 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20372 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/custom_field_test.rb

index 753da5192b51d648cc0a4af92009da06dea6d800..f5d8e80276e9fffaeec141255ca3bb7da5e37987 100644 (file)
@@ -352,7 +352,7 @@ class CustomFieldTest < ActiveSupport::TestCase
   def test_project_custom_field_visibility
     project_field = ProjectCustomField.generate!(:visible => false, :field_format => 'list', :possible_values => %w[a b c])
     project = Project.find(3)
-    project.custom_field_values = { project_field.id => 'a' }
+    project.custom_field_values = {project_field.id => 'a'}
 
     # Admins can find projects with the field
     with_current_user(User.find(1)) do