|
|
|
@ -71,11 +71,11 @@ describe Burndown do |
|
|
|
|
|
|
|
|
|
User.stub(:current).and_return(user) |
|
|
|
|
|
|
|
|
|
Setting.plugin_openproject_backlogs = {"points_burn_direction" => "down", |
|
|
|
|
"wiki_template" => "", |
|
|
|
|
"card_spec" => "Sattleford VM-5040", |
|
|
|
|
"story_types" => [type_feature.id.to_s], |
|
|
|
|
"task_type" => type_task.id.to_s } |
|
|
|
|
allow(Setting).to receive(:plugin_openproject_backlogs).and_return({"points_burn_direction" => "down", |
|
|
|
|
"wiki_template" => "", |
|
|
|
|
"card_spec" => "Sattleford VM-5040", |
|
|
|
|
"story_types" => [type_feature.id.to_s], |
|
|
|
|
"task_type" => type_task.id.to_s }) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
project.save! |
|
|
|
|