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

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-02-23 15:10:36 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2016-02-23 15:10:36 +0300
commit2c4e24ec6cbb00b849d2bb1c827a5b8163ba6f3c (patch)
tree4375c49ebd812a351151690443432f85731b6767 /shared
parentd7233de6883fbb83cf445b19cdc95a119caa52b8 (diff)
Write tests for serving the 404.html page
Diffstat (limited to 'shared')
-rw-r--r--shared/pages/group.404/domain.404/config.json7
-rw-r--r--shared/pages/group.404/domain.404/public/404.html1
-rw-r--r--shared/pages/group.404/group.404.test.io/public/404.html1
-rw-r--r--shared/pages/group.404/project.404.symlink/public/404.html1
-rw-r--r--shared/pages/group.404/project.404/public/404.html1
-rw-r--r--shared/pages/group.404/project.no.404/public/index.html1
6 files changed, 12 insertions, 0 deletions
diff --git a/shared/pages/group.404/domain.404/config.json b/shared/pages/group.404/domain.404/config.json
new file mode 100644
index 00000000..c2adb9f6
--- /dev/null
+++ b/shared/pages/group.404/domain.404/config.json
@@ -0,0 +1,7 @@
+{
+ "Domains": [
+ {
+ "Domain": "domain.404.com"
+ }
+ ]
+}
diff --git a/shared/pages/group.404/domain.404/public/404.html b/shared/pages/group.404/domain.404/public/404.html
new file mode 100644
index 00000000..454a3d50
--- /dev/null
+++ b/shared/pages/group.404/domain.404/public/404.html
@@ -0,0 +1 @@
+Custom 404 group page
diff --git a/shared/pages/group.404/group.404.test.io/public/404.html b/shared/pages/group.404/group.404.test.io/public/404.html
new file mode 100644
index 00000000..454a3d50
--- /dev/null
+++ b/shared/pages/group.404/group.404.test.io/public/404.html
@@ -0,0 +1 @@
+Custom 404 group page
diff --git a/shared/pages/group.404/project.404.symlink/public/404.html b/shared/pages/group.404/project.404.symlink/public/404.html
new file mode 100644
index 00000000..896a32d0
--- /dev/null
+++ b/shared/pages/group.404/project.404.symlink/public/404.html
@@ -0,0 +1 @@
+Custom 404 project page
diff --git a/shared/pages/group.404/project.404/public/404.html b/shared/pages/group.404/project.404/public/404.html
new file mode 100644
index 00000000..896a32d0
--- /dev/null
+++ b/shared/pages/group.404/project.404/public/404.html
@@ -0,0 +1 @@
+Custom 404 project page
diff --git a/shared/pages/group.404/project.no.404/public/index.html b/shared/pages/group.404/project.no.404/public/index.html
new file mode 100644
index 00000000..896c9cfc
--- /dev/null
+++ b/shared/pages/group.404/project.no.404/public/index.html
@@ -0,0 +1 @@
+Index page