Commit 8d809dba by David Baumgold

Remove commented-out code

parent 32a902ca
......@@ -349,7 +349,6 @@ describe "CMS.Views.UploadDialog", ->
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", ->
......@@ -359,7 +358,6 @@ describe "CMS.Views.UploadDialog", ->
@view.render()
expect(@view.$el).toContain("input[type=file]")
expect(@view.$el).not.toContain("#upload_error")
# expect(@view.$(".action-upload")).not.toBeDisabled()
expect(@view.$(".action-upload")).not.toHaveClass("disabled")
it "should render an error with an invalid file type selected", ->
......@@ -369,7 +367,6 @@ describe "CMS.Views.UploadDialog", ->
@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")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment