Skip to content

Instantly share code, notes, and snippets.

@yabenatti
Last active October 18, 2018 15:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yabenatti/6bca5a2c52d9ecdd3bac8aca189bb1c6 to your computer and use it in GitHub Desktop.
Save yabenatti/6bca5a2c52d9ecdd3bac8aca189bb1c6 to your computer and use it in GitHub Desktop.
JoinNamesAndCapitalizeItTests
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