         FileIcons.setService
           iconClassForPath: (path, context) -> "icon-" + context
 
+        openFile()
+
         waitsFor ->
           archiveEditor.element.querySelectorAll('.entry').length > 0
 

        jasmine.attachToDOM(atom.views.getView(atom.workspace))

    describe "Icon service", ->
      it "provides a default service", ->
        expect(FileIcons.getService()).toBeDefined()
        expect(FileIcons.getService()).not.toBeNull()

        expect(findEntryContainingText('font.ttf').querySelector('.file.icon').className).toBe("file icon binary ttf-icon font")

      it "displays default file-icons", ->
        openFile()

        waitsFor ->
          archiveEditor.element.querySelectorAll('.entry').length > 0

