Support for "Only show overridden" in site text customization

This commit is contained in:
Robin Ward
2015-11-30 15:22:58 -05:00
parent 04593b8fef
commit de88be2fbc
17 changed files with 119 additions and 35 deletions
+1 -1
View File
@@ -116,7 +116,6 @@ test('destroyRecord when new', function(assert) {
});
});
test('find embedded', function(assert) {
const store = createStore();
return store.find('fruit', 2).then(function(f) {
@@ -136,6 +135,7 @@ test('findAll embedded', function(assert) {
return store.findAll('fruit').then(function(fruits) {
assert.equal(fruits.objectAt(0).get('farmer.name'), 'Old MacDonald');
assert.equal(fruits.objectAt(0).get('farmer'), fruits.objectAt(1).get('farmer'), 'points at the same object');
assert.equal(fruits.get('extras.hello'), 'world', 'it can supply extra information');
const fruitCols = fruits.objectAt(0).get('colors');
assert.equal(fruitCols.length, 2);