Created
June 18, 2020 14:27
-
-
Save stevencurtis/ed18af01dc0699a21e1e2a1d33b7127b to your computer and use it in GitHub Desktop.
JSONPlaceHolderAPIActionTests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import XCTest | |
import Alamofire | |
@testable import AlamofireNetworking | |
class JSONPlaceHolderAPIActionTests: XCTestCase { | |
func testAPI() { | |
let router = JSONPlaceHolderAPIAction.getToDo(id: 8) | |
XCTAssertEqual(router.urlRequest?.description, "https://jsonplaceholder.typicode.com/todos/8") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment