Last active
October 18, 2018 15:45
-
-
Save yabenatti/6bca5a2c52d9ecdd3bac8aca189bb1c6 to your computer and use it in GitHub Desktop.
JoinNamesAndCapitalizeItTests
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
func testJoinNamesAndCapitalize() { | |
// Given | |
let firstName = "yasmin" | |
let lastName = "benatti" | |
// When | |
let fullName = joinNamesAndCapitalizeIt(firstName: firstName, lastName: lastName) | |
// Then | |
expect(fullName).to(equal("Yasmin Benatti")) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment