summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-03-04 13:55:25 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-03-04 13:55:25 +0000
commit67d52acb848252d0f51045914f5219311ef01092 (patch)
tree7047e1b647d4bf455d3270e31c61a14ec88fa541 /test
parentfa12fad4f24f38ec5303e2c7ecdc1abd36f6e517 (diff)
downloadredmine-67d52acb848252d0f51045914f5219311ef01092.tar.gz
redmine-67d52acb848252d0f51045914f5219311ef01092.zip
Rails 3.1 compatibility.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9091 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/unit/lib/redmine/helpers/gantt_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/lib/redmine/helpers/gantt_test.rb b/test/unit/lib/redmine/helpers/gantt_test.rb
index 2dac97f74..614bcfac7 100644
--- a/test/unit/lib/redmine/helpers/gantt_test.rb
+++ b/test/unit/lib/redmine/helpers/gantt_test.rb
@@ -293,7 +293,7 @@ class Redmine::Helpers::GanttHelperTest < ActionView::TestCase
@project.enabled_module_names = [:issue_tracking]
@project.versions << Version.generate!(:effective_date => Date.yesterday)
- assert @project.overdue?, "Need an overdue project for this test"
+ assert @project.reload.overdue?, "Need an overdue project for this test"
@output_buffer = @gantt.subject_for_project(@project, {:format => :html})
assert_select 'div span.project-overdue'