Remove assertion for impossible situation

We were testing the behavior of returning the active pane by removing
the active class from its view. But "active" is a model-level concept
now, so this assertion makes no sense.
This commit is contained in:
Nathan Sobo 2014-01-10 15:28:17 -07:00
parent c7fded0d7f
commit 23e805fe9e

View File

@ -71,10 +71,6 @@ describe "PaneContainer", ->
expect(container.getFocusedPane()).toBe pane3
expect(container.getActivePane()).toBe pane3
# returns the first pane if none have been set to active
container.find('.pane.active').removeClass('active')
expect(container.getActivePane()).toBe pane1
describe ".eachPane(callback)", ->
it "runs the callback with all current and future panes until the subscription is cancelled", ->
panes = []