summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamy Pesse <samypesse@gmail.com>2015-09-14 12:05:51 +0200
committerSamy Pesse <samypesse@gmail.com>2015-09-14 12:05:51 +0200
commitfe604733debe42a287f3c44705e16d9d0ec85908 (patch)
tree6e500ed55e65a6f6e5991913f11850d17c8ed721
parentda22f9f39f34d38a488c72ddc81d5cb5bdb97e59 (diff)
downloadgitbook-fe604733debe42a287f3c44705e16d9d0ec85908.zip
gitbook-fe604733debe42a287f3c44705e16d9d0ec85908.tar.gz
gitbook-fe604733debe42a287f3c44705e16d9d0ec85908.tar.bz2
Change name of highlight test plugin
-rw-r--r--test/codehighlighting.js4
-rw-r--r--test/plugins/highlight/package.json9
-rw-r--r--test/plugins/replace_highlight/index.js (renamed from test/plugins/highlight/index.js)0
-rw-r--r--test/plugins/replace_highlight/package.json9
4 files changed, 11 insertions, 11 deletions
diff --git a/test/codehighlighting.js b/test/codehighlighting.js
index b0c4110..e35f37e 100644
--- a/test/codehighlighting.js
+++ b/test/codehighlighting.js
@@ -14,8 +14,8 @@ describe('Code Highlighting', function () {
prepare: function(_book) {
book = _book;
- var plugin = new Plugin(book, "highlight");
- plugin.load("./highlight", PLUGINS_ROOT);
+ var plugin = new Plugin(book, "replace_highlight");
+ plugin.load("./replace_highlight", PLUGINS_ROOT);
book.plugins.load(plugin);
}
diff --git a/test/plugins/highlight/package.json b/test/plugins/highlight/package.json
deleted file mode 100644
index 6b69488..0000000
--- a/test/plugins/highlight/package.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "name": "gitbook-plugin-highlight",
- "description": "Highlight coe blocks",
- "main": "index.js",
- "version": "0.0.1",
- "engines": {
- "gitbook": "*"
- }
-} \ No newline at end of file
diff --git a/test/plugins/highlight/index.js b/test/plugins/replace_highlight/index.js
index 25f9642..25f9642 100644
--- a/test/plugins/highlight/index.js
+++ b/test/plugins/replace_highlight/index.js
diff --git a/test/plugins/replace_highlight/package.json b/test/plugins/replace_highlight/package.json
new file mode 100644
index 0000000..72d1033
--- /dev/null
+++ b/test/plugins/replace_highlight/package.json
@@ -0,0 +1,9 @@
+{
+ "name": "gitbook-plugin-replace_highlight",
+ "description": "Test replacing default code highlighter",
+ "main": "index.js",
+ "version": "0.0.1",
+ "engines": {
+ "gitbook": "*"
+ }
+} \ No newline at end of file