diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/time_entry_activity_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/time_entry_activity_test.rb b/test/unit/time_entry_activity_test.rb index 061408fbb..6588e9402 100644 --- a/test/unit/time_entry_activity_test.rb +++ b/test/unit/time_entry_activity_test.rb @@ -72,7 +72,7 @@ class TimeEntryActivityTest < ActiveSupport::TestCase # Blanking custom field, save should fail e.custom_field_values = {field.id => ""} assert !e.save - assert e.errors.on(:custom_values) + assert e.errors[:custom_values] # Update custom field to valid value, save should succeed e.custom_field_values = {field.id => "0"} |