@@ -134,13 +134,22 @@ describe('gulp-angular bower template', function () {
134134 var result = bower ( model ) ;
135135 result . should . not . match ( / b o o t s t r a p / ) ;
136136 result . should . not . match ( / f o u n d a t i o n / ) ;
137- result . should . not . match ( / m a t e r i a l / ) ;
137+ result . should . not . match ( / a n g u l a r - m a t e r i a l / ) ;
138+ result . should . not . match ( / m a t e r i a l - d e s i g n - l i t e / ) ;
138139
139140 model . props . ui . key = 'angular-material' ;
140141 result = bower ( model ) ;
141- result . should . match ( / m a t e r i a l / ) ;
142+ result . should . match ( / a n g u l a r - m a t e r i a l / ) ;
142143 result . should . not . match ( / b o o s t r a p / ) ;
143144 result . should . not . match ( / f o u n d a t i o n / ) ;
145+ result . should . not . match ( / m a t e r i a l - d e s i g n - l i t e / ) ;
146+
147+ model . props . ui . key = 'material-design-lite' ;
148+ result = bower ( model ) ;
149+ result . should . match ( / m a t e r i a l - d e s i g n - l i t e / ) ;
150+ result . should . not . match ( / b o o s t r a p / ) ;
151+ result . should . not . match ( / a n g u l a r - m a t e r i a l / ) ;
152+ result . should . not . match ( / f o u n d a t i o n / ) ;
144153
145154 model . props . ui . key = 'bootstrap' ;
146155 model . props . bootstrapComponents . key = 'ui-bootstrap' ;
@@ -149,30 +158,34 @@ describe('gulp-angular bower template', function () {
149158 result . should . match ( / a n g u l a r - b o o t s t r a p / ) ;
150159 result . should . not . match ( / " b o o t s t r a p " / ) ;
151160 result . should . not . match ( / f o u n d a t i o n / ) ;
152- result . should . not . match ( / m a t e r i a l / ) ;
161+ result . should . not . match ( / a n g u l a r - m a t e r i a l / ) ;
162+ result . should . not . match ( / m a t e r i a l - d e s i g n - l i t e / ) ;
153163
154164 model . props . bootstrapComponents . key = 'angular-strap' ;
155165 model . props . cssPreprocessor . extension = 'less' ;
156166 result = bower ( model ) ;
157167 result . should . match ( / " b o o t s t r a p " / ) ;
158168 result . should . match ( / a n g u l a r - s t r a p / ) ;
159169 result . should . not . match ( / f o u n d a t i o n / ) ;
160- result . should . not . match ( / m a t e r i a l / ) ;
170+ result . should . not . match ( / a n g u l a r - m a t e r i a l / ) ;
171+ result . should . not . match ( / m a t e r i a l - d e s i g n - l i t e / ) ;
161172
162173 model . props . bootstrapComponents . key = 'none' ;
163174 model . props . cssPreprocessor . extension = 'styl' ;
164175 result = bower ( model ) ;
165176 result . should . match ( / b o o t s t r a p - s t y l u s / ) ;
166177 result . should . not . match ( / f o u n d a t i o n / ) ;
167- result . should . not . match ( / m a t e r i a l / ) ;
178+ result . should . not . match ( / a n g u l a r - m a t e r i a l / ) ;
179+ result . should . not . match ( / m a t e r i a l - d e s i g n - l i t e / ) ;
168180
169181 model . props . ui . key = 'foundation' ;
170182 model . props . foundationComponents . key = 'angular-foundation' ;
171183 result = bower ( model ) ;
172184 result . should . match ( / " f o u n d a t i o n " / ) ;
173185 result . should . match ( / a n g u l a r - f o u n d a t i o n / ) ;
174186 result . should . not . match ( / b o o t s t r a p / ) ;
175- result . should . not . match ( / m a t e r i a l / ) ;
187+ result . should . not . match ( / a n g u l a r - m a t e r i a l / ) ;
188+ result . should . not . match ( / m a t e r i a l - d e s i g n - l i t e / ) ;
176189 } ) ;
177190
178191 it ( 'should add traceur runtime when needed' , function ( ) {
0 commit comments