Index: test/test_environment_view.js |
=== modified file 'test/test_environment_view.js' |
--- test/test_environment_view.js 2013-04-10 21:17:18 +0000 |
+++ test/test_environment_view.js 2013-04-19 18:28:51 +0000 |
@@ -128,11 +128,11 @@ |
view.render(); |
topo = view.topo; |
- topo.once('beforePageSizeRecalculation', function() { |
+ Y.once('beforePageSizeRecalculation', function() { |
// This event must be fired. |
beforeResizeEventFired = true; |
}); |
- topo.once('afterPageSizeRecalculation', function() { |
+ Y.once('afterPageSizeRecalculation', function() { |
// This event must be fired. |
assert.isTrue(beforeResizeEventFired); |
done(); |