[Windowing] Unit Test
Added Unit test adjustments for the change in urlService (addition of a separate function for getting the url for a location, used by browse controller. WTD 23.
This commit is contained in:
@@ -53,7 +53,7 @@ define(
|
||||
|
||||
// Mocks the urlService used to make the new tab's url from a
|
||||
// domainObject and mode
|
||||
mockUrlService = jasmine.createSpyObj("urlService", ["urlFor"]);
|
||||
mockUrlService = jasmine.createSpyObj("urlService", ["urlForNewTab"]);
|
||||
|
||||
// Action done using the current context or mockContextCurrent
|
||||
actionCurrent = new NewTabAction(mockUrlService, mockWindow,
|
||||
|
||||
Reference in New Issue
Block a user