diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-10-07 14:10:05 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-10-07 14:10:05 +0000 |
commit | 8dc797e19d8eed79c3ee6873dc4a9dbb57250c11 (patch) | |
tree | 432bcca018f104028a0d271ab57806b9768b0559 /test | |
parent | e911d46aa8c7731242c1f9b61b1b6d071e0a980d (diff) | |
download | redmine-8dc797e19d8eed79c3ee6873dc4a9dbb57250c11.tar.gz redmine-8dc797e19d8eed79c3ee6873dc4a9dbb57250c11.zip |
Rails3: test: replace deprecated errors.on at test_update_issue_with_required_custom_field_change of unit/time_entry_activity_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7612 e93f8b46-1217-0410-a6f0-8f06a7374b81
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"} |