@@ -80,7 +80,7 @@ describe('Angular generator', function () {
80
80
} ) ;
81
81
} ) ;
82
82
83
- it ( 'creates coffeescript files' , function ( done ) {
83
+ it ( 'creates CoffeeScript files' , function ( done ) {
84
84
helpers . mockPrompt ( angular , mockPrompts ) ;
85
85
86
86
angular . env . options . coffee = true ;
@@ -125,7 +125,7 @@ describe('Angular generator', function () {
125
125
angularGenerator = helpers . createGenerator ( 'angular:' + generatorType , deps , [ name ] , genOptions ) ;
126
126
127
127
helpers . mockPrompt ( angular , mockPrompts ) ;
128
- angular . run ( [ ] , function ( ) {
128
+ angular . run ( [ ] , function ( ) {
129
129
angularGenerator . run ( [ ] , function ( ) {
130
130
assert . fileContent ( [
131
131
[
@@ -190,11 +190,9 @@ describe('Angular generator', function () {
190
190
angularView = helpers . createGenerator ( 'angular:view' , deps , [ 'foo' ] , genOptions ) ;
191
191
192
192
helpers . mockPrompt ( angular , mockPrompts ) ;
193
- angular . run ( [ ] , function ( ) {
193
+ angular . run ( [ ] , function ( ) {
194
194
angularView . run ( [ ] , function ( ) {
195
- helpers . assertFile (
196
- [ 'app/views/foo.html' ]
197
- ) ;
195
+ helpers . assertFile ( [ 'app/views/foo.html' ] ) ;
198
196
done ( ) ;
199
197
} ) ;
200
198
} ) ;
@@ -206,11 +204,9 @@ describe('Angular generator', function () {
206
204
angularView = helpers . createGenerator ( 'angular:view' , deps , [ 'foo/bar' ] , genOptions ) ;
207
205
208
206
helpers . mockPrompt ( angular , mockPrompts ) ;
209
- angular . run ( [ ] , function ( ) {
207
+ angular . run ( [ ] , function ( ) {
210
208
angularView . run ( [ ] , function ( ) {
211
- helpers . assertFile (
212
- [ 'app/views/foo/bar.html' ]
213
- ) ;
209
+ helpers . assertFile ( [ 'app/views/foo/bar.html' ] ) ;
214
210
done ( ) ;
215
211
} ) ;
216
212
} ) ;
0 commit comments