@@ -83,7 +83,7 @@ describe('Acceptance: ng github-pages:deploy', function() {
83
83
let indexHtml = path . join ( process . cwd ( ) , 'index.html' ) ;
84
84
return fsReadFile ( indexHtml , 'utf8' ) ;
85
85
} )
86
- . then ( ( data ) => expect ( data . search ( `<base href="/${ project } />" ` ) ) . to . not . equal ( - 1 ) ) ;
86
+ . then ( ( data ) => expect ( data . search ( `<base href="/${ project } /"> ` ) ) . to . not . equal ( - 1 ) ) ;
87
87
} ) ;
88
88
89
89
it ( 'should deploy with changed defaults' , function ( ) {
@@ -106,7 +106,7 @@ describe('Acceptance: ng github-pages:deploy', function() {
106
106
let indexHtml = path . join ( process . cwd ( ) , 'index.html' ) ;
107
107
return fsReadFile ( indexHtml , 'utf8' ) ;
108
108
} )
109
- . then ( ( data ) => expect ( data . search ( `<base href="/${ project } />" ` ) ) . to . not . equal ( - 1 ) ) ;
109
+ . then ( ( data ) => expect ( data . search ( `<base href="/${ project } /"> ` ) ) . to . not . equal ( - 1 ) ) ;
110
110
} ) ;
111
111
112
112
it ( 'should create branch if needed' , function ( ) {
@@ -130,7 +130,7 @@ describe('Acceptance: ng github-pages:deploy', function() {
130
130
let indexHtml = path . join ( process . cwd ( ) , 'index.html' ) ;
131
131
return fsReadFile ( indexHtml , 'utf8' ) ;
132
132
} )
133
- . then ( ( data ) => expect ( data . search ( `<base href="/${ project } />" ` ) ) . to . not . equal ( - 1 ) ) ;
133
+ . then ( ( data ) => expect ( data . search ( `<base href="/${ project } /"> ` ) ) . to . not . equal ( - 1 ) ) ;
134
134
} ) ;
135
135
136
136
it ( 'should create repo if needed' , function ( ) {
@@ -187,7 +187,7 @@ describe('Acceptance: ng github-pages:deploy', function() {
187
187
let indexHtml = path . join ( process . cwd ( ) , 'index.html' ) ;
188
188
return fsReadFile ( indexHtml , 'utf8' ) ;
189
189
} )
190
- . then ( ( data ) => expect ( data . search ( `<base href="/${ project } />" ` ) ) . to . not . equal ( - 1 ) )
190
+ . then ( ( data ) => expect ( data . search ( `<base href="/${ project } /"> ` ) ) . to . not . equal ( - 1 ) )
191
191
. then ( ( ) => httpsStub . restore ( ) ) ;
192
192
} ) ;
193
193
0 commit comments