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
This commit is contained in:
1 parent
fb9a87f53e
commit
ab066317e6
16 files changed
+500
-449
No files matched your search
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user