From 8bdb66bf98e6340f680f5cf428c776c73fac59a5 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 4 Feb 2014 23:51:07 +0000 Subject: [PATCH] Rails4: use "assert_template 'context_menus/time_entries'" at ContextMenusControllerTest This asserting does not fail, but use same logic with "assert_template 'context_menus/issues'" git-svn-id: http://svn.redmine.org/redmine/trunk@12799 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/context_menus_controller_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/functional/context_menus_controller_test.rb b/test/functional/context_menus_controller_test.rb index 0ee048848..0dfea6eeb 100644 --- a/test/functional/context_menus_controller_test.rb +++ b/test/functional/context_menus_controller_test.rb @@ -233,7 +233,7 @@ class ContextMenusControllerTest < ActionController::TestCase @request.session[:user_id] = 2 get :time_entries, :ids => [1, 2] assert_response :success - assert_template 'time_entries' + assert_template 'context_menus/time_entries' assert_select 'a:not(.disabled)', :text => 'Edit' end @@ -244,7 +244,7 @@ class ContextMenusControllerTest < ActionController::TestCase get :time_entries, :ids => [1, 2] assert_response :success - assert_template 'time_entries' + assert_template 'context_menus/time_entries' assert_select 'a.disabled', :text => 'Edit' end end -- 2.39.5