Created
June 19, 2017 09:45
-
-
Save morgo/90e9531a664c0e89ded60487c2857d5a to your computer and use it in GitHub Desktop.
Hypothetical Case
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
# Initial Data does not make sense | |
# should be either "Harvey Dent" or "Two Face" | |
id: 1, firstname: "Two Face", lastname: "Dent" | |
# Assume RR isolation | |
session1.start | |
session2.start | |
session1.firstname = "Two" | |
session1.lastname = "Face" | |
session1.save | |
session2.firstname = "Harvey" | |
session2.lastname = "Dent" | |
session2.save | |
# Outcome if sending "patch" only: | |
id: 1, firstname: "Two", lastname: "Dent" | |
# Outcome if sending "put": | |
id: 1, firstname: "Harvey", lastname: "Dent" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment