@@ -1272,7 +1272,7 @@ describe('$location', function() {
1272
1272
1273
1273
1274
1274
it ( 'should not rewrite links with target="_blank"' , function ( ) {
1275
- configureService ( { linkHref : '/a?b=c' , html5Mode : true , supportHist : true , attrs : 'target="_blank"' } ) ;
1275
+ configureService ( { linkHref : 'base /a?b=c' , html5Mode : true , supportHist : true , attrs : 'target="_blank"' } ) ;
1276
1276
inject (
1277
1277
initBrowser ( ) ,
1278
1278
initLocation ( ) ,
@@ -1285,7 +1285,7 @@ describe('$location', function() {
1285
1285
1286
1286
1287
1287
it ( 'should not rewrite links with target specified' , function ( ) {
1288
- configureService ( { linkHref : '/a?b=c' , html5Mode : true , supportHist : true , attrs : 'target="some-frame"' } ) ;
1288
+ configureService ( { linkHref : 'base /a?b=c' , html5Mode : true , supportHist : true , attrs : 'target="some-frame"' } ) ;
1289
1289
inject (
1290
1290
initBrowser ( ) ,
1291
1291
initLocation ( ) ,
@@ -1480,7 +1480,7 @@ describe('$location', function() {
1480
1480
} ) ;
1481
1481
1482
1482
it ( 'should not rewrite when clicked with ctrl pressed' , function ( ) {
1483
- configureService ( { linkHref : '/a?b=c' , html5Mode : true , supportHist : true } ) ;
1483
+ configureService ( { linkHref : 'base /a?b=c' , html5Mode : true , supportHist : true } ) ;
1484
1484
inject (
1485
1485
initBrowser ( ) ,
1486
1486
initLocation ( ) ,
@@ -1493,7 +1493,7 @@ describe('$location', function() {
1493
1493
1494
1494
1495
1495
it ( 'should not rewrite when clicked with meta pressed' , function ( ) {
1496
- configureService ( { linkHref : '/a?b=c' , html5Mode : true , supportHist : true } ) ;
1496
+ configureService ( { linkHref : 'base /a?b=c' , html5Mode : true , supportHist : true } ) ;
1497
1497
inject (
1498
1498
initBrowser ( ) ,
1499
1499
initLocation ( ) ,
@@ -1505,7 +1505,7 @@ describe('$location', function() {
1505
1505
} ) ;
1506
1506
1507
1507
it ( 'should not rewrite when right click pressed' , function ( ) {
1508
- configureService ( { linkHref : '/a?b=c' , html5Mode : true , supportHist : true } ) ;
1508
+ configureService ( { linkHref : 'base /a?b=c' , html5Mode : true , supportHist : true } ) ;
1509
1509
inject (
1510
1510
initBrowser ( ) ,
1511
1511
initLocation ( ) ,
0 commit comments