summaryrefslogtreecommitdiffstats
path: root/test/functional/projects_controller_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-10-07 14:10:37 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-10-07 14:10:37 +0000
commitd66aceb751c48bd853c2a5edaff81509f3276f17 (patch)
treeaaa35f3198c2b712436cfbe27a58a85db557d8c8 /test/functional/projects_controller_test.rb
parent8dc797e19d8eed79c3ee6873dc4a9dbb57250c11 (diff)
downloadredmine-d66aceb751c48bd853c2a5edaff81509f3276f17.tar.gz
redmine-d66aceb751c48bd853c2a5edaff81509f3276f17.zip
Rails3: test: replace deprecated errors.on at "fail with parent_id" of functional/projects_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7613 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/projects_controller_test.rb')
-rw-r--r--test/functional/projects_controller_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/projects_controller_test.rb b/test/functional/projects_controller_test.rb
index fa35df7de..515b54a88 100644
--- a/test/functional/projects_controller_test.rb
+++ b/test/functional/projects_controller_test.rb
@@ -238,7 +238,7 @@ class ProjectsControllerTest < ActionController::TestCase
assert_response :success
project = assigns(:project)
assert_kind_of Project, project
- assert_not_nil project.errors.on(:parent_id)
+ assert_not_nil project.errors[:parent_id]
end
end