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

Commit

Permalink
Updated test's expected error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
aljimenez committed Jun 20, 2014
1 parent dbe6612 commit 33084fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/unit/lib/app/autoload/test-action-context.common.js
Expand Up @@ -745,6 +745,7 @@ YUI().use('mojito-action-context', 'test', function (Y) {
instance: {
id: 'id',
type: 'TypeGeneral',
controller: 'GeneralController',
acAddons: [],
views: {}
}
Expand All @@ -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() {
Expand Down

0 comments on commit 33084fe

Please sign in to comment.