Skip to content

Instantly share code, notes, and snippets.

@oren
Created October 3, 2013 01:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save oren/6803198 to your computer and use it in GitHub Desktop.
Save oren/6803198 to your computer and use it in GitHub Desktop.
diff --git a/tests/models/listing_test.js b/tests/models/listing_test.js
index 14c3d14..c04b7a6 100644
--- a/tests/models/listing_test.js
+++ b/tests/models/listing_test.js
@@ -10,6 +10,7 @@ var dict = {
'Name': 'CPK',
'HeadingText': 'Restaurants',
'PrimaryCollection': 'food',
+ 'Personalization.TotalNotes': '10'
};
module.exports = {
@@ -22,6 +23,7 @@ module.exports = {
test.equal('CPK', l.name);
test.equal(l.primaryCategory, 'Restaurants');
test.equal(l.primaryCollectionCode, 'food');
+ test.equal(l.notesTotal, 10);
test.done();
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment