@@ -66,6 +66,8 @@ describe('Acceptance: ng github-pages:deploy', function() {
66
66
. addExecSuccess ( 'git rev-parse --abbrev-ref HEAD' , initialBranch )
67
67
. addExecSuccess ( 'git remote -v' , remote )
68
68
. addExecSuccess ( `git checkout ${ ghPagesBranch } ` )
69
+ . addExecSuccess ( 'git ls-files' )
70
+ . addExecSuccess ( 'git rm -r ' )
69
71
. addExecSuccess ( 'git add .' )
70
72
. addExecSuccess ( `git commit -m "${ message } "` )
71
73
. addExecSuccess ( `git checkout ${ initialBranch } ` )
@@ -83,6 +85,8 @@ describe('Acceptance: ng github-pages:deploy', function() {
83
85
. addExecSuccess ( 'git rev-parse --abbrev-ref HEAD' , initialBranch )
84
86
. addExecSuccess ( 'git remote -v' , remote )
85
87
. addExecSuccess ( `git checkout ${ ghPagesBranch } ` )
88
+ . addExecSuccess ( 'git ls-files' )
89
+ . addExecSuccess ( 'git rm -r ' )
86
90
. addExecSuccess ( 'git add .' )
87
91
. addExecSuccess ( `git commit -m "${ message } "` )
88
92
. addExecSuccess ( `git checkout ${ initialBranch } ` )
@@ -102,6 +106,8 @@ describe('Acceptance: ng github-pages:deploy', function() {
102
106
. addExecSuccess ( 'git add .gitignore' )
103
107
. addExecSuccess ( 'git clean -f -d' )
104
108
. addExecSuccess ( `git commit -m \"initial ${ ghPagesBranch } commit\"` )
109
+ . addExecSuccess ( 'git ls-files' )
110
+ . addExecSuccess ( 'git rm -r ' )
105
111
. addExecSuccess ( 'git add .' )
106
112
. addExecSuccess ( `git commit -m "${ message } "` )
107
113
. addExecSuccess ( `git checkout ${ initialBranch } ` )
@@ -122,6 +128,8 @@ describe('Acceptance: ng github-pages:deploy', function() {
122
128
. addExecSuccess ( `git remote add origin [email protected] :${ username } /${ project } .git` )
123
129
. addExecSuccess ( `git push -u origin ${ initialBranch } ` )
124
130
. addExecSuccess ( `git checkout ${ ghPagesBranch } ` )
131
+ . addExecSuccess ( 'git ls-files' )
132
+ . addExecSuccess ( 'git rm -r ' )
125
133
. addExecSuccess ( 'git add .' )
126
134
. addExecSuccess ( `git commit -m "${ message } "` )
127
135
. addExecSuccess ( `git checkout ${ initialBranch } ` )
@@ -220,6 +228,8 @@ describe('Acceptance: ng github-pages:deploy', function() {
220
228
. addExecSuccess ( 'git rev-parse --abbrev-ref HEAD' , initialBranch )
221
229
. addExecSuccess ( 'git remote -v' , remote )
222
230
. addExecSuccess ( `git checkout ${ ghPagesBranch } ` )
231
+ . addExecSuccess ( 'git ls-files' )
232
+ . addExecSuccess ( 'git rm -r ' )
223
233
. addExecSuccess ( 'git add .' )
224
234
. addExecSuccess ( `git commit -m "${ message } "` )
225
235
. addExecError ( `git checkout ${ initialBranch } ` , 'error: cannot stat \'src/client\': Permission denied' ) ;
0 commit comments