@@ -56,7 +56,7 @@ describe('User Model', function() {
56
56
return < %= expect ( ) % > user . save ( ) < %= to ( ) % > . be . rejected ;
57
57
} ) ; < % if ( filters . oauth && filters . googleAuth ) { % >
58
58
59
- context ( 'given user provider is google' , function ( ) {
59
+ describe ( 'given user provider is google' , function ( ) {
60
60
beforeEach ( function ( ) {
61
61
user . provider = 'google' ;
62
62
} ) ;
@@ -67,7 +67,7 @@ describe('User Model', function() {
67
67
} ) ;
68
68
} ) ; < % } % > < % if ( filters . oauth && filters . facebookAuth ) { % >
69
69
70
- context ( 'given user provider is facebook' , function ( ) {
70
+ describe ( 'given user provider is facebook' , function ( ) {
71
71
beforeEach ( function ( ) {
72
72
user . provider = 'facebook' ;
73
73
} ) ;
@@ -78,7 +78,7 @@ describe('User Model', function() {
78
78
} ) ;
79
79
} ) ; < % } % > < % if ( filters . oauth && filters . twitterAuth ) { % >
80
80
81
- context ( 'given user provider is twitter' , function ( ) {
81
+ describe ( 'given user provider is twitter' , function ( ) {
82
82
beforeEach ( function ( ) {
83
83
user . provider = 'twitter' ;
84
84
} ) ;
@@ -89,7 +89,7 @@ describe('User Model', function() {
89
89
} ) ;
90
90
} ) ; < % } % > < % if ( filters . oauth ) { % >
91
91
92
- context ( 'given user provider is github' , function ( ) {
92
+ describe ( 'given user provider is github' , function ( ) {
93
93
beforeEach ( function ( ) {
94
94
user . provider = 'github' ;
95
95
} ) ;
@@ -117,7 +117,7 @@ describe('User Model', function() {
117
117
return < %= expect ( ) % > user . save ( ) < %= to ( ) % > . be . rejected ;
118
118
} ) ;
119
119
120
- context ( 'given the user has been previously saved' , function ( ) {
120
+ describe ( 'given the user has been previously saved' , function ( ) {
121
121
beforeEach ( function ( ) {
122
122
return user . save ( ) ;
123
123
} ) ;
@@ -139,7 +139,7 @@ describe('User Model', function() {
139
139
} ) ;
140
140
} ) ; < % if ( filters . oauth && filters . googleAuth ) { % >
141
141
142
- context ( 'given user provider is google' , function ( ) {
142
+ describe ( 'given user provider is google' , function ( ) {
143
143
beforeEach ( function ( ) {
144
144
user . provider = 'google' ;
145
145
} ) ;
@@ -150,7 +150,7 @@ describe('User Model', function() {
150
150
} ) ;
151
151
} ) ; < % } % > < % if ( filters . oauth && filters . facebookAuth ) { % >
152
152
153
- context ( 'given user provider is facebook' , function ( ) {
153
+ describe ( 'given user provider is facebook' , function ( ) {
154
154
beforeEach ( function ( ) {
155
155
user . provider = 'facebook' ;
156
156
} ) ;
@@ -161,7 +161,7 @@ describe('User Model', function() {
161
161
} ) ;
162
162
} ) ; < % } % > < % if ( filters . oauth && filters . twitterAuth ) { % >
163
163
164
- context ( 'given user provider is twitter' , function ( ) {
164
+ describe ( 'given user provider is twitter' , function ( ) {
165
165
beforeEach ( function ( ) {
166
166
user . provider = 'twitter' ;
167
167
} ) ;
@@ -172,7 +172,7 @@ describe('User Model', function() {
172
172
} ) ;
173
173
} ) ; < % } % > < % if ( filters . oauth ) { % >
174
174
175
- context ( 'given user provider is github' , function ( ) {
175
+ describe ( 'given user provider is github' , function ( ) {
176
176
beforeEach ( function ( ) {
177
177
user . provider = 'github' ;
178
178
} ) ;
0 commit comments