##// END OF EJS Templates
remove trailing white-spaces from test/functional/context_menus_controller_test.rb....
Toshi MARUYAMA -
r6700:af5e18a1af48
parent child
Show More
@@ -51,7 +51,7 class ContextMenusControllerTest < ActionController::TestCase
51 51 :attributes => { :href => '#',
52 52 :class => 'icon-del disabled' }
53 53 end
54
54
55 55 def test_context_menu_multiple_issues_of_same_project
56 56 @request.session[:user_id] = 2
57 57 get :issues, :ids => [1, 2]
@@ -59,7 +59,7 class ContextMenusControllerTest < ActionController::TestCase
59 59 assert_template 'context_menu'
60 60 assert_not_nil assigns(:issues)
61 61 assert_equal [1, 2], assigns(:issues).map(&:id).sort
62
62
63 63 ids = assigns(:issues).map(&:id).map {|i| "ids%5B%5D=#{i}"}.join('&amp;')
64 64 assert_tag :tag => 'a', :content => 'Edit',
65 65 :attributes => { :href => "/issues/bulk_edit?#{ids}",
@@ -91,7 +91,7 class ContextMenusControllerTest < ActionController::TestCase
91 91 assert_template 'context_menu'
92 92 assert_not_nil assigns(:issues)
93 93 assert_equal [1, 2, 6], assigns(:issues).map(&:id).sort
94
94
95 95 ids = assigns(:issues).map(&:id).map {|i| "ids%5B%5D=#{i}"}.join('&amp;')
96 96 assert_tag :tag => 'a', :content => 'Edit',
97 97 :attributes => { :href => "/issues/bulk_edit?#{ids}",
@@ -109,7 +109,7 class ContextMenusControllerTest < ActionController::TestCase
109 109 :attributes => { :href => "/issues/destroy?#{ids}",
110 110 :class => 'icon-del' }
111 111 end
112
112
113 113 def test_context_menu_issue_visibility
114 114 get :issues, :ids => [1, 4]
115 115 assert_response :success
General Comments 0
You need to be logged in to leave comments. Login now