diff options
-rw-r--r-- | test/unit/version_test.rb | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/test/unit/version_test.rb b/test/unit/version_test.rb index af752f0a1..5eb782e90 100644 --- a/test/unit/version_test.rb +++ b/test/unit/version_test.rb @@ -322,11 +322,12 @@ class VersionTest < ActiveSupport::TestCase assert_nil version.custom_field_value(cf2) version.send( :safe_attributes=, - {'custom_fields' => - [ - {'id' => cf1.id.to_s, 'value' => 'valuea'}, - {'id' => cf2.id.to_s, 'value' => 'valueb'} - ] + { + 'custom_fields' => + [ + {'id' => cf1.id.to_s, 'value' => 'valuea'}, + {'id' => cf2.id.to_s, 'value' => 'valueb'} + ] }, user ) |