@@ -30,7 +30,7 @@ describe('DS.findAll(resourceName, params[, options]): ', function () {
30
30
} ) ;
31
31
} ) ;
32
32
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 ] ) ;
34
34
35
35
DS . findAll ( 'post' , { } ) . then ( function ( data ) {
36
36
assert . deepEqual ( data , [ p1 , p2 , p3 , p4 ] ) ;
@@ -63,7 +63,7 @@ describe('DS.findAll(resourceName, params[, options]): ', function () {
63
63
fail ( 'Should not have rejected!' ) ;
64
64
} ) ;
65
65
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 ] ) ;
67
67
68
68
// Should make a request because bypassCache is set to true
69
69
DS . findAll ( 'post' , { } , { bypassCache : true } ) . then ( function ( data ) {
@@ -76,7 +76,7 @@ describe('DS.findAll(resourceName, params[, options]): ', function () {
76
76
$httpBackend . flush ( ) ;
77
77
} ) ;
78
78
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 ] ) ;
80
80
81
81
DS . findAll ( 'post' , { } , { cacheResponse : false } ) . then ( function ( data ) {
82
82
assert . deepEqual ( data , [ p1 , p2 , p3 , p4 ] ) ;
0 commit comments