@dhyasama/totem-models 6.17.2 → 6.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "6.17.2",
3
+ "version": "6.18.0",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",
@@ -70,7 +70,7 @@ describe('Organization', function() {
70
70
  org2.name = 'No Thanks 2';
71
71
  org2.slug = 'org2-slug';
72
72
  org2.website = 'nothanks2.org';
73
- org2.websiteAliases = ['myolddomain.tld'];
73
+ org2.websiteAliases = ['myolddomain.ch'];
74
74
  org2.related = [];
75
75
  org2.aliases.push('NT2');
76
76
  org2.crunchbase.uuid = 'abc';
@@ -899,7 +899,7 @@ describe('Organization', function() {
899
899
  });
900
900
 
901
901
  it('finds org by domain alias', function (done) {
902
- Organization.findByDomains(['doesnotexist.io', 'myolddomain.tld'], function (err, result) {
902
+ Organization.findByDomains(['doesnotexist.io', 'myolddomain.ch'], function (err, result) {
903
903
  should.not.exist(err);
904
904
  should.exist(result);
905
905
  result.length.should.equal(1);
@@ -1327,11 +1327,11 @@ describe('Organization', function() {
1327
1327
 
1328
1328
  config.CUSTOMER_ID = customer2._id.toString();
1329
1329
 
1330
- var org2 = new Organization();
1331
- org2.name = 'Newest Co';
1332
- org2.slug = 'newest-co';
1330
+ var org6 = new Organization();
1331
+ org6.name = 'Newest Co';
1332
+ org6.slug = 'newest-co';
1333
1333
 
1334
- Organization.upsert(org2, 'test-user', function(err, result1) {
1334
+ Organization.upsert(org6, 'test-user', function(err, result1) {
1335
1335
 
1336
1336
  should.not.exist(err);
1337
1337
  should.exist(result1);