Commit dfbccdfc authored by Douwe Maan's avatar Douwe Maan

Fix spec

parent ad640bc5
Pipeline #6671125 passed with stages
in 83 minutes and 42 seconds
......@@ -10,7 +10,7 @@ describe Gitlab::ImportExport, services: true do
end
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
it 'does not go over a certain length' do
......
......@@ -79,9 +79,8 @@ class MarkdownFeature
def xproject
@xproject ||= begin
group = create(:group, name: 'cross-reference')
group2 = create(:group, parent: group, name: 'nested-group')
create(:project, namespace: group2) do |project|
group = create(:group, :nested)
create(:project, namespace: group) do |project|
project.team << [user, :developer]
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment