summaryrefslogtreecommitdiffstats
path: root/test/functional/wiki_controller_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2017-06-10 04:55:17 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2017-06-10 04:55:17 +0000
commit01defc75147aeeeeff09212393fe483ca5023045 (patch)
treed9858e88714f8032af6d2a6264e11bf5aca33feb /test/functional/wiki_controller_test.rb
parent06babbec7e788f2f3684f257ac817b424aedbf46 (diff)
downloadredmine-01defc75147aeeeeff09212393fe483ca5023045.tar.gz
redmine-01defc75147aeeeeff09212393fe483ca5023045.zip
remove trailing white spaces from test/functional/wiki_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@16645 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/wiki_controller_test.rb')
-rw-r--r--test/functional/wiki_controller_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/wiki_controller_test.rb b/test/functional/wiki_controller_test.rb
index 8931b4ec7..efcfc7943 100644
--- a/test/functional/wiki_controller_test.rb
+++ b/test/functional/wiki_controller_test.rb
@@ -36,7 +36,7 @@ class WikiControllerTest < Redmine::ControllerTest
assert_select 'ul.pages-hierarchy>li>a[href=?]', '/projects/ecookbook/wiki/Page_with_an_inline_image',
:text => 'Page with an inline image'
end
-
+
def test_export_link
Role.anonymous.add_permission! :export_wiki_pages
get :show, :params => {:project_id => 'ecookbook'}
@@ -113,7 +113,7 @@ class WikiControllerTest < Redmine::ControllerTest
assert_response :success
assert_select 'div#sidebar', :text => /Side bar content for test_show_with_sidebar/
end
-
+
def test_show_should_display_section_edit_links
@request.session[:user_id] = 2
get :show, :params => {:project_id => 1, :id => 'Page with sections'}
@@ -309,7 +309,7 @@ class WikiControllerTest < Redmine::ControllerTest
get :edit, :params => {:project_id => 'ecookbook', :id => 'Page_with_sections', :section => 2}
assert_response :success
-
+
page = WikiPage.find_by_title('Page_with_sections')
section, hash = Redmine::WikiFormatting::Textile::Formatter.new(page.content.text).get_section(2)