         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()

              when "ttf" then ["binary", "ttf-icon", "font"]
              when "gif" then ["binary", "gif-icon", "image"]

        openFile()

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

