不要怂,就是干,撸起袖子干!

Commit 4a8c9d77 by Jochem Maas

fix a test - bad model property name used, namely "name" when it should have bee…

…n "username" (note that this broken test has nothing to do with the changes in this branch :-/)
1 parent 14b5c273
Showing with 2 additions and 2 deletions
......@@ -984,8 +984,8 @@ describe(Helpers.getTestDialectTeaser("DAOFactory"), function() {
]
, done = _.after(2 * permutations.length, _done);
this.User.create({name: 'jack'}).success(function (jack) {
this.User.create({name: 'jill'}).success(function (jill) {
this.User.create({username: 'jack'}).success(function (jack) {
this.User.create({username: 'jill'}).success(function (jill) {
permutations.forEach(function(perm) {
this.User.find(perm).done(function(err, user) {
expect(err).toBeNull();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!