Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-02-24 17:13:57 +0300
committerDouwe Maan <douwe@selenight.nl>2017-02-24 17:13:57 +0300
commitdfbccdfc1b119ff801f810607b724e4572e37bb1 (patch)
tree7c6aa439481aa85a79519546d24adf48222605e8 /spec/lib/gitlab/import_export/import_export_spec.rb
parentad640bc5f92ef0456a53dd82004f449cd9d7475d (diff)
Fix spec
Diffstat (limited to 'spec/lib/gitlab/import_export/import_export_spec.rb')
-rw-r--r--spec/lib/gitlab/import_export/import_export_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/import_export/import_export_spec.rb b/spec/lib/gitlab/import_export/import_export_spec.rb
index 20743811dab..f3fd0d82875 100644
--- a/spec/lib/gitlab/import_export/import_export_spec.rb
+++ b/spec/lib/gitlab/import_export/import_export_spec.rb
@@ -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