[Windowing] Tabbing Rename
Renamed all instances of NewWindow to be NewTab instead. WTD-16.
This commit is contained in:
@@ -10,6 +10,6 @@
|
||||
"navigation/NavigateAction",
|
||||
"navigation/NavigationService",
|
||||
"windowing/FullscreenAction",
|
||||
"windowing/NewWindowAction",
|
||||
"windowing/NewTabAction",
|
||||
"windowing/WindowTitler"
|
||||
]
|
||||
|
||||
@@ -26,7 +26,7 @@ define(
|
||||
function (NewWindowAction) {
|
||||
"use strict";
|
||||
|
||||
describe("The new window action", function () {
|
||||
describe("The new tab action", function () {
|
||||
var action,
|
||||
mockWindow,
|
||||
mockCurrentUrl;
|
||||
@@ -37,11 +37,11 @@ define(
|
||||
// to a mock Url
|
||||
mockWindow = jasmine.createSpyObj("$window", ["open", "location"]);
|
||||
mockWindow.location.href = "http://www.mockUrl.com";
|
||||
action = new NewWindowAction(mockWindow);
|
||||
action = new NewTabAction(mockWindow);
|
||||
|
||||
});
|
||||
|
||||
it("New window is opened", function () {
|
||||
it("New tab with current url is opened", function () {
|
||||
// The expection is that the mockWindow
|
||||
// will be called with it's location.href
|
||||
action.perform();
|
||||
Reference in New Issue
Block a user