Guest User

Untitled

a guest
May 26th, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.20 KB | None | 0 0
  1. ~/code/opensource/mousetrap[master]% cat spec/integration/settings.yml
  2. # Replace user and password with your CheddarGetter credentials.
  3. user: myaccount
  4. password: mypass
  5.  
  6. # Go create a product in the CheddarGetter web admin interface named "mousetrap_test".
  7. product_code: MOUSETRAP_TEST
  8.  
  9. ~/code/opensource/mousetrap[master]% spec -c -fn spec/integration/smoke_test.rb
  10. The Wrapper Gem
  11. Mousetrap::Customer
  12. .all
  13. Given a few customers on CheddarGetter
  14. When I call .all
  15. before(:all) (FAILED - 1)
  16. .create
  17. When I create a customer
  18. And I get the customer
  19. before(:all) (FAILED - 2)
  20. And I get the subscription
  21. before(:all) (FAILED - 3)
  22. When I create a customer with international card
  23. And I get the customer
  24. before(:all) (FAILED - 4)
  25. And I get the subscription
  26. before(:all) (FAILED - 5)
  27. .destroy_all
  28. Given a few customers on CheddarGetter
  29. When I call .destroy_all
  30. before(:all) (FAILED - 6)
  31. .update
  32. Given a customer
  33. When I update the customer, with only customer attributes
  34. And I get the customer
  35. before(:all) (FAILED - 7)
  36. When I update the customer, with customer and subscription attributes
  37. And I get the customer
  38. before(:all) (FAILED - 8)
  39. And I get the subscription
  40. before(:all) (FAILED - 9)
  41. #cancel
  42. Given a customer
  43. When I cancel
  44. And I get the customer
  45. before(:all) (FAILED - 10)
  46. When I resubscribe them
  47. And I get the customer
  48. before(:all) (FAILED - 11)
  49. And I get the subscription
  50. before(:all) (FAILED - 12)
  51. #save
  52. When I save a customer
  53. And I get the customer
  54. before(:all) (FAILED - 13)
  55. When I save it again, with different attributes
  56. And I get the customer
  57. before(:all) (FAILED - 14)
  58. When I update subscription information
  59. And I get the subscription
  60. before(:all) (FAILED - 15)
  61. #switch_to_plan
  62. Given an existing CheddarGetter customer
  63. When I switch plans
  64. And I get the customer
  65. before(:all) (FAILED - 16)
  66. Mousetrap::Subscription
  67. Given a customer on CheddarGetter
  68. When I update a subscription field
  69. And I get the customer
  70. before(:all) (FAILED - 17)
  71.  
  72. 1)
  73. RuntimeError in 'The Wrapper Gem Mousetrap::Customer.all Given a few customers on CheddarGetter When I call .all before(:all)'
  74. Authentication required
  75. ./spec/integration/smoke_test.rb:92:
  76. ./spec/integration/smoke_test.rb:92:in `times'
  77. ./spec/integration/smoke_test.rb:92:
  78.  
  79. 2)
  80. RuntimeError in 'The Wrapper Gem Mousetrap::Customer.create When I create a customer And I get the customer before(:all)'
  81. Authentication required
  82. ./spec/integration/smoke_test.rb:112:
  83.  
  84. 3)
  85. RuntimeError in 'The Wrapper Gem Mousetrap::Customer.create When I create a customer And I get the subscription before(:all)'
  86. Authentication required
  87. ./spec/integration/smoke_test.rb:112:
  88.  
  89. 4)
  90. ArgumentError in 'The Wrapper Gem Mousetrap::Customer.create When I create a customer with international card And I get the customer before(:all)'
  91. No such factory: alt_new_customer
  92. ./spec/integration/smoke_test.rb:121:
  93.  
  94. 5)
  95. ArgumentError in 'The Wrapper Gem Mousetrap::Customer.create When I create a customer with international card And I get the subscription before(:all)'
  96. No such factory: alt_new_customer
  97. ./spec/integration/smoke_test.rb:121:
  98.  
  99. 6)
  100. RuntimeError in 'The Wrapper Gem Mousetrap::Customer.destroy_all Given a few customers on CheddarGetter When I call .destroy_all before(:all)'
  101. Authentication required
  102. ./spec/integration/smoke_test.rb:133:
  103.  
  104. 7)
  105. RuntimeError in 'The Wrapper Gem Mousetrap::Customer.update Given a customer When I update the customer, with only customer attributes And I get the customer before(:all)'
  106. Authentication required
  107. ./spec/integration/smoke_test.rb:158:
  108.  
  109. 8)
  110. RuntimeError in 'The Wrapper Gem Mousetrap::Customer.update Given a customer When I update the customer, with customer and subscription attributes And I get the customer before(:all)'
  111. Authentication required
  112. ./spec/integration/smoke_test.rb:158:
  113.  
  114. 9)
  115. RuntimeError in 'The Wrapper Gem Mousetrap::Customer.update Given a customer When I update the customer, with customer and subscription attributes And I get the subscription before(:all)'
  116. Authentication required
  117. ./spec/integration/smoke_test.rb:158:
  118.  
  119. 10)
  120. RuntimeError in 'The Wrapper Gem Mousetrap::Customer#cancel Given a customer When I cancel And I get the customer before(:all)'
  121. Authentication required
  122. ./spec/integration/smoke_test.rb:232:
  123.  
  124. 11)
  125. RuntimeError in 'The Wrapper Gem Mousetrap::Customer#cancel Given a customer When I cancel And I get the customer When I resubscribe them And I get the customer before(:all)'
  126. Authentication required
  127. ./spec/integration/smoke_test.rb:232:
  128.  
  129. 12)
  130. RuntimeError in 'The Wrapper Gem Mousetrap::Customer#cancel Given a customer When I cancel And I get the customer When I resubscribe them And I get the subscription before(:all)'
  131. Authentication required
  132. ./spec/integration/smoke_test.rb:232:
  133.  
  134. 13)
  135. RuntimeError in 'The Wrapper Gem Mousetrap::Customer#save When I save a customer And I get the customer before(:all)'
  136. Authentication required
  137. ./spec/integration/smoke_test.rb:273:
  138.  
  139. 14)
  140. RuntimeError in 'The Wrapper Gem Mousetrap::Customer#save When I save a customer When I save it again, with different attributes And I get the customer before(:all)'
  141. Authentication required
  142. ./spec/integration/smoke_test.rb:273:
  143.  
  144. 15)
  145. RuntimeError in 'The Wrapper Gem Mousetrap::Customer#save When I save a customer When I update subscription information And I get the subscription before(:all)'
  146. Authentication required
  147. ./spec/integration/smoke_test.rb:273:
  148.  
  149. 16)
  150. RuntimeError in 'The Wrapper Gem Mousetrap::Customer#switch_to_plan Given an existing CheddarGetter customer When I switch plans And I get the customer before(:all)'
  151. Authentication required
  152. ./spec/integration/smoke_test.rb:308:
  153.  
  154. 17)
  155. RuntimeError in 'The Wrapper Gem Mousetrap::Subscription Given a customer on CheddarGetter When I update a subscription field And I get the customer before(:all)'
  156. Authentication required
  157. ./spec/integration/smoke_test.rb:335:
  158.  
  159. Finished in 6.08234 seconds
  160.  
  161. 0 examples, 17 failures
Add Comment
Please, Sign In to add comment