fixes issue_hierarchy tests

* need to set Setting.cross_project_issue_relations as core now enforces it
pull/6827/head
Jens Ulferts 12 years ago
parent 911c7c9d2b
commit aec7ee2dfc
  1. 10
      spec/models/issue_hierarchy_restriction_project_boundaries_spec.rb

@ -92,6 +92,16 @@ describe Issue, 'parent-child relationships between backlogs stories and backlog
:author => user,
:priority => issue_priority) }
before(:all) do
@are_settings_cached = Setting.use_caching?
Setting.use_caching = false
Setting.cross_project_issue_relations = "1"
end
after(:all) do
Setting.use_caching = @are_settings_cached
end
before(:each) do
parent_project.save!
child_project.save!

Loading…
Cancel
Save