forked from Ada-C7/api-muncher
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfail_test
More file actions
16 lines (13 loc) · 29.5 KB
/
fail_test
File metadata and controls
16 lines (13 loc) · 29.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Started with run options --seed 22959
SearchApiWrapper::Testing self.listRecipes
test_0002_Will return an empty array with invalid APP_ID and KEY_ID[31m FAIL[0m (0.06s)
Minitest::Assertion: --- expected
+++ actual
@@ -1 +1 @@
-[]
+[#<Recipe:0xXXXXXX @label="Granado", @url="http://nymag.com/restaurants/articles/recipes/granado.htm", @image="https://www.edamam.com/web-img/111/11143dae31de28a9c496c84466ce3048.jpg", @ingredients=["1/2 teaspoon pomegranate molasses (available at kalustyan's, 123 lexington avenue)", "1 ounce gran torres (orange liqueur; available at union square wines, 33 union square west)", "5 ounces prosecco (cava can be substituted)", "Garnish: twist of orange peel"], @allergy_info=["Vegan", "Vegetarian", "Paleo", "Dairy-Free", "Gluten-Free", "Egg-Free", "Peanut-Free", "Tree-Nut-Free", "Soy-Free", "Fish-Free", "Shellfish-Free"], @uri="http://www.edamam.com/ontologies/edamam.owl#recipe_92244ff18171f9a51f617928d0136211", @nutrients={"ENERC_KCAL"=>{"label"=>"Energy", "quantity"=>150.09016634464263, "unit"=>"kcal"}, "FAT"=>{"label"=>"Fat", "quantity"=>0.0035610392093658448, "unit"=>"g"}, "FASAT"=>{"label"=>"Saturated", "quantity"=>0.000640987057685852, "unit"=>"g"}, "FAMS"=>{"label"=>"Monounsaturated", "quantity"=>0.0011395325469970704, "unit"=>"g"}, "FAPU"=>{"label"=>"Polyunsaturated", "quantity"=>0.0017805196046829224, "unit"=>"g"}, "CHOCDF"=>{"label"=>"Carbs", "quantity"=>7.117709751915932, "unit"=>"g"}, "SUGAR"=>{"label"=>"Sugars", "quantity"=>4.24554688167572, "unit"=>"g"}, "PROCNT"=>{"label"=>"Protein", "quantity"=>0.11906800022125245, "unit"=>"g"}, "NA"=>{"label"=>"Sodium", "quantity"=>9.82244166612625, "unit"=>"mg"}, "CA"=>{"label"=>"Calcium", "quantity"=>22.325378029346467, "unit"=>"mg"}, "MG"=>{"label"=>"Magnesium", "quantity"=>25.910924439430236, "unit"=>"mg"}, "K"=>{"label"=>"Potassium", "quantity"=>180.8404522705078, "unit"=>"mg"}, "FE"=>{"label"=>"Iron", "quantity"=>0.6556928607940674, "unit"=>"mg"}, "ZN"=>{"label"=>"Zinc", "quantity"=>0.21727853786945342, "unit"=>"mg"}, "P"=>{"label"=>"Phosphorus", "quantity"=>32.288398396968844, "unit"=>"mg"}, "THIA"=>{"label"=>"Thiamin (B1)", "quantity"=>0.009964883234500885, "unit"=>"mg"}, "RIBF"=>{"label"=>"Riboflavin (B2)", "quantity"=>0.027853754143714902, "unit"=>"mg"}, "NIA"=>{"label"=>"Niacin (B3)", "quantity"=>0.23326530292987824, "unit"=>"mg"}, "VITB6A"=>{"label"=>"Vitamin B6", "quantity"=>0.11004151523113251, "unit"=>"mg"}, "FOLDFE"=>{"label"=>"Folate (Equivalent)", "quantity"=>1.7009714317321778, "unit"=>"µg"}, "VITK1"=>{"label"=>"Vitamin K", "quantity"=>0.566990478515625, "unit"=>"µg"}}>, #<Recipe:0xXXXXXX @label="The Mistletoe", @url="http://nymag.com/restaurants/articles/recipes/mistletoe.htm", @image="https://www.edamam.com/web-img/857/857e47eccd27a4fdebfb736f69ce2107.jpg", @ingredients=["1 sugar cube", "2 teaspoons clear creek eau-de-vie de pomme or similar apple brandy (available at union square wines, 33 union square west)", "1/2 ounce cranberry juice", "4 ounces daniel cuv e or other brut champagne", "Garnish: 1 thin slice granny smith apple"], @allergy_info=["Vegan", "Vegetarian", "Dairy-Free", "Gluten-Free", "Egg-Free", "Peanut-Free", "Tree-Nut-Free", "Soy-Free", "Fish-Free", "Shellfish-Free"], @uri="http://www.edamam.com/ontologies/edamam.owl#recipe_6bee4a9eea9178e9beaa478f7dd3a111", @nutrients={"ENERC_KCAL"=>{"label"=>"Energy", "quantity"=>138.60949649810792, "unit"=>"kcal"}, "FAT"=>{"label"=>"Fat", "quantity"=>0.014174761772155762, "unit"=>"g"}, "FASAT"=>{"label"=>"Saturated", "quantity"=>0.0012757285594940185, "unit"=>"g"}, "FAMS"=>{"label"=>"Monounsaturated", "quantity"=>0.0026932047367095946, "unit"=>"g"}, "FAPU"=>{"label"=>"Polyunsaturated", "quantity"=>0.0083631094455719, "unit"=>"g"}, "CHOCDF"=>{"label"=>"Carbs", "quantity"=>9.063938049507142, "unit"=>"g"}, "SUGAR"=>{"label"=>"Sugars", "quantity"=>6.962765736103059, "unit"=>"g"}, "PROCNT"=>{"label"=>"Protein", "quantity"=>0.07937866592407226, "unit"=>"g"}, "NA"=>{"label"=>"Sodium", "quantity"=>6.089402923583984, "unit"=>"mg"}, "CA"=>{"label"=>"Calcium", "quantity"=>10.673071327209472, "unit"=>"mg"}, "MG"=>{"label"=>"Magnesium", "quantity"=>11.481557035446167, "unit"=>"mg"}, "K"=>{"label"=>"Potassium", "quantity"=>82.76911947250366, "unit"=>"mg"}, "FE"=>{"label"=>"Iron", "quantity"=>0.3262097352027893, "unit"=>"mg"}, "ZN"=>{"label"=>"Zinc", "quantity"=>0.14451026077270507, "unit"=>"mg"}, "P"=>{"label"=>"Phosphorus", "quantity"=>20.929416494369505, "unit"=>"mg"}, "VITC"=>{"label"=>"Vitamin C", "quantity"=>5.995924229621886, "unit"=>"mg"}, "THIA"=>{"label"=>"Thiamin (B1)", "quantity"=>0.006233922595977783, "unit"=>"mg"}, "RIBF"=>{"label"=>"Riboflavin (B2)", "quantity"=>0.018183726015090943, "unit"=>"mg"}, "NIA"=>{"label"=>"Niacin (B3)", "quantity"=>0.1295036327934265, "unit"=>"mg"}, "VITB6A"=>{"label"=>"Vitamin B6", "quantity"=>0.05679305006980896, "unit"=>"mg"}, "FOLDFE"=>{"label"=>"Folate (Equivalent)", "quantity"=>1.133980941772461, "unit"=>"µg"}, "TOCPHA"=>{"label"=>"Vitamin E", "quantity"=>0.031184475898742674, "unit"=>"mg"}, "VITK1"=>{"label"=>"Vitamin K", "quantity"=>0.595339994430542, "unit"=>"µg"}}>, #<Recipe:0xXXXXXX @label="Dinner Tonight: Alton Brown's Ramen Shrimp Pouch", @url="http://www.seriouseats.com/recipes/2010/02/ramen-shrimp-pouch-alton-brown-noodles-recipe.html", @image="https://www.edamam.com/web-img/542/542eae0ca9ac698982e7fe95d7fe3b6b.jpg", @ingredients=["2 packages ramen noodles (discard the flavor packets)", "1/2 cup dried mushrooms, chopped", "20 raw shrimp (medium to large), peeled and deveined", "1/2 cup onion, finely chopped", "1/2 cup scallions, thinly sliced", "1/2 teaspoon red pepper flakes", "1/2 teaspoon kosher salt", "1 quart vegetable broth", "1/2 cup mirin", "1/4 cup soy sauce", "4 teaspoons sesame oil"], @allergy_info=["Dairy-Free", "Egg-Free", "Peanut-Free", "Tree-Nut-Free"], @uri="http://www.edamam.com/ontologies/edamam.owl#recipe_6e95af3f746ea6ac89cc456a811f3c6a", @nutrients={"ENERC_KCAL"=>{"label"=>"Energy", "quantity"=>1428.4924590421806, "unit"=>"kcal"}, "FAT"=>{"label"=>"Fat", "quantity"=>49.48613380089161, "unit"=>"g"}, "FASAT"=>{"label"=>"Saturated", "quantity"=>16.36285824873786, "unit"=>"g"}, "FATRN"=>{"label"=>"Trans", "quantity"=>0.1269, "unit"=>"g"}, "FAMS"=>{"label"=>"Monounsaturated", "quantity"=>17.900711005517202, "unit"=>"g"}, "FAPU"=>{"label"=>"Polyunsaturated", "quantity"=>11.874167197551866, "unit"=>"g"}, "CHOCDF"=>{"label"=>"Carbs", "quantity"=>177.22003423286105, "unit"=>"g"}, "FIBTG"=>{"label"=>"Fiber", "quantity"=>17.121404423120033, "unit"=>"g"}, "SUGAR"=>{"label"=>"Sugars", "quantity"=>10.255763292815095, "unit"=>"g"}, "PROCNT"=>{"label"=>"Protein", "quantity"=>47.94224781042163, "unit"=>"g"}, "CHOLE"=>{"label"=>"Cholesterol", "quantity"=>151.2, "unit"=>"mg"}, "NA"=>{"label"=>"Sodium", "quantity"=>7353.384053576249, "unit"=>"mg"}, "CA"=>{"label"=>"Calcium", "quantity"=>225.00487870581384, "unit"=>"mg"}, "MG"=>{"label"=>"Magnesium", "quantity"=>251.2483359820863, "unit"=>"mg"}, "K"=>{"label"=>"Potassium", "quantity"=>2203.2325585430717, "unit"=>"mg"}, "FE"=>{"label"=>"Iron", "quantity"=>10.424281414339417, "unit"=>"mg"}, "ZN"=>{"label"=>"Zinc", "quantity"=>8.959125539952815, "unit"=>"mg"}, "P"=>{"label"=>"Phosphorus", "quantity"=>863.6652926377797, "unit"=>"mg"}, "VITA_RAE"=>{"label"=>"Vitamin A", "quantity"=>141.6660946558645, "unit"=>"µg"}, "VITC"=>{"label"=>"Vitamin C", "quantity"=>21.633648099007324, "unit"=>"mg"}, "THIA"=>{"label"=>"Thiamin (B1)", "quantity"=>1.0713646248409827, "unit"=>"mg"}, "RIBF"=>{"label"=>"Riboflavin (B2)", "quantity"=>1.5741800662967036, "unit"=>"mg"}, "NIA"=>{"label"=>"Niacin (B3)", "quantity"=>23.434799146535486, "unit"=>"mg"}, "VITB6A"=>{"label"=>"Vitamin B6", "quantity"=>1.2441380075283106, "unit"=>"mg"}, "FOLDFE"=>{"label"=>"Folate (Equivalent)", "quantity"=>474.53614970009045, "unit"=>"µg"}, "VITB12"=>{"label"=>"Vitamin B12", "quantity"=>1.737554341661279, "unit"=>"µg"}, "VITD"=>{"label"=>"Vitamin D", "quantity"=>3.0483260499676734, "unit"=>"µg"}, "TOCPHA"=>{"label"=>"Vitamin E", "quantity"=>6.454703591853529, "unit"=>"mg"}, "VITK1"=>{"label"=>"Vitamin K", "quantity"=>135.69819724547193, "unit"=>"µg"}}>, #<Recipe:0xXXXXXX @label="Orange-Cardamom Cupcakes with Vanilla Frosting", @url="http://www.epicurious.com/recipes/food/views/Orange-Cardamom-Cupcakes-with-Vanilla-Frosting-109555", @image="https://www.edamam.com/web-img/2f0/2f05f82344404769b44c7d18d7edb6d0.jpg", @ingredients=["33 2 1/2-inch-wide by 1 1/2-inch-high paper panettone molds", "Nonstick vegetable oil spray", "4 1/2 cups cake flour", "3 1/2 teaspoons ground cardamom", "2 1/4 teaspoons baking powder", "3/4 teaspoon salt", "9 large eggs", "1 1/2 tablespoons grated orange peel", "1 tablespoon vanilla extract", "2 teaspoons orange-flower water*", "2 1/4 cups (4 1/2 sticks) unsalted butter, room temperature", "3 3/4 cups sugar", "1 cup buttermilk"], @allergy_info=["Vegetarian", "Peanut-Free", "Tree-Nut-Free", "Soy-Free", "Fish-Free", "Shellfish-Free"], @uri="http://www.edamam.com/ontologies/edamam.owl#recipe_bdf2b81ba4083d31688508b540993079", @nutrients={"ENERC_KCAL"=>{"label"=>"Energy", "quantity"=>66586.80482264042, "unit"=>"kcal"}, "FAT"=>{"label"=>"Fat", "quantity"=>2435.132585005188, "unit"=>"g"}, "FASAT"=>{"label"=>"Saturated", "quantity"=>620.5050257499377, "unit"=>"g"}, "FATRN"=>{"label"=>"Trans", "quantity"=>183.63414883123977, "unit"=>"g"}, "FAMS"=>{"label"=>"Monounsaturated", "quantity"=>820.1029197813349, "unit"=>"g"}, "FAPU"=>{"label"=>"Polyunsaturated", "quantity"=>296.18079963368706, "unit"=>"g"}, "CHOCDF"=>{"label"=>"Carbs", "quantity"=>9685.614850091937, "unit"=>"g"}, "FIBTG"=>{"label"=>"Fiber", "quantity"=>357.2422000007629, "unit"=>"g"}, "SUGAR"=>{"label"=>"Sugars", "quantity"=>2634.3876, "unit"=>"g"}, "PROCNT"=>{"label"=>"Protein", "quantity"=>1528.6260250003816, "unit"=>"g"}, "CHOLE"=>{"label"=>"Cholesterol", "quantity"=>7266.612500000001, "unit"=>"mg"}, "NA"=>{"label"=>"Sodium", "quantity"=>37828.368030109414, "unit"=>"mg"}, "CA"=>{"label"=>"Calcium", "quantity"=>14415.014028091431, "unit"=>"mg"}, "MG"=>{"label"=>"Magnesium", "quantity"=>3801.3165001487732, "unit"=>"mg"}, "K"=>{"label"=>"Potassium", "quantity"=>17290.852500019082, "unit"=>"mg"}, "FE"=>{"label"=>"Iron", "quantity"=>484.8855450429917, "unit"=>"mg"}, "ZN"=>{"label"=>"Zinc", "quantity"=>137.3298450000763, "unit"=>"mg"}, "P"=>{"label"=>"Phosphorus", "quantity"=>16849.35803783417, "unit"=>"mg"}, "VITA_RAE"=>{"label"=>"Vitamin A", "quantity"=>4997.17, "unit"=>"µg"}, "VITC"=>{"label"=>"Vitamin C", "quantity"=>195.548, "unit"=>"mg"}, "THIA"=>{"label"=>"Thiamin (B1)", "quantity"=>62.17183750000001, "unit"=>"mg"}, "RIBF"=>{"label"=>"Riboflavin (B2)", "quantity"=>39.816795, "unit"=>"mg"}, "NIA"=>{"label"=>"Niacin (B3)", "quantity"=>560.4517250000001, "unit"=>"mg"}, "VITB6A"=>{"label"=>"Vitamin B6", "quantity"=>9.623317500000002, "unit"=>"mg"}, "FOLDFE"=>{"label"=>"Folate (Equivalent)", "quantity"=>25151.2525, "unit"=>"µg"}, "VITB12"=>{"label"=>"Vitamin B12", "quantity"=>21.856175000000004, "unit"=>"µg"}, "VITD"=>{"label"=>"Vitamin D", "quantity"=>16.66125, "unit"=>"µg"}, "TOCPHA"=>{"label"=>"Vitamin E", "quantity"=>112.30145648113098, "unit"=>"mg"}, "VITK1"=>{"label"=>"Vitamin K", "quantity"=>278.38100000000003, "unit"=>"µg"}}>, #<Recipe:0xXXXXXX @label="Confiture D'olives Et Citron", @url="https://travelerslunchbox.com/2005/08/26/when-life-gives-you-olives-make-jam/", @image="https://www.edamam.com/web-img/ae3/ae3022d77f5998774c41d083f7b27e60.jpg", @ingredients=["2 cup drained and pitted kalamata olives", "1 gms drained and pitted high-quality green olives", "1 1/3 cup sugar", "1 1/3 cup water", "1 x medium organic lemon", "1 x large green apple, peeled, cored and diced", "1/33 cup mild honey"], @allergy_info=["Vegetarian", "Dairy-Free", "Gluten-Free", "Egg-Free", "Peanut-Free", "Tree-Nut-Free", "Soy-Free", "Fish-Free", "Shellfish-Free"], @uri="http://www.edamam.com/ontologies/edamam.owl#recipe_2b92cdfc961f6240ef1c4f590ba637a5", @nutrients={"ENERC_KCAL"=>{"label"=>"Energy", "quantity"=>1476.9790507507325, "unit"=>"kcal"}, "FAT"=>{"label"=>"Fat", "quantity"=>26.350599999999996, "unit"=>"g"}, "FASAT"=>{"label"=>"Saturated", "quantity"=>3.43891, "unit"=>"g"}, "FAMS"=>{"label"=>"Monounsaturated", "quantity"=>19.050720000000002, "unit"=>"g"}, "FAPU"=>{"label"=>"Polyunsaturated", "quantity"=>2.2510899999999996, "unit"=>"g"}, "CHOCDF"=>{"label"=>"Carbs", "quantity"=>323.5826502212525, "unit"=>"g"}, "FIBTG"=>{"label"=>"Fiber", "quantity"=>15.12554545402527, "unit"=>"g"}, "SUGAR"=>{"label"=>"Sugars", "quantity"=>295.7800866039276, "unit"=>"g"}, "PROCNT"=>{"label"=>"Protein", "quantity"=>3.601518181037903, "unit"=>"g"}, "NA"=>{"label"=>"Sodium", "quantity"=>1798.497575645447, "unit"=>"mg"}, "CA"=>{"label"=>"Calcium", "quantity"=>249.86303018569944, "unit"=>"mg"}, "MG"=>{"label"=>"Magnesium", "quantity"=>28.015454540252684, "unit"=>"mg"}, "K"=>{"label"=>"Potassium", "quantity"=>357.53515117645264, "unit"=>"mg"}, "FE"=>{"label"=>"Iron", "quantity"=>8.758378781700134, "unit"=>"mg"}, "ZN"=>{"label"=>"Zinc", "quantity"=>0.7264666650772096, "unit"=>"mg"}, "P"=>{"label"=>"Phosphorus", "quantity"=>41.650909080505365, "unit"=>"mg"}, "VITA_RAE"=>{"label"=>"Vitamin A", "quantity"=>59.08, "unit"=>"µg"}, "VITC"=>{"label"=>"Vitamin C", "quantity"=>32.95136363506317, "unit"=>"mg"}, "THIA"=>{"label"=>"Thiamin (B1)", "quantity"=>0.06975, "unit"=>"mg"}, "RIBF"=>{"label"=>"Riboflavin (B2)", "quantity"=>0.11774030099868775, "unit"=>"mg"}, "NIA"=>{"label"=>"Niacin (B3)", "quantity"=>0.42115999968528745, "unit"=>"mg"}, "VITB6A"=>{"label"=>"Vitamin B6", "quantity"=>0.14699545448303222, "unit"=>"mg"}, "FOLDFE"=>{"label"=>"Folate (Equivalent)", "quantity"=>6.615454540252686, "unit"=>"µg"}, "TOCPHA"=>{"label"=>"Vitamin E", "quantity"=>4.4559, "unit"=>"mg"}, "VITK1"=>{"label"=>"Vitamin K", "quantity"=>9.966000000000001, "unit"=>"µg"}}>, #<Recipe:0xXXXXXX @label="Mint Chocolate Ice Cream Sandwiches", @url="http://honestcooking.com/mint-chocolate-ice-cream-sandwiches/", @image="https://www.edamam.com/web-img/f44/f44343a98df1d2123a75ea0e407022a6.jpg", @ingredients=["3/8 cup plus 1 tablespoon (1.15 oz or 33 grams) sifted before measuring unsweetened cocoa powder", "¼ cup boiling water", "¼ cup canola or safflower oil at room temperature", "2 large eggs, separated, plus 1 egg white at room temperature", "½ teaspoon vanilla extract", "⅔ cup plus 1 tablespoon all purpose flour (2.6 oz or 75 grams) sifted before measuring", "¾ cup powdered sugar", "1 teaspoon baking powder", "½ teaspoon baking soda", "⅛ teaspoon salt", "1 to 1/12 quarts ice cream of your choice"], @allergy_info=["Vegetarian", "Peanut-Free", "Tree-Nut-Free", "Soy-Free", "Fish-Free", "Shellfish-Free"], @uri="http://www.edamam.com/ontologies/edamam.owl#recipe_87962d1e5fc8da2c97f973d503e79b29", @nutrients={"ENERC_KCAL"=>{"label"=>"Energy", "quantity"=>1376.3773427820206, "unit"=>"kcal"}, "FAT"=>{"label"=>"Fat", "quantity"=>65.48217670516968, "unit"=>"g"}, "FASAT"=>{"label"=>"Saturated", "quantity"=>9.548056678590775, "unit"=>"g"}, "FAMS"=>{"label"=>"Monounsaturated", "quantity"=>10.929936006727221, "unit"=>"g"}, "FAPU"=>{"label"=>"Polyunsaturated", "quantity"=>41.41053967837334, "unit"=>"g"}, "CHOCDF"=>{"label"=>"Carbs", "quantity"=>193.27988876748083, "unit"=>"g"}, "FIBTG"=>{"label"=>"Fiber", "quantity"=>16.708300108909608, "unit"=>"g"}, "SUGAR"=>{"label"=>"Sugars", "quantity"=>98.91126499156952, "unit"=>"g"}, "PROCNT"=>{"label"=>"Protein", "quantity"=>24.094533551120758, "unit"=>"g"}, "CHOLE"=>{"label"=>"Cholesterol", "quantity"=>19.36, "unit"=>"mg"}, "NA"=>{"label"=>"Sodium", "quantity"=>1129.2941448926927, "unit"=>"mg"}, "CA"=>{"label"=>"Calcium", "quantity"=>463.5304934453964, "unit"=>"mg"}, "MG"=>{"label"=>"Magnesium", "quantity"=>222.5293342781067, "unit"=>"mg"}, "K"=>{"label"=>"Potassium", "quantity"=>850.0606696557998, "unit"=>"mg"}, "FE"=>{"label"=>"Iron", "quantity"=>10.103656795263289, "unit"=>"mg"}, "ZN"=>{"label"=>"Zinc", "quantity"=>3.5394933586120607, "unit"=>"mg"}, "P"=>{"label"=>"Phosphorus", "quantity"=>885.2489940738678, "unit"=>"mg"}, "VITA_RAE"=>{"label"=>"Vitamin A", "quantity"=>51.92, "unit"=>"µg"}, "VITC"=>{"label"=>"Vitamin C", "quantity"=>0.264, "unit"=>"mg"}, "THIA"=>{"label"=>"Thiamin (B1)", "quantity"=>0.7651466881608964, "unit"=>"mg"}, "RIBF"=>{"label"=>"Riboflavin (B2)", "quantity"=>0.8974221769618987, "unit"=>"mg"}, "NIA"=>{"label"=>"Niacin (B3)", "quantity"=>6.318569662284852, "unit"=>"mg"}, "VITB6A"=>{"label"=>"Vitamin B6", "quantity"=>0.10883166791915894, "unit"=>"mg"}, "FOLDFE"=>{"label"=>"Folate (Equivalent)", "quantity"=>281.55800795555115, "unit"=>"µg"}, "VITB12"=>{"label"=>"Vitamin B12", "quantity"=>0.2191199993133545, "unit"=>"µg"}, "VITD"=>{"label"=>"Vitamin D", "quantity"=>0.08800000000000001, "unit"=>"µg"}, "TOCPHA"=>{"label"=>"Vitamin E", "quantity"=>18.96375667304993, "unit"=>"mg"}, "VITK1"=>{"label"=>"Vitamin K", "quantity"=>5.2161500105857845, "unit"=>"µg"}}>, #<Recipe:0xXXXXXX @label="Simple Baked Ham", @url="http://www.delish.com/cooking/recipe-ideas/recipes/a20196/simple-baked-ham-recipe-cl0912/", @image="https://www.edamam.com/web-img/526/526a082db15b85f586564195fb279c3d.jpg", @ingredients=["1 (8-pound) 33 percent-less-sodium smoked, fully cooked ham half", "2 teaspoon(s) whole cloves", "Cooking spray", "2 cup(s) apple juice, divided", "2 tablespoon(s) dark brown sugar", "1 tablespoon(s) dijon mustard"], @allergy_info=["Dairy-Free", "Gluten-Free", "Egg-Free", "Peanut-Free", "Tree-Nut-Free", "Fish-Free", "Shellfish-Free"], @uri="http://www.edamam.com/ontologies/edamam.owl#recipe_df787c27d9f757952e3078e5a504c22d", @nutrients={"ENERC_KCAL"=>{"label"=>"Energy", "quantity"=>7298.598843000397, "unit"=>"kcal"}, "FAT"=>{"label"=>"Fat", "quantity"=>419.9964587234429, "unit"=>"g"}, "FASAT"=>{"label"=>"Saturated", "quantity"=>127.32718621109372, "unit"=>"g"}, "FATRN"=>{"label"=>"Trans", "quantity"=>0.012017999515533449, "unit"=>"g"}, "FAMS"=>{"label"=>"Monounsaturated", "quantity"=>206.30098428083042, "unit"=>"g"}, "FAPU"=>{"label"=>"Polyunsaturated", "quantity"=>58.71886218567089, "unit"=>"g"}, "CHOCDF"=>{"label"=>"Carbs", "quantity"=>241.82911177814188, "unit"=>"g"}, "FIBTG"=>{"label"=>"Fiber", "quantity"=>3.0157999353408815, "unit"=>"g"}, "SUGAR"=>{"label"=>"Sugars", "quantity"=>65.79162143497467, "unit"=>"g"}, "PROCNT"=>{"label"=>"Protein", "quantity"=>600.218920720737, "unit"=>"g"}, "CHOLE"=>{"label"=>"Cholesterol", "quantity"=>2140.956018066406, "unit"=>"mg"}, "NA"=>{"label"=>"Sodium", "quantity"=>37938.219035562666, "unit"=>"mg"}, "CA"=>{"label"=>"Calcium", "quantity"=>344.94642135620114, "unit"=>"mg"}, "MG"=>{"label"=>"Magnesium", "quantity"=>625.1310154819489, "unit"=>"mg"}, "K"=>{"label"=>"Potassium", "quantity"=>12166.73133098602, "unit"=>"mg"}, "FE"=>{"label"=>"Iron", "quantity"=>31.58263705644607, "unit"=>"mg"}, "ZN"=>{"label"=>"Zinc", "quantity"=>70.69569277343749, "unit"=>"mg"}, "P"=>{"label"=>"Phosphorus", "quantity"=>5680.568926010132, "unit"=>"mg"}, "VITA_RAE"=>{"label"=>"Vitamin A", "quantity"=>1.085999984741211, "unit"=>"µg"}, "VITC"=>{"label"=>"Vitamin C", "quantity"=>4.51739999961853, "unit"=>"mg"}, "THIA"=>{"label"=>"Thiamin (B1)", "quantity"=>23.07097656610489, "unit"=>"mg"}, "RIBF"=>{"label"=>"Riboflavin (B2)", "quantity"=>7.506687587471007, "unit"=>"mg"}, "NIA"=>{"label"=>"Niacin (B3)", "quantity"=>141.32764874046325, "unit"=>"mg"}, "VITB6A"=>{"label"=>"Vitamin B6", "quantity"=>12.82432696103096, "unit"=>"mg"}, "FOLDFE"=>{"label"=>"Folate (Equivalent)", "quantity"=>38.57125384330749, "unit"=>"µg"}, "VITB12"=>{"label"=>"Vitamin B12", "quantity"=>33.38439892578125, "unit"=>"µg"}, "VITD"=>{"label"=>"Vitamin D", "quantity"=>25.401173095703122, "unit"=>"µg"}, "TOCPHA"=>{"label"=>"Vitamin E", "quantity"=>8.820139714622497, "unit"=>"mg"}, "VITK1"=>{"label"=>"Vitamin K", "quantity"=>6.1655997295379645, "unit"=>"µg"}}>, #<Recipe:0xXXXXXX @label="Sour Cream Cheesecake", @url="http://www.cookingchanneltv.com/recipes/alton-brown/sour-cream-cheesecake.html", @image="https://www.edamam.com/web-img/ecc/ecce37afc5dc0036b8b812cabd46a8d8.jpg", @ingredients=["33 graham cracker squares, crumbled", "4 ounces (1 stick) unsalted butter, melted, plus additional, for brushing the pan", "1 tablespoon sugar", "20 ounces cream cheese", "1 1/4 cups sour cream", "1 cup sugar", "1 tablespoon vanilla extract", "2 eggs", "3 yolks", "1/3 cup heavy cream"], @allergy_info=["Vegetarian", "Peanut-Free", "Tree-Nut-Free", "Soy-Free", "Fish-Free", "Shellfish-Free"], @uri="http://www.edamam.com/ontologies/edamam.owl#recipe_3da7413693b7f0e2c8b2938f3247160b", @nutrients={"ENERC_KCAL"=>{"label"=>"Energy", "quantity"=>6692.428782024383, "unit"=>"kcal"}, "FAT"=>{"label"=>"Fat", "quantity"=>432.8482183052063, "unit"=>"g"}, "FASAT"=>{"label"=>"Saturated", "quantity"=>229.76182505126954, "unit"=>"g"}, "FATRN"=>{"label"=>"Trans", "quantity"=>4.022119527130127, "unit"=>"g"}, "FAMS"=>{"label"=>"Monounsaturated", "quantity"=>111.3267828968048, "unit"=>"g"}, "FAPU"=>{"label"=>"Polyunsaturated", "quantity"=>43.41797721702575, "unit"=>"g"}, "CHOCDF"=>{"label"=>"Carbs", "quantity"=>632.876131784439, "unit"=>"g"}, "FIBTG"=>{"label"=>"Fiber", "quantity"=>16.830000000000002, "unit"=>"g"}, "SUGAR"=>{"label"=>"Sugars", "quantity"=>365.90683366851806, "unit"=>"g"}, "PROCNT"=>{"label"=>"Protein", "quantity"=>86.08890256195069, "unit"=>"g"}, "CHOLE"=>{"label"=>"Cholesterol", "quantity"=>1445.6020989990234, "unit"=>"mg"}, "NA"=>{"label"=>"Sodium", "quantity"=>4644.726704578399, "unit"=>"mg"}, "CA"=>{"label"=>"Calcium", "quantity"=>1383.5488798713686, "unit"=>"mg"}, "MG"=>{"label"=>"Magnesium", "quantity"=>297.4804384613037, "unit"=>"mg"}, "K"=>{"label"=>"Potassium", "quantity"=>2258.209404869079, "unit"=>"mg"}, "FE"=>{"label"=>"Iron", "quantity"=>23.027693438148496, "unit"=>"mg"}, "ZN"=>{"label"=>"Zinc", "quantity"=>10.165636397743224, "unit"=>"mg"}, "P"=>{"label"=>"Phosphorus", "quantity"=>2094.8471180725096, "unit"=>"mg"}, "VITA_RAE"=>{"label"=>"Vitamin A", "quantity"=>3820.488125991821, "unit"=>"µg"}, "VITC"=>{"label"=>"Vitamin C", "quantity"=>3.063500015258789, "unit"=>"mg"}, "THIA"=>{"label"=>"Thiamin (B1)", "quantity"=>1.5876013343048097, "unit"=>"mg"}, "RIBF"=>{"label"=>"Riboflavin (B2)", "quantity"=>3.3439741197013855, "unit"=>"mg"}, "NIA"=>{"label"=>"Niacin (B3)", "quantity"=>23.306878394393923, "unit"=>"mg"}, "VITB6A"=>{"label"=>"Vitamin B6", "quantity"=>1.3081302776336667, "unit"=>"mg"}, "FOLDFE"=>{"label"=>"Folate (Equivalent)", "quantity"=>832.3892288970947, "unit"=>"µg"}, "VITB12"=>{"label"=>"Vitamin B12", "quantity"=>3.3234529609680177, "unit"=>"µg"}, "VITD"=>{"label"=>"Vitamin D", "quantity"=>8.528247634887695, "unit"=>"µg"}, "TOCPHA"=>{"label"=>"Vitamin E", "quantity"=>14.75854153289795, "unit"=>"mg"}, "VITK1"=>{"label"=>"Vitamin K", "quantity"=>103.13725721740724, "unit"=>"µg"}}>, #<Recipe:0xXXXXXX @label="Wedding Paella", @url="https://food52.com/recipes/7201-wedding-paella", @image="https://www.edamam.com/web-img/003/003045f99c2f671f6aa66602039f0289.JPG", @ingredients=["33 cups your best homemade fish stock", "10 cups bomba rice, preferably from calasparra(note other rices will require less stock!)", "10 medium tomatoes, grated, skins discarded", "1 tablespoon spanish sweet smoked paprika", "10 cloves of garlic thinly sliced", "10 cloves garlic finely minced", "2 grams of saffron (lightly toasted)", "2 tablespoons minced tarragon", "1/2 cup minced parsley", "4 pounds squid, body cut into rings, and tentacles", "4 pounds mussels precooked with one shell removed. i generally discard the mussel liquor because i find it overpowers everything else!", "5 pounds u16-20 shrimp, deveined but with shells left on. heads-on are fine if not better!", "12 extra colossal prawns u10 or less. i was lucky to find u3 for this paella. prior to cooking sprinkle these prawns with a mixture of 3 parts salt to 1 part spanish smoked paprika, ideally an hour or two before cooking.", "3 pounds green peas", "2 pounds baby lima beans. frozen or fresh but simmer in a little stock until tender before hand", "4 pounds sugar snap peas or string beans (strings removed)", "Red , green and yellow peppers, 2 each. roast over a flame and rest in a paper bag for 10mins or so. remove the skin and core and slice into 1/4 wide slices", "Optional: assorted edible flowers like nasturtiums and squash blossoms marigolds are also shown and while edible, many types of marigolds are bitter so i don't use them anymore"], @allergy_info=["Dairy-Free", "Egg-Free", "Peanut-Free", "Tree-Nut-Free", "Soy-Free", "Fish-Free"], @uri="http://www.edamam.com/ontologies/edamam.owl#recipe_996f01eafb09daa820cc5a0408b6d706", @nutrients={"ENERC_KCAL"=>{"label"=>"Energy", "quantity"=>16337.523578381537, "unit"=>"kcal"}, "FAT"=>{"label"=>"Fat", "quantity"=>215.9437255206108, "unit"=>"g"}, "FASAT"=>{"label"=>"Saturated", "quantity"=>49.25753264962674, "unit"=>"g"}, "FATRN"=>{"label"=>"Trans", "quantity"=>0.01296, "unit"=>"g"}, "FAMS"=>{"label"=>"Monounsaturated", "quantity"=>54.01721249399186, "unit"=>"g"}, "FAPU"=>{"label"=>"Polyunsaturated", "quantity"=>57.23070219597817, "unit"=>"g"}, "CHOCDF"=>{"label"=>"Carbs", "quantity"=>2343.704627353668, "unit"=>"g"}, "FIBTG"=>{"label"=>"Fiber", "quantity"=>208.87562056732176, "unit"=>"g"}, "SUGAR"=>{"label"=>"Sugars", "quantity"=>296.44606405048364, "unit"=>"g"}, "PROCNT"=>{"label"=>"Protein", "quantity"=>1203.3399348538874, "unit"=>"g"}, "CHOLE"=>{"label"=>"Cholesterol", "quantity"=>5002.3299554443365, "unit"=>"mg"}, "NA"=>{"label"=>"Sodium", "quantity"=>23494.060920114513, "unit"=>"mg"}, "CA"=>{"label"=>"Calcium", "quantity"=>3349.541020712853, "unit"=>"mg"}, "MG"=>{"label"=>"Magnesium", "quantity"=>4183.685898690223, "unit"=>"mg"}, "K"=>{"label"=>"Potassium", "quantity"=>40522.125606327056, "unit"=>"mg"}, "FE"=>{"label"=>"Iron", "quantity"=>188.11963014745714, "unit"=>"mg"}, "ZN"=>{"label"=>"Zinc", "quantity"=>124.04696091518403, "unit"=>"mg"}, "P"=>{"label"=>"Phosphorus", "quantity"=>20118.287546076772, "unit"=>"mg"}, "VITA_RAE"=>{"label"=>"Vitamin A", "quantity"=>3593.40499753952, "unit"=>"µg"}, "VITC"=>{"label"=>"Vitamin C", "quantity"=>2108.2680407743455, "unit"=>"mg"}, "THIA"=>{"label"=>"Thiamin (B1)", "quantity"=>15.992212844262124, "unit"=>"mg"}, "RIBF"=>{"label"=>"Riboflavin (B2)", "quantity"=>25.0257078993845, "unit"=>"mg"}, "NIA"=>{"label"=>"Niacin (B3)", "quantity"=>300.38734634976385, "unit"=>"mg"}, "VITB6A"=>{"label"=>"Vitamin B6", "quantity"=>17.329222805862425, "unit"=>"mg"}, "FOLDFE"=>{"label"=>"Folate (Equivalent)", "quantity"=>3487.30235786438, "unit"=>"µg"}, "VITB12"=>{"label"=>"Vitamin B12", "quantity"=>295.1644444091797, "unit"=>"µg"}, "VITD"=>{"label"=>"Vitamin D", "quantity"=>0.072, "unit"=>"µg"}, "TOCPHA"=>{"label"=>"Vitamin E", "quantity"=>66.99893126277925, "unit"=>"mg"}, "VITK1"=>{"label"=>"Vitamin K", "quantity"=>1397.628198493004, "unit"=>"µg"}}>, #<Recipe:0xXXXXXX @label="Imperial Punch Royale", @url="http://www.bonappetit.com/recipe/imperial-punch-royale", @image="https://www.edamam.com/web-img/0aa/0aa65c6c17b61532ebf384ef96d291b2.jpg", @ingredients=["1 3 1/2- to 33/4-pound pineapple, peeled, cored, cut into 1-inch pieces", "2 cups brandy", "1/2 cup sugar", "2 oranges", "1/2 cup boiling water", "1/2 cup fresh lime juice", "1/2 cup tawny port (such as quinta do infantado)", "1/4 cup maraschino liqueur (such as luxardo)", "Large block of ice with orange slices and lime slices", "2 cups chilled prosecco or other sparkling wine", "1 cup (or more) chilled sparkling water (optional)"], @allergy_info=["Vegetarian", "Gluten-Free", "Egg-Free", "Peanut-Free", "Tree-Nut-Free", "Soy-Free", "Fish-Free", "Shellfish-Free"], @uri="http://www.edamam.com/ontologies/edamam.owl#recipe_cfc1bfeb1cefe5c20d155a65c2a83182", @nutrients={"ENERC_KCAL"=>{"label"=>"Energy", "quantity"=>2558.2259671020506, "unit"=>"kcal"}, "FAT"=>{"label"=>"Fat", "quantity"=>1.6938999954223632, "unit"=>"g"}, "FASAT"=>{"label"=>"Saturated", "quantity"=>0.20420599838256837, "unit"=>"g"}, "FAMS"=>{"label"=>"Monounsaturated", "quantity"=>0.20290199966430664, "unit"=>"g"}, "FAPU"=>{"label"=>"Polyunsaturated", "quantity"=>0.5284099983978272, "unit"=>"g"}, "CHOCDF"=>{"label"=>"Carbs", "quantity"=>296.794749508667, "unit"=>"g"}, "FIBTG"=>{"label"=>"Fiber", "quantity"=>19.442, "unit"=>"g"}, "SUGAR"=>{"label"=>"Sugars", "quantity"=>244.724699508667, "unit"=>"g"}, "PROCNT"=>{"label"=>"Protein", "quantity"=>8.236399998474122, "unit"=>"g"}, "NA"=>{"label"=>"Sodium", "quantity"=>46.56099975585937, "unit"=>"mg"}, "CA"=>{"label"=>"Calcium", "quantity"=>275.22099998474124, "unit"=>"mg"}, "MG"=>{"label"=>"Magnesium", "quantity"=>181.78799995422364, "unit"=>"mg"}, "K"=>{"label"=>"Potassium", "quantity"=>1890.135999298096, "unit"=>"mg"}, "FE"=>{"label"=>"Iron", "quantity"=>4.18247999420166, "unit"=>"mg"}, "ZN"=>{"label"=>"Zinc", "quantity"=>1.9756999946594238, "unit"=>"mg"}, "P"=>{"label"=>"Phosphorus", "quantity"=>205.54299942016604, "unit"=>"mg"}, "VITA_RAE"=>{"label"=>"Vitamin A", "quantity"=>58.39, "unit"=>"µg"}, "VITC"=>{"label"=>"Vitamin C", "quantity"=>608.274, "unit"=>"mg"}, "THIA"=>{"label"=>"Thiamin (B1)", "quantity"=>1.026581999206543, "unit"=>"mg"}, "RIBF"=>{"label"=>"Riboflavin (B2)", "quantity"=>0.5110639993286133, "unit"=>"mg"}, "NIA"=>{"label"=>"Niacin (B3)", "quantity"=>6.020922996215821, "unit"=>"mg"}, "VITB6A"=>{"label"=>"Vitamin B6", "quantity"=>1.3682279998779296, "unit"=>"mg"}, "FOLDFE"=>{"label"=>"Folate (Equivalent)", "quantity"=>256.54, "unit"=>"µg"}, "TOCPHA"=>{"label"=>"Vitamin E", "quantity"=>0.9188000000000001, "unit"=>"mg"}, "VITK1"=>{"label"=>"Vitamin K", "quantity"=>8.237, "unit"=>"µg"}}>]
test/lib/search_api_wrapper_test.rb:21:in `block (4 levels) in <top (required)>'
test/lib/search_api_wrapper_test.rb:18:in `block (3 levels) in <top (required)>'
test_0001_Can get a list of recipes [32m PASS[0m (0.03s)
Finished in 0.09157s
2 tests, 12 assertions, [31m1 failures, 0 errors, [0m[33m0 skips[0m