Last active
August 29, 2015 14:03
-
-
Save 121watts/7c797b63419747f93dcc to your computer and use it in GitHub Desktop.
Spec harness find methods
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
Here’s a list of the find methods that the spec harness uses. | |
Please update if you find others | |
FOR CUSTOMERS: | |
find_by_last_name "Ullrich" | |
find_all_by_first_name "Sasha” | |
find_by_id | |
FOR INVOICE_ITEMS: | |
find_by_item_id 123 | |
find_all_by_quantity 10 | |
find_by_id 16934 | |
FOR INVOICE SPEC: | |
find_by_status "cool" | |
find_all_by_status "shipped" | |
find_by_id 1002 | |
FOR ITEM SPEC: | |
find_by_unit_price BigDecimal.new("935.19") | |
find_all_by_name "Item Eos Et" | |
find_by_name "Item Saepe Ipsum" | |
FOR MERCHANT SPEC: | |
find_by_name "Marvin Group" | |
find_all_by_name "Williamson Group" | |
FOR TRANSACTION SPEC: | |
find_by_credit_card_number "4634664005836219" | |
find_all_by_result "success" | |
find_by_id 1138 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment