Skip to content

Commit

Permalink
testGetCreatorsOfBlockedFeeds
Browse files Browse the repository at this point in the history
  • Loading branch information
nixzhu committed Apr 29, 2016
1 parent d32afd8 commit f1ef793
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions YepTests/ServiceTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -135,5 +135,23 @@ class ServiceTests: XCTestCase {

XCTAssert(true, "Pass")
}

func testGetCreatorsOfBlockedFeeds() {

guard YepUserDefaults.isLogined else {
return
}

let expectation = expectationWithDescription("get creators of blocked feeds")

creatorsOfBlockedFeeds(failureHandler: nil, completion: { creators in
print("creatorsOfBlockedFeeds.count: \(creators.count)")
expectation.fulfill()
})

waitForExpectationsWithTimeout(5, handler: nil)

XCTAssert(true, "Pass")
}
}

0 comments on commit f1ef793

Please sign in to comment.