| 
							
							
								 Toshi MARUYAMA | f2ddfcda9a | add missing fixtures to test/functional/wiki_controller_test.rb Tests fail randomly.
<pre>
  1) Error:
WikiControllerTest#test_show_with_sidebar:
ActionView::Template::Error: undefined method `name' for nil:NilClass
    app/helpers/application_helper.rb:797:in `block in parse_redmine_links'
    app/helpers/application_helper.rb:757:in `gsub!'
    app/helpers/application_helper.rb:757:in `parse_redmine_links'
    app/helpers/application_helper.rb:601:in `block (2 levels) in textilizable'
    app/helpers/application_helper.rb:600:in `each'
    app/helpers/application_helper.rb:600:in `block in textilizable'
    app/helpers/application_helper.rb:621:in `parse_non_pre_blocks'
    app/helpers/application_helper.rb:599:in `textilizable'
    app/views/wiki/_content.html.erb:2:in `_app_views_wiki__content_html_erb___3773333740575742579_33736820'
    app/views/wiki/show.html.erb:44:in `_app_views_wiki_show_html_erb__965327089377623997_33504680'
    app/controllers/wiki_controller.rb:97:in `show'
    test/functional/wiki_controller_test.rb:119:in `test_show_with_sidebar'
</pre>
It can be reproduced by following change.
<pre>
 class WikiControllerTest < ActionController::TestCase
   fixtures :projects, :users, :roles, :members, :member_roles,
            :enabled_modules, :wikis, :wiki_pages, :wiki_contents,
-           :wiki_content_versions, :attachments
+           :wiki_content_versions, :attachments,
+           :issues #, :issue_statuses
</pre>
git-svn-id: http://svn.redmine.org/redmine/trunk@13590 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2014-11-12 03:44:47 +00:00 |  | 
			
				
					| 
							
							
								 Jean-Philippe Lang | 2d1866d966 | Merged rails-4.1 branch (#14534). git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2014-10-22 17:37:16 +00:00 |  | 
			
				
					| 
							
							
								 Jean-Philippe Lang | c075626462 | Fixed that requesting a specific version of a non-existent wiki page raises an error (#16255). git-svn-id: http://svn.redmine.org/redmine/trunk@12971 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2014-03-15 11:41:24 +00:00 |  | 
			
				
					| 
							
							
								 Toshi MARUYAMA | 35cc911192 | update copyright year (#15977) Contributed by Daniel Felix.
git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2014-01-29 22:45:39 +00:00 |  | 
			
				
					| 
							
							
								 Toshi MARUYAMA | 378a3e684f | Rails4: replace deprecated Relation#first with finder options at WikiControllerTest git-svn-id: http://svn.redmine.org/redmine/trunk@12635 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2014-01-11 09:24:40 +00:00 |  | 
			
				
					| 
							
							
								 Toshi MARUYAMA | a313d540a6 | code format cleanup WikiControllerTest git-svn-id: http://svn.redmine.org/redmine/trunk@12634 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2014-01-11 09:24:24 +00:00 |  | 
			
				
					| 
							
							
								 Jean-Philippe Lang | ba083225b7 | Return to section anchor after wiki section edit (#15182). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12239 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2013-10-26 09:03:08 +00:00 |  | 
			
				
					| 
							
							
								 Jean-Philippe Lang | 5f747faa58 | Fixed that viewing/editing a wiki page without WikiContent raises an error (#14986). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12220 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2013-10-13 11:19:47 +00:00 |  | 
			
				
					| 
							
							
								 Jean-Philippe Lang | 8f00d31ec6 | Accommodates fixtures for databases with case sensitive sort. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11260 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2013-01-23 18:09:03 +00:00 |  | 
			
				
					| 
							
							
								 Jean-Philippe Lang | 1cb1bc7c96 | Attachment name is added in the generated link. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11192 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2013-01-14 22:43:26 +00:00 |  | 
			
				
					| 
							
							
								 Jean-Philippe Lang | e396a0eebe | Copyright for 2013 (#12788). Patch by Daniel Felix.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11169 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2013-01-12 09:29:31 +00:00 |  | 
			
				
					| 
							
							
								 Jean-Philippe Lang | d0ffc0575a | Fixed that viewing the history of a wiki page with attachments raises an error (#12801). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11157 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2013-01-10 21:38:11 +00:00 |  | 
			
				
					| 
							
							
								 Jean-Philippe Lang | 4cc4e8bfd3 | Functional tests cleanup. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10936 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2012-12-03 22:23:23 +00:00 |  | 
			
				
					| 
							
							
								 Jean-Philippe Lang | 29fc292b18 | Respond with 404 instead of 500 when requesting a wiki diff with invalid versions (#12434). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10877 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2012-11-24 12:27:00 +00:00 |  | 
			
				
					| 
							
							
								 Jean-Philippe Lang | 9e31308720 | REST API for retrieving wiki pages (#7082). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10716 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2012-10-25 19:44:04 +00:00 |  | 
			
				
					| 
							
							
								 Jean-Philippe Lang | 6cccdce06e | Ability to delete a version from a wiki page history (#10852). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10705 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2012-10-23 18:45:14 +00:00 |  | 
			
				
					| 
							
							
								 Jean-Philippe Lang | d66b3452db | Wiki page versions routes cleanup. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10687 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2012-10-21 18:46:26 +00:00 |  | 
			
				
					| 
							
							
								 Jean-Philippe Lang | 57c38a33e5 | Adds assertions on the confirmation form. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10405 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2012-09-16 15:39:11 +00:00 |  | 
			
				
					| 
							
							
								 Jean-Philippe Lang | b81a578eb6 | Adjust tests for new fixture. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10404 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2012-09-16 15:36:05 +00:00 |  | 
			
				
					| 
							
							
								 Jean-Philippe Lang | 6529035ee1 | Fixed that wiki diff may produce html (#11209). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9895 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2012-06-26 16:57:09 +00:00 |  | 
			
				
					| 
							
							
								 Jean-Philippe Lang | ba5a052c8c | Copyright update. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9636 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2012-05-05 12:56:53 +00:00 |  | 
			
				
					| 
							
							
								 Jean-Philippe Lang | 5e57a1a9d9 | Merged rails-3.2 branch. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9528 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2012-04-25 17:17:49 +00:00 |  | 
			
				
					| 
							
							
								 Jean-Philippe Lang | eabbab6e2b | Adds assertions on the content of a versioned wiki page export (#6941). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9362 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2012-04-06 15:31:06 +00:00 |  | 
			
				
					| 
							
							
								 Jean-Philippe Lang | d25defe276 | Adds assertions on the content of a wiki page export (#6941). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9361 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2012-04-06 14:09:15 +00:00 |  | 
			
				
					| 
							
							
								 Jean-Philippe Lang | 001b255b08 | Ability to edit a wiki page's parent on the edit page (#6449). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8787 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2012-02-05 14:35:27 +00:00 |  | 
			
				
					| 
							
							
								 Jean-Philippe Lang | 2664693ae8 | Removed useless permission check in wiki controller. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8735 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2012-01-30 18:50:04 +00:00 |  | 
			
				
					| 
							
							
								 Jean-Philippe Lang | 3d27bf5318 | Adds export of all wiki pages to a PDF file (#3463). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8734 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2012-01-30 18:42:14 +00:00 |  | 
			
				
					| 
							
							
								 Jean-Philippe Lang | 53d5ff299a | Test cleanup. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8463 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2012-01-01 20:02:39 +00:00 |  | 
			
				
					| 
							
							
								 Jean-Philippe Lang | 849463558d | Additional tests for WikiController. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8262 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2011-12-17 15:02:28 +00:00 |  | 
			
				
					| 
							
							
								 Jean-Philippe Lang | dcce70095b | Option to set parent automatically for new wiki pages (#3108). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8255 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2011-12-17 11:44:04 +00:00 |  | 
			
				
					| 
							
							
								 Jean-Philippe Lang | a398faa5d7 | Adds a test for when accessing wiki history without permission. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8064 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2011-12-03 20:30:50 +00:00 |  | 
			
				
					| 
							
							
								 Jean-Philippe Lang | 744e4357a0 | Fixed: Wiki export link doesn't work for users without :view_wiki_edits permission (#9682). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7971 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2011-11-28 20:04:38 +00:00 |  | 
			
				
					| 
							
							
								 Jean-Philippe Lang | 63dc83fc0d | Fixed: Section-edit buttons not available when a the version parameter is provided even if it's the current version (#9674). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7970 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2011-11-28 18:11:30 +00:00 |  | 
			
				
					| 
							
							
								 Jean-Philippe Lang | b3b2eb3e50 | Fixes section edit links when text includes pre/code tag (#2222). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7835 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2011-11-18 18:22:41 +00:00 |  | 
			
				
					| 
							
							
								 Jean-Philippe Lang | 6fc245327c | Wiki: allows single section edit (#2222). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7829 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2011-11-18 16:25:00 +00:00 |  | 
			
				
					| 
							
							
								 Toshi MARUYAMA | 3758328d60 | test: functional: wiki: add tests to show pdf (#401) git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7742 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2011-11-06 10:50:05 +00:00 |  | 
			
				
					| 
							
							
								 Toshi MARUYAMA | 0921042bc4 | test: functional: wiki: add tests to show html and txt (#401) git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7739 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2011-11-06 10:47:45 +00:00 |  | 
			
				
					| 
							
							
								 Toshi MARUYAMA | fe386fe50d | code layout clean up of test/functional/wiki_controller_test.rb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7738 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2011-11-06 09:17:10 +00:00 |  | 
			
				
					| 
							
							
								 Toshi MARUYAMA | 78dba8073b | remove trailing white-spaces from test/functional/wiki_controller_test.rb. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6558 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2011-08-24 03:51:20 +00:00 |  | 
			
				
					| 
							
							
								 Jean-Philippe Lang | b0728550a3 | Fixed: Wiki annotated page does not display author of version 1 (#8449). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6206 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2011-07-09 12:01:08 +00:00 |  | 
			
				
					| 
							
							
								 Toshi MARUYAMA | dfa509b69e | remove trailing white-spaces from functional wiki controller test. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5802 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2011-05-16 22:56:04 +00:00 |  | 
			
				
					| 
							
							
								 Jean-Philippe Lang | 3cc7353093 | Do a redirect when accessing a renamed wiki page. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5423 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2011-04-11 19:21:57 +00:00 |  | 
			
				
					| 
							
							
								 Jean-Philippe Lang | 53ad42e1d8 | Fixed: atom links on wiki index broken by r4266. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5186 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2011-03-21 18:10:04 +00:00 |  | 
			
				
					| 
							
							
								 Jean-Philippe Lang | 3d551f97e1 | Fixed: Simultaneous wiki updates cause internal error (#7939). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5185 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2011-03-21 16:55:28 +00:00 |  | 
			
				
					| 
							
							
								 Jean-Philippe Lang | b8b35ab05f | Moved wiki page updated_on eager load to a scope and fixed timestamp titles on wiki page index (#7818). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5098 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2011-03-12 18:09:46 +00:00 |  | 
			
				
					| 
							
							
								 Jean-Baptiste Barth | 17f86d964f | Use absolute paths in test/**/* requires for Ruby 1.9.2 compatibility. #4050 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4509 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2010-12-12 23:24:34 +00:00 |  | 
			
				
					| 
							
							
								 Jean-Philippe Lang | 4a6a551d07 | Fixed: Missing template wiki/update.erb error introduced in r4272 (#6987). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4429 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2010-11-27 10:34:44 +00:00 |  | 
			
				
					| 
							
							
								 Jean-Philippe Lang | 666c54e86c | Adds a combo to select parent on wiki page rename (#5136). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4375 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2010-11-06 14:30:32 +00:00 |  | 
			
				
					| 
							
							
								 Eric Davis | c514dd6885 | Refactor: convert WikiController to a REST resource git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4303 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2010-10-28 21:25:38 +00:00 |  | 
			
				
					| 
							
							
								 Eric Davis | e9efa5b981 | Refactor: use :id instead of :page when linking to Wiki Pages git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4296 e93f8b46-1217-0410-a6f0-8f06a7374b81 | 2010-10-27 16:27:06 +00:00 |  |