summaryrefslogtreecommitdiffstats
path: root/js/tests/controllers/itemcontrollerSpec.coffee
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-03-08 21:53:54 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2014-03-08 21:54:06 +0100
commit69ba0a6f92795483c8e7f75c4c71d146a4d7d2a0 (patch)
tree93a49950bfd9ebdd3b6f4c9ddedf66d2525759e7 /js/tests/controllers/itemcontrollerSpec.coffee
parent9d323d22e1e4fb7305766fcd308c56b279146833 (diff)
dont collapse old item when opening a new one, fix #453
Diffstat (limited to 'js/tests/controllers/itemcontrollerSpec.coffee')
-rw-r--r--js/tests/controllers/itemcontrollerSpec.coffee10
1 files changed, 0 insertions, 10 deletions
diff --git a/js/tests/controllers/itemcontrollerSpec.coffee b/js/tests/controllers/itemcontrollerSpec.coffee
index 03b6bbc2e..7b2c50cb9 100644
--- a/js/tests/controllers/itemcontrollerSpec.coffee
+++ b/js/tests/controllers/itemcontrollerSpec.coffee
@@ -191,13 +191,3 @@ describe 'ItemController', ->
@Compact.handle(true)
expect(@scope.isCompactView()).toBe(true)
-
- it 'should toggle active ones and close old ones', =>
- expect(@scope.is.active).toBe(0)
-
- @scope.toggleOpen(3)
- expect(@scope.is.active).toBe(3)
-
- @scope.toggleOpen(3)
- expect(@scope.is.active).toBe(0)
-