mirror of
https://github.com/redmine/redmine.git
synced 2025-11-13 00:36:01 +01:00
Removed Query.generate_default! helper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9472 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -33,7 +33,7 @@ class Redmine::Helpers::GanttHelperTest < ActionView::TestCase
|
||||
@project = project
|
||||
@gantt = Redmine::Helpers::Gantt.new(options)
|
||||
@gantt.project = @project
|
||||
@gantt.query = Query.generate_default!(:project => @project)
|
||||
@gantt.query = Query.create!(:project => @project, :name => 'Gantt')
|
||||
@gantt.view = self
|
||||
@gantt.instance_variable_set('@date_from', options[:date_from] || 2.weeks.ago.to_date)
|
||||
@gantt.instance_variable_set('@date_to', options[:date_to] || 2.weeks.from_now.to_date)
|
||||
|
||||
Reference in New Issue
Block a user