diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-10-07 23:54:27 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-10-07 23:54:27 +0000 |
commit | 6ebb5e834cebeec9a5ead42d245b35dde55b3c76 (patch) | |
tree | c06f268ee0fbe9968efd4f7cb66a7216bd719b2d /test/unit/issue_nested_set_test.rb | |
parent | 54d553b27f938f2e5492b656f692a19147654097 (diff) | |
download | redmine-6ebb5e834cebeec9a5ead42d245b35dde55b3c76.tar.gz redmine-6ebb5e834cebeec9a5ead42d245b35dde55b3c76.zip |
Rails3: test: replace deprecated errors.on at test_moving_an_issue_to_a_descendant_should_not_validate of unit/issue_nested_set_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7617 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/issue_nested_set_test.rb')
-rw-r--r-- | test/unit/issue_nested_set_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/issue_nested_set_test.rb b/test/unit/issue_nested_set_test.rb index d3610b087..d7be36344 100644 --- a/test/unit/issue_nested_set_test.rb +++ b/test/unit/issue_nested_set_test.rb @@ -179,7 +179,7 @@ class IssueNestedSetTest < ActiveSupport::TestCase child.reload child.parent_issue_id = grandchild.id assert !child.save - assert_not_nil child.errors.on(:parent_issue_id) + assert_not_nil child.errors[:parent_issue_id] end def test_moving_an_issue_should_keep_valid_relations_only |