[Windowing] Tabbing Rename

Renamed all instances of NewWindow to be
NewTab instead. WTD-16.
This commit is contained in:
Shivam Dave
2015-06-22 15:35:08 -07:00
parent dc4436e890
commit c7154447e2
4 changed files with 8 additions and 8 deletions

View File

@@ -10,6 +10,6 @@
"navigation/NavigateAction",
"navigation/NavigationService",
"windowing/FullscreenAction",
"windowing/NewWindowAction",
"windowing/NewTabAction",
"windowing/WindowTitler"
]

View File

@@ -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();