         it "should render without a file selected", ->
             @view.render()
             expect(@view.$el).toContain("input[type=file]")
-            # expect(@view.$(".action-upload")).toBeDisabled()
             expect(@view.$(".action-upload")).toHaveClass("disabled")
 
         it "should render with a PDF selected", ->

            @view.render()
            expect(@view.$el).toContain("input[type=file]")
            expect(@view.$el).toContain("#upload_error")
            # expect(@view.$(".action-upload")).toBeDisabled()
            expect(@view.$(".action-upload")).toHaveClass("disabled")



            @view.render()
            expect(@view.$el).toContain("input[type=file]")
            expect(@view.$el).not.toContain("#upload_error")
            expect(@view.$(".action-upload")).not.toHaveClass("disabled")

        it "should render an error with an invalid file type selected", ->
