Created
September 25, 2014 17:17
-
-
Save swoogles/9ed17f657c59036c30d0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
"A SecureFile instance copied from an existing file" should { | |
"Have the same idx as the source " in { | |
copiedFile.secureFileIdx mustEqual(NEW_SECURE_FILE_IDX) | |
} | |
"Have the same subscriberIdx as the source " in { | |
copiedFile.subscriberIdx mustEqual(NEW_SUBSCRIBER_IDX) | |
} | |
"Have the same userIdx as the source " in { | |
copiedFile.userIdx mustEqual(NEW_USER_IDX) | |
} | |
"Have the same file size as the source " in { | |
copiedFile.fileSizeBytes mustEqual(NEW_FILE_SIZE_BYTES) | |
} | |
"Have all the same fields as the source " in { | |
copiedFile.secureFileIdx mustEqual(NEW_SECURE_FILE_IDX) | |
copiedFile.subscriberIdx mustEqual(NEW_SUBSCRIBER_IDX) | |
copiedFile.userIdx mustEqual(NEW_USER_IDX) | |
copiedFile.fileSizeBytes mustEqual(NEW_FILE_SIZE_BYTES) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment