Revision control

1
/* This Source Code Form is subject to the terms of the Mozilla Public
2
* License, v. 2.0. If a copy of the MPL was not distributed with this
3
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
5
@testable import Client
6
import XCTest
7
import Shared
8
9
class HomePageTests: XCTestCase {
10
let prefs = NSUserDefaultsPrefs(prefix: "PrefsTests")
11
12
func testHomePageSettingForInternalURLs() {
13
let helper = HomePageHelper(prefs: prefs)
14
helper.currentURL = URL(string: "\(InternalURL.baseUrl)")
15
XCTAssertNil(prefs.stringForKey(HomePageConstants.NewTabCustomUrlPrefKey))
16
}
17
}