diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-10-29 10:10:31 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-10-29 10:10:31 +0000 |
commit | 8b86d5158e50d27de68a3c69c12b06e1af0deb52 (patch) | |
tree | 724ac0a770438aa579d94a77b6855361a329274c /test/functional/my_controller_test.rb | |
parent | 6ef3ecc030cfc744244bb15db2f2ef0eb46ed439 (diff) | |
download | redmine-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.rb | 2 |
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! |