Permalink
Browse files

Updated test's expected error message.

  • Loading branch information...
1 parent dbe6612 commit 33084fe614bc804110bb6129b63bf2e77c9012a3 @aljimenez aljimenez committed Jun 20, 2014
Showing with 2 additions and 1 deletion.
  1. +2 −1 tests/unit/lib/app/autoload/test-action-context.common.js
@@ -745,6 +745,7 @@ YUI().use('mojito-action-context', 'test', function (Y) {
instance: {
id: 'id',
type: 'TypeGeneral',
+ controller: 'GeneralController',
acAddons: [],
views: {}
}
@@ -764,7 +765,7 @@ YUI().use('mojito-action-context', 'test', function (Y) {
error = err;
}
A.isNotUndefined(error);
- A.areSame("No method 'index' on controller type 'TypeGeneral'", error.message.toString());
+ A.areSame('Action "index" not defined by the controller named "GeneralController" of the "TypeGeneral" mojit.', error.message.toString());
},
'test controller __call': function() {

0 comments on commit 33084fe

Please sign in to comment.