summaryrefslogtreecommitdiffstats
path: root/test/unit/lib/redmine/helpers/gantt_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-12-09 14:10:49 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-12-09 14:10:49 +0000
commitab066317e62b3a6082fc82ba57915ed02f0f6699 (patch)
tree7889bbe8150f7aa9ed03a8970e9c999e33e378f1 /test/unit/lib/redmine/helpers/gantt_test.rb
parentfb9a87f53ecd1bce3afef08cea0237e227cd400d (diff)
downloadredmine-ab066317e62b3a6082fc82ba57915ed02f0f6699.tar.gz
redmine-ab066317e62b3a6082fc82ba57915ed02f0f6699.zip
Adds STI to Query model. Issue queries are now IssueQuery instances.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10964 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/lib/redmine/helpers/gantt_test.rb')
-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 291662d67..591503389 100644
--- a/test/unit/lib/redmine/helpers/gantt_test.rb
+++ b/test/unit/lib/redmine/helpers/gantt_test.rb
@@ -50,7 +50,7 @@ class Redmine::Helpers::GanttHelperTest < ActionView::TestCase
@project = project
@gantt = Redmine::Helpers::Gantt.new(options)
@gantt.project = @project
- @gantt.query = Query.create!(:project => @project, :name => 'Gantt')
+ @gantt.query = IssueQuery.create!(:project => @project, :name => 'Gantt')
@gantt.view = self
@gantt.instance_variable_set('@date_from', options[:date_from] || (today - 14))
@gantt.instance_variable_set('@date_to', options[:date_to] || (today + 14))