Skip to content

Commit

Permalink
One passing test.
Browse files Browse the repository at this point in the history
  • Loading branch information
obra committed Jul 31, 2012
1 parent 8f1bfe9 commit 9d07fbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/tests/test.dummy.js
Expand Up @@ -11,8 +11,8 @@ describe('Factoid plugin', function(){
describe('name memory', function(){ describe('name memory', function(){
it('should learn my name', function(){ it('should learn my name', function(){
var response = Rei.handleQuery("my name is Yoz"); var response = Rei.handleQuery("my name is Yoz");
console.log("Factoid response:", response); console.log("Factoid response:", response.responses);
response.factoids[0].should.equal(0); response.responses['factoids'][0].should.equal(1);
}); });
}); });
}); });

0 comments on commit 9d07fbe

Please sign in to comment.