@@ -761,11 +761,11 @@ describe('model', function() {
761761
762762 var $httpBackend ;
763763
764- beforeEach ( inject ( function ( $injector ) {
764+ beforeEach ( inject ( function ( $injector ) {
765765 $httpBackend = $injector . get ( '$httpBackend' ) ;
766766 } ) ) ;
767767
768- afterEach ( function ( ) {
768+ afterEach ( function ( ) {
769769 $httpBackend . verifyNoOutstandingExpectation ( ) ;
770770 $httpBackend . verifyNoOutstandingRequest ( ) ;
771771 } ) ;
@@ -775,15 +775,15 @@ describe('model', function() {
775775
776776 describe ( 'when a relation, resource and href are provided' , function ( ) {
777777 beforeEach ( inject ( function ( $rootScope , $compile ) {
778- elm = angular . element ( '<link rel=" resource" name=" Messages" href=" /api-of-your-system/Messages" >' ) ;
778+ elm = angular . element ( '<link rel=\' resource\' name=\' Messages\' href=\' /api-of-your-system/Messages\' >' ) ;
779779
780780 scope = $rootScope ;
781781
782782 $compile ( elm ) ( scope ) ;
783783 scope . $digest ( ) ;
784784 } ) ) ;
785785
786- it ( " assigns the model's URL from the href attribute" , inject ( function ( model ) {
786+ it ( ' assigns the model\ 's URL from the href attribute' , inject ( function ( model ) {
787787 var message = model ( 'Messages' ) . create ( {
788788 content : 'Hello!'
789789 } ) ;
@@ -797,15 +797,15 @@ describe('model', function() {
797797
798798 describe ( 'when rel !== resource' , function ( ) {
799799 beforeEach ( inject ( function ( $rootScope , $compile ) {
800- elm = angular . element ( '<link rel=" other" name=" Messages" href=" /api-of-your-system/Messages" >' ) ;
800+ elm = angular . element ( '<link rel=\' other\' name=\' Messages\' href=\' /api-of-your-system/Messages\' >' ) ;
801801
802802 scope = $rootScope ;
803803
804804 $compile ( elm ) ( scope ) ;
805805 scope . $digest ( ) ;
806806 } ) ) ;
807807
808- it ( " is ignored" , inject ( function ( model ) {
808+ it ( ' is ignored' , inject ( function ( model ) {
809809 expect ( model ( 'Messages' ) ) . toBeUndefined ( ) ;
810810 } ) ) ;
811811 } ) ;
0 commit comments