mirror of
https://github.com/mattstyles/yeoman-angular-express-plus.git
synced 2026-01-09 14:38:07 -05:00
Sockets are passing tests
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
<div class="container" ng-view></div>
|
||||
|
||||
<!-- Scripts -->
|
||||
<script src="components/socket.io-client/dist/socket.io.js"></script>
|
||||
<script src="components/socket.io-client/dist/socket.io.min.js"></script>
|
||||
|
||||
<script src="components/angular/angular.js"></script>
|
||||
<script src="components/angular-resource/angular-resource.js"></script>
|
||||
|
||||
@@ -10,6 +10,8 @@ files = [
|
||||
'app/components/angular/angular.js',
|
||||
'app/components/angular-mocks/angular-mocks.js',
|
||||
'app/components/angular-bootstrap/*.js',
|
||||
'app/components/socket.io-client/dist/*js',
|
||||
'app/components/angular-socket-io/*.js',
|
||||
'app/scripts/*.js',
|
||||
'app/scripts/**/*.js',
|
||||
'test/mock/**/*.js',
|
||||
|
||||
@@ -19,8 +19,8 @@ describe( 'Controller: MainCtrl', function() {
|
||||
it( 'should attach a list of awesomeClientThings to the scope', function() {
|
||||
expect( scope.awesomeClientThings.length ).toBe( 8 );
|
||||
} );
|
||||
|
||||
|
||||
it( 'should attach a list of awesomeServerThings to the scope', function() {
|
||||
expect( scope.awesomeServerThings.length ).toBe( 2 );
|
||||
expect( scope.awesomeServerThings.length ).toBe( 3 );
|
||||
} );
|
||||
} );
|
||||
|
||||
Reference in New Issue
Block a user