@@ -153,10 +153,10 @@ describe('OAuthNativeIntegration', function () {
153153 expect ( model . getServiceName ( ) ) . toBe ( 'Firefox Relay' ) ;
154154 } ) ;
155155
156- it ( 'returns AI Window service name for aiwindow service' , ( ) => {
156+ it ( 'returns Smart Window service name for smartwindow service' , ( ) => {
157157 model . clientInfo = mockClientInfo ( OAuthNativeClients . FirefoxDesktop ) ;
158- model . data . service = OAuthNativeServices . AiWindow ;
159- expect ( model . getServiceName ( ) ) . toBe ( 'Firefox AI Window' ) ;
158+ model . data . service = OAuthNativeServices . SmartWindow ;
159+ expect ( model . getServiceName ( ) ) . toBe ( 'Firefox Smart Window' ) ;
160160 } ) ;
161161 } ) ;
162162
@@ -173,30 +173,30 @@ describe('OAuthNativeIntegration', function () {
173173 expect ( model . isFirefoxClientServiceRelay ( ) ) . toBe ( false ) ;
174174 } ) ;
175175
176- it ( 'returns false when service is aiwindow ' , ( ) => {
176+ it ( 'returns false when service is smartwindow ' , ( ) => {
177177 model . clientInfo = mockClientInfo ( OAuthNativeClients . FirefoxDesktop ) ;
178- model . data . service = OAuthNativeServices . AiWindow ;
178+ model . data . service = OAuthNativeServices . SmartWindow ;
179179 expect ( model . isFirefoxClientServiceRelay ( ) ) . toBe ( false ) ;
180180 } ) ;
181181 } ) ;
182182
183- describe ( 'isFirefoxClientServiceAiWindow ' , ( ) => {
184- it ( 'returns true when service is aiwindow ' , ( ) => {
183+ describe ( 'isFirefoxClientServiceSmartWindow ' , ( ) => {
184+ it ( 'returns true when service is smartwindow ' , ( ) => {
185185 model . clientInfo = mockClientInfo ( OAuthNativeClients . FirefoxDesktop ) ;
186- model . data . service = OAuthNativeServices . AiWindow ;
187- expect ( model . isFirefoxClientServiceAiWindow ( ) ) . toBe ( true ) ;
186+ model . data . service = OAuthNativeServices . SmartWindow ;
187+ expect ( model . isFirefoxClientServiceSmartWindow ( ) ) . toBe ( true ) ;
188188 } ) ;
189189
190190 it ( 'returns false when service is sync' , ( ) => {
191191 model . clientInfo = mockClientInfo ( OAuthNativeClients . FirefoxDesktop ) ;
192192 model . data . service = OAuthNativeServices . Sync ;
193- expect ( model . isFirefoxClientServiceAiWindow ( ) ) . toBe ( false ) ;
193+ expect ( model . isFirefoxClientServiceSmartWindow ( ) ) . toBe ( false ) ;
194194 } ) ;
195195
196196 it ( 'returns false when service is relay' , ( ) => {
197197 model . clientInfo = mockClientInfo ( OAuthNativeClients . FirefoxDesktop ) ;
198198 model . data . service = OAuthNativeServices . Relay ;
199- expect ( model . isFirefoxClientServiceAiWindow ( ) ) . toBe ( false ) ;
199+ expect ( model . isFirefoxClientServiceSmartWindow ( ) ) . toBe ( false ) ;
200200 } ) ;
201201 } ) ;
202202
@@ -218,9 +218,9 @@ describe('OAuthNativeIntegration', function () {
218218 expect ( model . isFirefoxNonSync ( ) ) . toBe ( true ) ;
219219 } ) ;
220220
221- it ( 'returns true when service is aiwindow ' , ( ) => {
221+ it ( 'returns true when service is smartwindow ' , ( ) => {
222222 model . clientInfo = mockClientInfo ( OAuthNativeClients . FirefoxDesktop ) ;
223- model . data . service = OAuthNativeServices . AiWindow ;
223+ model . data . service = OAuthNativeServices . SmartWindow ;
224224 expect ( model . isFirefoxNonSync ( ) ) . toBe ( true ) ;
225225 } ) ;
226226 } ) ;
@@ -232,10 +232,10 @@ describe('OAuthNativeIntegration', function () {
232232 expect ( model . getWebChannelServices ( ) ) . toEqual ( { relay : { } } ) ;
233233 } ) ;
234234
235- it ( 'returns aiwindow services when service is aiwindow ' , ( ) => {
235+ it ( 'returns smartwindow services when service is smartwindow ' , ( ) => {
236236 model . clientInfo = mockClientInfo ( OAuthNativeClients . FirefoxDesktop ) ;
237- model . data . service = OAuthNativeServices . AiWindow ;
238- expect ( model . getWebChannelServices ( ) ) . toEqual ( { aiwindow : { } } ) ;
237+ model . data . service = OAuthNativeServices . SmartWindow ;
238+ expect ( model . getWebChannelServices ( ) ) . toEqual ( { smartwindow : { } } ) ;
239239 } ) ;
240240
241241 it ( 'returns sync services when service is sync' , ( ) => {
0 commit comments