Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

One passing test.

  • Loading branch information...
commit 9d07fbecbac5d87b8152dcb96c80ef91760f3f36 1 parent 8f1bfe9
@obra authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/tests/test.dummy.js
View
4 app/tests/test.dummy.js
@@ -11,8 +11,8 @@ describe('Factoid plugin', function(){
describe('name memory', function(){
it('should learn my name', function(){
var response = Rei.handleQuery("my name is Yoz");
- console.log("Factoid response:", response);
- response.factoids[0].should.equal(0);
+ console.log("Factoid response:", response.responses);
+ response.responses['factoids'][0].should.equal(1);
});
});
});
Please sign in to comment.
Something went wrong with that request. Please try again.