Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vadymmarkov committed Aug 24, 2016
1 parent e6c9f97 commit 28dbc2d
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions Tests/Compass/CompassTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,6 @@ class CompassTests: XCTestCase {
XCTAssertEqual(location.arguments["user"], "testUser")
}

func testParseFragments() {
let url = NSURL(string: "compassTests://profile:testUser")!

guard let location = Compass.parse(url, fragments: ["meta" : "foo"]) else {
XCTFail("Compass parsing failed")
return
}

XCTAssertEqual("profile:{user}", location.path)
XCTAssertEqual(location.arguments["user"], "testUser")
XCTAssertEqual("foo" , location.fragments["meta"] as? String)
}

func testParsePayload() {
let url = NSURL(string: "compassTests://profile:testUser")!

Expand Down

0 comments on commit 28dbc2d

Please sign in to comment.