From af5e18a1af48c9e70d351918b45d9a9489e3ed26 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 30 Aug 2011 15:55:54 +0000 Subject: [PATCH] remove trailing white-spaces from test/functional/context_menus_controller_test.rb. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6820 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/context_menus_controller_test.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/functional/context_menus_controller_test.rb b/test/functional/context_menus_controller_test.rb index 23b1ca514..50bece694 100644 --- a/test/functional/context_menus_controller_test.rb +++ b/test/functional/context_menus_controller_test.rb @@ -51,7 +51,7 @@ class ContextMenusControllerTest < ActionController::TestCase :attributes => { :href => '#', :class => 'icon-del disabled' } end - + def test_context_menu_multiple_issues_of_same_project @request.session[:user_id] = 2 get :issues, :ids => [1, 2] @@ -59,7 +59,7 @@ class ContextMenusControllerTest < ActionController::TestCase assert_template 'context_menu' assert_not_nil assigns(:issues) assert_equal [1, 2], assigns(:issues).map(&:id).sort - + ids = assigns(:issues).map(&:id).map {|i| "ids%5B%5D=#{i}"}.join('&') assert_tag :tag => 'a', :content => 'Edit', :attributes => { :href => "/issues/bulk_edit?#{ids}", @@ -91,7 +91,7 @@ class ContextMenusControllerTest < ActionController::TestCase assert_template 'context_menu' assert_not_nil assigns(:issues) assert_equal [1, 2, 6], assigns(:issues).map(&:id).sort - + ids = assigns(:issues).map(&:id).map {|i| "ids%5B%5D=#{i}"}.join('&') assert_tag :tag => 'a', :content => 'Edit', :attributes => { :href => "/issues/bulk_edit?#{ids}", @@ -109,7 +109,7 @@ class ContextMenusControllerTest < ActionController::TestCase :attributes => { :href => "/issues/destroy?#{ids}", :class => 'icon-del' } end - + def test_context_menu_issue_visibility get :issues, :ids => [1, 4] assert_response :success