@@ -644,13 +644,13 @@ module('Integration | card-basics', function (hooks) {
644
644
};
645
645
}
646
646
647
- let ref = { module: ` http://localhost:4202/test/ person` , name: ' Person' };
647
+ let ref = { module: ` ${ testRealmURL } person` , name: ' Person' };
648
648
let driver = new DriverCard ({ ref });
649
649
650
650
await renderCard (loader , driver , ' embedded' );
651
651
assert
652
652
.dom (' [data-test-ref]' )
653
- .containsText (` Module: http://localhost:4202/test/ person Name: Person ` );
653
+ .containsText (` Module: ${ testRealmURL } person Name: Person ` );
654
654
655
655
// is this worth an assertion? or is it just obvious?
656
656
assert .strictEqual (
@@ -670,17 +670,14 @@ module('Integration | card-basics', function (hooks) {
670
670
};
671
671
}
672
672
673
- let ref = { module: ` http://localhost:4202/test/ person` , name: ' Person' };
673
+ let ref = { module: ` ${ testRealmURL } person` , name: ' Person' };
674
674
let driver = new DriverCard ({ ref });
675
675
676
676
await renderCard (loader , driver , ' edit' );
677
677
678
678
assert
679
679
.dom (' [data-test-ref] input' )
680
- .hasValue (
681
- ` http://localhost:4202/test/person/Person ` ,
682
- ' input field is correct' ,
683
- );
680
+ .hasValue (` ${testRealmURL }person/Person ` , ' input field is correct' );
684
681
685
682
await fillIn (' [data-test-ref] input' , ' @cardstack' );
686
683
assert
0 commit comments