Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update card model #8

Merged
merged 1 commit into from
Oct 7, 2015
Merged

Update card model #8

merged 1 commit into from
Oct 7, 2015

Conversation

diogoguimaraes
Copy link
Contributor

This PR updates the card's address attribute.

@diogoguimaraes
Copy link
Contributor Author

R=@SandroMachado

@diogoguimaraes diogoguimaraes force-pushed the support/update-card-model branch from c167564 to e31df22 Compare October 7, 2015 10:51
XCTAssertEqual(card!.addresses!.count, 1, "Failed: Addresses didn't match.")
XCTAssertEqual(card!.addresses![0].id!, "fiz", "Failed: Addresses didn't match.")
XCTAssertEqual(card!.addresses![0].network!, "biz", "Failed: Addresses didn't match.")
XCTAssertFalse(card!.address!.isEmpty, "Failed: Address didn't match.")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please validate that the dictionary only have one element.

@diogoguimaraes diogoguimaraes force-pushed the support/update-card-model branch from e31df22 to 1470e67 Compare October 7, 2015 10:56
SandroMachado added a commit that referenced this pull request Oct 7, 2015
@SandroMachado SandroMachado merged commit b529009 into master Oct 7, 2015
@SandroMachado SandroMachado deleted the support/update-card-model branch October 7, 2015 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants