summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-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