@@ -7,6 +7,7 @@ import JSONAPIAdapter from 'ember-data/adapters/json-api';
7
7
import JSONAPISerializer from 'ember-data/serializers/json-api' ;
8
8
import { attr , belongsTo } from '@ember-decorators/data' ;
9
9
import { run } from '@ember/runloop' ;
10
+ import todo from '../../helpers/todo' ;
10
11
11
12
class Person extends Model {
12
13
@attr name ;
@@ -40,7 +41,7 @@ module('integration/load - Loading Records', function(hooks) {
40
41
} ) ;
41
42
} ) ;
42
43
43
- test ( 'Empty records remain in the empty state while data is being fetched' , async function ( assert ) {
44
+ todo ( 'Empty records remain in the empty state while data is being fetched' , async function ( assert ) {
44
45
let payloads = [
45
46
{
46
47
data : {
@@ -125,7 +126,7 @@ module('integration/load - Loading Records', function(hooks) {
125
126
let recordPromise = store . findRecord ( 'person' , '1' ) ;
126
127
127
128
// test that during the initial load our state is correct
128
- assert . equal (
129
+ assert . todo . equal (
129
130
internalModel . isEmpty ( ) ,
130
131
true ,
131
132
'awaiting first fetch: We remain in the empty state'
@@ -180,7 +181,7 @@ module('integration/load - Loading Records', function(hooks) {
180
181
181
182
// test that during a reload-due-to-unload our state is correct
182
183
// This requires a retainer (the async bestFriend relationship)
183
- assert . equal ( internalModel . isEmpty ( ) , true , 'awaiting second find: We remain empty' ) ;
184
+ assert . todo . equal ( internalModel . isEmpty ( ) , true , 'awaiting second find: We remain empty' ) ;
184
185
assert . equal ( internalModel . isLoading ( ) , true , 'awaiting second find: We are loading again' ) ;
185
186
assert . equal ( internalModel . isReloading , false , 'awaiting second find: We are not reloading' ) ;
186
187
0 commit comments