summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-10-24 04:13:17 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-10-24 04:13:17 +0000
commitb63123ac1e52f04a1c41fc195671a7b94744e25f (patch)
tree3d24833dc58e5d4136dc3c7fca7875173a9a4760
parent5859c105177942164b7c8c3f17a7dc13f79002b5 (diff)
downloadredmine-b63123ac1e52f04a1c41fc195671a7b94744e25f.tar.gz
redmine-b63123ac1e52f04a1c41fc195671a7b94744e25f.zip
add missing fixtures to CalendarsControllerTest
Tests fail randomly. <pre> 1) Error: CalendarsControllerTest#test_cross_project_calendar: ActionView::Template::Error: undefined method `name' for nil:NilClass app/helpers/issues_helper.rb:57:in `render_issue_tooltip' app/views/common/_calendar.html.erb:17:in `block in _app_views_common__calendar_html_erb__4084073314711523042_57686480' app/views/common/_calendar.html.erb:12:in `each' app/views/common/_calendar.html.erb:12:in `_app_views_common__calendar_html_erb__4084073314711523042_57686480' app/views/calendars/show.html.erb:30:in `_app_views_calendars_show_html_erb___1639405444546230501_53808060' test/functional/calendars_controller_test.rb:44:in `test_cross_project_calendar' </pre> git-svn-id: http://svn.redmine.org/redmine/trunk@13503 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--test/functional/calendars_controller_test.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/functional/calendars_controller_test.rb b/test/functional/calendars_controller_test.rb
index 01f9a8ce1..56268c586 100644
--- a/test/functional/calendars_controller_test.rb
+++ b/test/functional/calendars_controller_test.rb
@@ -24,7 +24,12 @@ class CalendarsControllerTest < ActionController::TestCase
:roles,
:member_roles,
:members,
- :enabled_modules
+ :enabled_modules,
+ :issues,
+ :issue_statuses,
+ :issue_relations,
+ :issue_categories,
+ :enumerations
def test_show
get :show, :project_id => 1