mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
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:
parent
de8d7aeb85
commit
162d75ed4e
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user