Verify the buttons individually in the spec

The outer expand-collapse element is no longer in the view.
This commit is contained in:
Kevin Sawicki
2013-04-16 13:56:05 -07:00
parent fe5d73c02a
commit bc99e72b3d

View File

@@ -139,7 +139,8 @@ describe "CommandPanel", ->
expect(commandPanel.previewList).toBeVisible()
it "shows the expand and collapse all buttons", ->
expect(commandPanel.find('.expand-collapse')).toBeVisible()
expect(commandPanel.collapseAll).toBeVisible()
expect(commandPanel.expandAll).toBeVisible()
describe "when the preview list is focused", ->
it "hides the command panel", ->