summaryrefslogtreecommitdiffstats
path: root/test/functional/context_menus_controller_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-08-30 15:55:54 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-08-30 15:55:54 +0000
commitaf5e18a1af48c9e70d351918b45d9a9489e3ed26 (patch)
treeea0ae2a91f5e20c93c97caf476a64315a8cef939 /test/functional/context_menus_controller_test.rb
parentbbb8fd8baed134a73bd34962523e8c7bab50d290 (diff)
downloadredmine-af5e18a1af48c9e70d351918b45d9a9489e3ed26.tar.gz
redmine-af5e18a1af48c9e70d351918b45d9a9489e3ed26.zip
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
Diffstat (limited to 'test/functional/context_menus_controller_test.rb')
-rw-r--r--test/functional/context_menus_controller_test.rb8
1 files 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('&amp;')
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('&amp;')
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