summaryrefslogtreecommitdiffstats
path: root/js-old/tests/unit/service/OPMLImporterSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'js-old/tests/unit/service/OPMLImporterSpec.js')
-rw-r--r--js-old/tests/unit/service/OPMLImporterSpec.js31
1 files changed, 31 insertions, 0 deletions
diff --git a/js-old/tests/unit/service/OPMLImporterSpec.js b/js-old/tests/unit/service/OPMLImporterSpec.js
new file mode 100644
index 000000000..ea35a8f95
--- /dev/null
+++ b/js-old/tests/unit/service/OPMLImporterSpec.js
@@ -0,0 +1,31 @@
+/**
+ * Nextcloud - News
+ *
+ * This file is licensed under the Affero General Public License version 3 or
+ * later. See the COPYING file.
+ *
+ * @author Bernhard Posselt <dev@bernhard-posselt.com>
+ * @copyright Bernhard Posselt 2014
+ */
+describe('OPMLParser', function () {
+ 'use strict';
+
+ var importer;
+
+ beforeEach(module('News', function ($provide) {
+ $provide.value('BASE_URL', 'base');
+ $provide.value('ITEM_BATCH_SIZE', 3);
+ }));
+
+ beforeEach(inject(function (OPMLImporter) {
+ importer = OPMLImporter;
+ }));
+
+
+ // FIXME: tests missing
+ it ('should parse the correct amount of feeds and folders', function () {
+
+ });
+
+
+});