             storage:
                 onAttrsChange: (x, y) ->
                     calls += 1
-                    assert.is x, 2
-                    assert.is y, 3
-
-        view.node.query('span').attrs.set 'x', 2
-        assert.is calls, 1
-
-    it 'attribute handler is not called if the document is not rendered', ->
-        source = createView '''
-            <neft:attr name="y" value="3" />
-            <span x="1" id="a1" onAttrsChange="${root.onAttrsChange()}" />
-        '''
-        view = source.clone()
-
-        calls = 0
-        renderParse view,
-            storage:
-                onAttrsChange: (x, y) ->
-                    calls += 1
 
         view.node.query('span').attrs.set 'x', 4
         assert.is calls, 1

            assert.is view.node.stringify(), '1'

        it 'on `root`', ->
            source = createView "${root.x}"
            view = source.clone()

            storage = new Dict x: 1

            assert.is view.node.stringify(), '2'

        it 'on `root` property', ->
            source = createView '${root.dict.x}'
            view = source.clone()

            storage = dict: new Dict x: 1
