Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Commit

Permalink
Fixed statement for accessing controller from test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Catera committed Nov 30, 2012
1 parent 216b8ce commit 64c50bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/dev_guide/topics/mojito_testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ using ``Y.mojito.controllers[NAME]``.
suite.add(new YUITest.TestCase({
name: 'Foo tests',
setUp: function() {
controller = Y.mojito.controllers[NAME];
controller = Y.mojito.controllers.Foo;
},
tearDown: function() {
controller = null;
Expand Down

0 comments on commit 64c50bb

Please sign in to comment.