@@ -30,7 +30,7 @@ describe('DS.findAll(resourceName, params[, options]): ', function () {
3030 } ) ;
3131 } ) ;
3232 it ( 'should query the server for a collection' , function ( ) {
33- $httpBackend . expectGET ( / h t t p : \/ \/ t e s t \. a n g u l a r - c a c h e \. c o m \/ p o s t s ? \ ?/ ) . respond ( 200 , [ p1 , p2 , p3 , p4 ] ) ;
33+ $httpBackend . expectGET ( / h t t p : \/ \/ t e s t \. a n g u l a r - c a c h e \. c o m \/ p o s t s \? ? / ) . respond ( 200 , [ p1 , p2 , p3 , p4 ] ) ;
3434
3535 DS . findAll ( 'post' , { } ) . then ( function ( data ) {
3636 assert . deepEqual ( data , [ p1 , p2 , p3 , p4 ] ) ;
@@ -63,7 +63,7 @@ describe('DS.findAll(resourceName, params[, options]): ', function () {
6363 fail ( 'Should not have rejected!' ) ;
6464 } ) ;
6565
66- $httpBackend . expectGET ( / h t t p : \/ \/ t e s t \. a n g u l a r - c a c h e \. c o m \/ p o s t s ? \ ?/ ) . respond ( 200 , [ p1 , p2 , p3 , p4 ] ) ;
66+ $httpBackend . expectGET ( / h t t p : \/ \/ t e s t \. a n g u l a r - c a c h e \. c o m \/ p o s t s \? ? / ) . respond ( 200 , [ p1 , p2 , p3 , p4 ] ) ;
6767
6868 // Should make a request because bypassCache is set to true
6969 DS . findAll ( 'post' , { } , { bypassCache : true } ) . then ( function ( data ) {
@@ -76,7 +76,7 @@ describe('DS.findAll(resourceName, params[, options]): ', function () {
7676 $httpBackend . flush ( ) ;
7777 } ) ;
7878 it ( 'should query the server for a collection but not store the data if cacheResponse is false' , function ( ) {
79- $httpBackend . expectGET ( / h t t p : \/ \/ t e s t \. a n g u l a r - c a c h e \. c o m \/ p o s t s ? \ ?/ ) . respond ( 200 , [ p1 , p2 , p3 , p4 ] ) ;
79+ $httpBackend . expectGET ( / h t t p : \/ \/ t e s t \. a n g u l a r - c a c h e \. c o m \/ p o s t s \? ? / ) . respond ( 200 , [ p1 , p2 , p3 , p4 ] ) ;
8080
8181 DS . findAll ( 'post' , { } , { cacheResponse : false } ) . then ( function ( data ) {
8282 assert . deepEqual ( data , [ p1 , p2 , p3 , p4 ] ) ;
0 commit comments