summaryrefslogtreecommitdiffstats
path: root/test/fixtures
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2014-05-05 15:25:15 +0200
committerSamy Pessé <samypesse@gmail.com>2014-05-05 15:25:15 +0200
commit9de86fc0e4ea2dd2d98eaaca0b6cfc066fa93e13 (patch)
tree15140d0e296a94a249c6ced2c79a92d6f2ee0d4f /test/fixtures
parent7fa78263725bb8280f61ab690690e325c2d355de (diff)
downloadgitbook-9de86fc0e4ea2dd2d98eaaca0b6cfc066fa93e13.zip
gitbook-9de86fc0e4ea2dd2d98eaaca0b6cfc066fa93e13.tar.gz
gitbook-9de86fc0e4ea2dd2d98eaaca0b6cfc066fa93e13.tar.bz2
Add tests for book generation
Diffstat (limited to 'test/fixtures')
-rw-r--r--test/fixtures/book1/README.md2
-rw-r--r--test/fixtures/book1/SUMMARY.md3
-rw-r--r--test/fixtures/book1/test.md1
-rw-r--r--test/fixtures/book2/README.md1
4 files changed, 7 insertions, 0 deletions
diff --git a/test/fixtures/book1/README.md b/test/fixtures/book1/README.md
new file mode 100644
index 0000000..c01d3fb
--- /dev/null
+++ b/test/fixtures/book1/README.md
@@ -0,0 +1,2 @@
+# This is a test
+
diff --git a/test/fixtures/book1/SUMMARY.md b/test/fixtures/book1/SUMMARY.md
new file mode 100644
index 0000000..20ec7b8
--- /dev/null
+++ b/test/fixtures/book1/SUMMARY.md
@@ -0,0 +1,3 @@
+# Summary
+
+* [test](test.md) \ No newline at end of file
diff --git a/test/fixtures/book1/test.md b/test/fixtures/book1/test.md
new file mode 100644
index 0000000..8ae0569
--- /dev/null
+++ b/test/fixtures/book1/test.md
@@ -0,0 +1 @@
+# Test
diff --git a/test/fixtures/book2/README.md b/test/fixtures/book2/README.md
new file mode 100644
index 0000000..13c54db
--- /dev/null
+++ b/test/fixtures/book2/README.md
@@ -0,0 +1 @@
+# This should fail