summaryrefslogtreecommitdiffstats
path: root/test/functional/my_controller_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-10-29 10:10:31 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-10-29 10:10:31 +0000
commit8b86d5158e50d27de68a3c69c12b06e1af0deb52 (patch)
tree724ac0a770438aa579d94a77b6855361a329274c /test/functional/my_controller_test.rb
parent6ef3ecc030cfc744244bb15db2f2ef0eb46ed439 (diff)
downloadredmine-8b86d5158e50d27de68a3c69c12b06e1af0deb52.tar.gz
redmine-8b86d5158e50d27de68a3c69c12b06e1af0deb52.zip
Moves blocks definition to Redmine::MyPage.
git-svn-id: http://svn.redmine.org/redmine/trunk@15930 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/my_controller_test.rb')
-rw-r--r--test/functional/my_controller_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/my_controller_test.rb b/test/functional/my_controller_test.rb
index 41d9171b7..b64b311a2 100644
--- a/test/functional/my_controller_test.rb
+++ b/test/functional/my_controller_test.rb
@@ -52,7 +52,7 @@ class MyControllerTest < Redmine::ControllerTest
end
def test_page_with_all_blocks
- blocks = MyController::BLOCKS.keys
+ blocks = Redmine::MyPage.blocks.keys
preferences = User.find(2).pref
preferences[:my_page_layout] = {'top' => blocks}
preferences.save!