This commit is contained in:
Douwe Maan 2017-02-24 08:13:57 -06:00
parent ad640bc5f9
commit dfbccdfc1b
2 changed files with 3 additions and 4 deletions

View file

@ -10,7 +10,7 @@ describe Gitlab::ImportExport, services: true do
end end
it 'contains the namespace path' do it 'contains the namespace path' do
expect(described_class.export_filename(project: project)).to include(project.namespace.full_path) expect(described_class.export_filename(project: project)).to include(project.namespace.full_path.tr('/', '_'))
end end
it 'does not go over a certain length' do it 'does not go over a certain length' do

View file

@ -79,9 +79,8 @@ class MarkdownFeature
def xproject def xproject
@xproject ||= begin @xproject ||= begin
group = create(:group, name: 'cross-reference') group = create(:group, :nested)
group2 = create(:group, parent: group, name: 'nested-group') create(:project, namespace: group) do |project|
create(:project, namespace: group2) do |project|
project.team << [user, :developer] project.team << [user, :developer]
end end
end end