summaryrefslogtreecommitdiffstats
path: root/js/tests
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-04-13 22:48:31 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-04-13 22:48:31 +0200
commitce7cd121f42b093569d7a31fac3bcd5837429cff (patch)
tree5cbe7751eb4c53cffd0ea1cbd61be4104e212462 /js/tests
parent0fa0fb22c72653de35eb3ff8b9ffcf833a96e901 (diff)
fix import scoping issue that caused feeds not to be imported at times, set created folders to be opened by default
Diffstat (limited to 'js/tests')
-rw-r--r--js/tests/services/bl/folderblSpec.coffee3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/tests/services/bl/folderblSpec.coffee b/js/tests/services/bl/folderblSpec.coffee
index 8bb40033d..49f68634f 100644
--- a/js/tests/services/bl/folderblSpec.coffee
+++ b/js/tests/services/bl/folderblSpec.coffee
@@ -273,12 +273,13 @@ describe 'FolderBl', ->
</head>
<body>
<outline text="Design" title="Design" />
+ <outline text="test" title="test"></outline>
</body>
</opml>'
@FolderBl.import(xml)
- expect(@persistence.createFolder).toHaveBeenCalledWith('Design', 0,
+ expect(@persistence.createFolder).toHaveBeenCalledWith('test', 0,
jasmine.any(Function))
expect(@persistence.createFeed).not.toHaveBeenCalled()