remove spaces inside {} of CustomFieldTest

git-svn-id: http://svn.redmine.org/redmine/trunk@20372 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2020-11-14 13:18:48 +00:00
parent de8d7aeb85
commit 162d75ed4e

View File

@@ -352,7 +352,7 @@ class CustomFieldTest < ActiveSupport::TestCase
def test_project_custom_field_visibility def test_project_custom_field_visibility
project_field = ProjectCustomField.generate!(:visible => false, :field_format => 'list', :possible_values => %w[a b c]) project_field = ProjectCustomField.generate!(:visible => false, :field_format => 'list', :possible_values => %w[a b c])
project = Project.find(3) 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 # Admins can find projects with the field
with_current_user(User.find(1)) do with_current_user(User.find(1)) do