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

Commit e9c2e1dd by Sascha Depold

fixed attribute selection in test

1 parent af1396b9
Showing with 2 additions and 2 deletions
......@@ -364,13 +364,13 @@ describe("[" + dialect.toUpperCase() + "] DAOFactory", function() {
})
})
it('//returns the selected fields as instance.selectedValues', function(done) {
it('returns the selected fields as instance.selectedValues', function(done) {
this.User.create({
username: 'JohnXOXOXO'
}).success(function() {
this.User.find({
where: { username: 'JohnXOXOXO' },
select: ['username']
attributes: ['username']
}).success(function(user) {
expect(user.selectedValues).toEqual({ username: 'JohnXOXOXO' })
done()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!