diff options
Diffstat (limited to 'js/tests/services/opmlparserSpec.coffee')
-rw-r--r-- | js/tests/services/opmlparserSpec.coffee | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/js/tests/services/opmlparserSpec.coffee b/js/tests/services/opmlparserSpec.coffee index ffdd383ff..ad40fc6dc 100644 --- a/js/tests/services/opmlparserSpec.coffee +++ b/js/tests/services/opmlparserSpec.coffee @@ -21,16 +21,16 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>. ### -describe '_OPMLParser', -> +describe 'OPMLParser', -> beforeEach module 'News' - beforeEach inject (@_OPMLParser) => - @parser = new @_OPMLParser() + beforeEach inject (@OPMLParser) => + it 'should return only the root folder when parsing empty OPML', => - @data = @parser.parseXML('') + @data = @OPMLParser.parseXML('') expect(@data.getName()).toBe('root') -
\ No newline at end of file + # TODO: write rest
\ No newline at end of file |