teaspoon 0.7.4 → 0.7.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (357) hide show
  1. data/README.md +13 -6
  2. data/app/assets/javascripts/teaspoon-angular.js +0 -6
  3. data/app/assets/javascripts/teaspoon-jasmine.js +0 -10
  4. data/app/assets/javascripts/teaspoon-mocha.js +3 -10
  5. data/app/assets/javascripts/teaspoon-qunit.js +0 -6
  6. data/app/assets/javascripts/teaspoon-teaspoon.js +2 -2
  7. data/app/assets/javascripts/teaspoon/base/teaspoon.coffee +2 -2
  8. data/app/assets/javascripts/teaspoon/mocha.coffee +1 -1
  9. data/app/views/teaspoon/spec/_require_js.html.erb +19 -0
  10. data/app/views/teaspoon/spec/_standard.html.erb +4 -0
  11. data/app/views/teaspoon/spec/runner.html.erb +3 -31
  12. data/app/views/teaspoon/spec/suites.html.erb +1 -1
  13. data/lib/generators/teaspoon/install/POST_INSTALL +2 -2
  14. data/lib/tasks/teaspoon.rake +3 -6
  15. data/lib/teaspoon/configuration.rb +28 -22
  16. data/lib/teaspoon/console.rb +4 -3
  17. data/lib/teaspoon/drivers/phantomjs_driver.rb +1 -1
  18. data/lib/teaspoon/engine.rb +1 -1
  19. data/lib/teaspoon/environment.rb +0 -23
  20. data/lib/teaspoon/runner.rb +1 -1
  21. data/lib/teaspoon/suite.rb +10 -7
  22. data/lib/teaspoon/version.rb +1 -1
  23. data/spec/dummy/config/application.rb +1 -1
  24. data/spec/dummy/config/environments/development.rb +3 -3
  25. data/spec/dummy/config/environments/test.rb +3 -3
  26. data/spec/dummy/log/development.log +7790 -0
  27. data/spec/dummy/log/test.log +943 -0
  28. data/spec/dummy/tmp/cache/assets/C25/DF0/sprockets%2F112ca295249c55965432d1b7287494f2 +0 -0
  29. data/spec/dummy/tmp/cache/assets/C5C/590/sprockets%2Ff42773a21e1ad7875748692902174e5d +0 -0
  30. data/spec/dummy/tmp/cache/assets/C9B/660/sprockets%2F2bf7f93d87a68984bf360036777a9048 +0 -0
  31. data/spec/dummy/tmp/cache/assets/CBC/A50/sprockets%2F8a6b0964e8b088cc6764b749e0e03922 +0 -0
  32. data/spec/dummy/tmp/cache/assets/CD9/0A0/sprockets%2F3c2824c156d5b0613aa154fb839f8a84 +0 -0
  33. data/spec/dummy/tmp/cache/assets/CDE/AA0/sprockets%2Fb269a421986065155eec6b0ccf85c216 +0 -0
  34. data/spec/dummy/tmp/cache/assets/CE9/610/sprockets%2F8932b9f7619376c7cd1b64e42b4a5d42 +0 -0
  35. data/spec/dummy/tmp/cache/assets/CF3/EA0/sprockets%2F35b39c5267e178ce2d838cc8598b7a24 +0 -0
  36. data/spec/dummy/tmp/cache/assets/D0A/500/sprockets%2F1744b63e25858a81fea0430647cc9aca +0 -0
  37. data/spec/dummy/tmp/cache/assets/D1D/7E0/sprockets%2F63c871d9851725b9a3b4c79ac7692adc +0 -0
  38. data/spec/dummy/tmp/cache/assets/D1D/DC0/sprockets%2F6c0b1513003f61e4ca60524ff2b1cb2f +0 -0
  39. data/spec/dummy/tmp/cache/assets/D20/990/sprockets%2F97d3c7dd2bdeb011879c31229e989f90 +0 -0
  40. data/spec/dummy/tmp/cache/assets/D45/6C0/sprockets%2F6d48a05de0277502fa6f67a53f0e5f8f +0 -0
  41. data/spec/dummy/tmp/cache/assets/D4D/500/sprockets%2F75125bab369cd146b4175fdff9f5d739 +0 -0
  42. data/spec/dummy/tmp/cache/assets/D62/750/sprockets%2F9fccdb1b100005e1d4bdc166951857fe +0 -0
  43. data/spec/dummy/tmp/cache/assets/D65/B30/sprockets%2Fe6e3e3a02c509c3064ce77cb5fe24f21 +0 -0
  44. data/spec/dummy/tmp/cache/assets/D67/F20/sprockets%2F2427b0e9fceeb59c529d124005bf31fd +0 -0
  45. data/spec/dummy/tmp/cache/assets/D6A/770/sprockets%2Faa5ff4c1e3bb4e973a730789af00a529 +0 -0
  46. data/spec/dummy/tmp/cache/assets/D78/A90/sprockets%2Fc39e5849e26e90eb372a38bbdf33d60f +0 -0
  47. data/spec/dummy/tmp/cache/assets/DC1/3D0/sprockets%2F86c67cecd2b0adba7950111e7a8c1e2d +0 -0
  48. data/spec/dummy/tmp/cache/assets/DC8/410/sprockets%2Fce10d00f39facdef8448ce9f4c18a022 +0 -0
  49. data/spec/dummy/tmp/cache/assets/E70/880/sprockets%2Fc40e659adecd492d9fe52c7faf9adf8b +0 -0
  50. data/spec/dummy/tmp/cache/assets/development/sprockets/0054df06d1cae8d2b06febd6e77c0b9e +0 -0
  51. data/spec/dummy/tmp/cache/assets/development/sprockets/016bce1f4a2efbe612e877566d9ea100 +0 -0
  52. data/spec/dummy/tmp/cache/assets/development/sprockets/01e2a3325e2617549c1dcfdab8ff93a7 +0 -0
  53. data/spec/dummy/tmp/cache/assets/development/sprockets/02a4c00d7748f3f272b27d771164e1c3 +0 -0
  54. data/spec/dummy/tmp/cache/assets/development/sprockets/02e1c54cebf6319465e469269b91ab66 +0 -0
  55. data/spec/dummy/tmp/cache/assets/development/sprockets/03aa8c32f2ec5847b83b4e293b695ce2 +0 -0
  56. data/spec/dummy/tmp/cache/assets/development/sprockets/052e2c622efb53025e9079646cf01e08 +0 -0
  57. data/spec/dummy/tmp/cache/assets/development/sprockets/05b1005fe9ce9c354228151b517ee009 +0 -0
  58. data/spec/dummy/tmp/cache/assets/development/sprockets/074a8d4e7179c365379a1357729cebce +0 -0
  59. data/spec/dummy/tmp/cache/assets/development/sprockets/07beacb160854d50a8348e861c26f172 +0 -0
  60. data/spec/dummy/tmp/cache/assets/development/sprockets/07e0339625734ae5a31e04166411b782 +0 -0
  61. data/spec/dummy/tmp/cache/assets/development/sprockets/08a6eb8925208e596a4315746e2717da +0 -0
  62. data/spec/dummy/tmp/cache/assets/development/sprockets/08ecd9ad20025d3c1a9a99bce581c2d2 +0 -0
  63. data/spec/dummy/tmp/cache/assets/development/sprockets/091f246d300154ab65ba71bb1b37f490 +0 -0
  64. data/spec/dummy/tmp/cache/assets/development/sprockets/09ebedd4feaad33be1acf8d1c5d2570f +0 -0
  65. data/spec/dummy/tmp/cache/assets/development/sprockets/0b6a13a22b1e2bcc05848aaa9e1dd616 +0 -0
  66. data/spec/dummy/tmp/cache/assets/development/sprockets/0e6215d8ea6200c886a51d5ecf674654 +0 -0
  67. data/spec/dummy/tmp/cache/assets/development/sprockets/0eb156e218088263f90638aa01b7a626 +0 -0
  68. data/spec/dummy/tmp/cache/assets/development/sprockets/0f6a3438734a9a1edb0e0675d9d0377d +0 -0
  69. data/spec/dummy/tmp/cache/assets/development/sprockets/0faaea06542b9581dd4f5b6cd3688d4d +0 -0
  70. data/spec/dummy/tmp/cache/assets/development/sprockets/112ca295249c55965432d1b7287494f2 +0 -0
  71. data/spec/dummy/tmp/cache/assets/development/sprockets/118cfd38542d213203f3dcd4dfeebd24 +0 -0
  72. data/spec/dummy/tmp/cache/assets/development/sprockets/1371f4209f2e3da36cc7ef40c312009d +0 -0
  73. data/spec/dummy/tmp/cache/assets/development/sprockets/13d208e1c03b0955e5a1fe2b0b5b23ef +0 -0
  74. data/spec/dummy/tmp/cache/assets/development/sprockets/145ef30d3bcc7e3ca35892689f6ce8a0 +0 -0
  75. data/spec/dummy/tmp/cache/assets/development/sprockets/15bbb543d7fb17009e5b5e397ccd5b8b +0 -0
  76. data/spec/dummy/tmp/cache/assets/development/sprockets/1744b63e25858a81fea0430647cc9aca +0 -0
  77. data/spec/dummy/tmp/cache/assets/development/sprockets/1942d56a64c30e56e0152274cfc39026 +0 -0
  78. data/spec/dummy/tmp/cache/assets/development/sprockets/1c11323cba96871d4a421b701d5fac73 +0 -0
  79. data/spec/dummy/tmp/cache/assets/development/sprockets/1c46a2827c86133bc4760109187fd59c +0 -0
  80. data/spec/dummy/tmp/cache/assets/development/sprockets/1f2a97763ec71dafb4703fb1106ee483 +0 -0
  81. data/spec/dummy/tmp/cache/assets/development/sprockets/20cf37ca9a4df80bc5da11fafd195e34 +0 -0
  82. data/spec/dummy/tmp/cache/assets/development/sprockets/20ebb049c3c692d97b2972d14b029c5f +0 -0
  83. data/spec/dummy/tmp/cache/assets/development/sprockets/2154b6b03f3215665cd076b8b57d516d +0 -0
  84. data/spec/dummy/tmp/cache/assets/development/sprockets/21ebb80e795090546a759df5a7c10f29 +0 -0
  85. data/spec/dummy/tmp/cache/assets/development/sprockets/22af99288805be7db674b07e8c8e4373 +0 -0
  86. data/spec/dummy/tmp/cache/assets/development/sprockets/2330f9bc8907f8ed00fa58b62ebefbcf +0 -0
  87. data/spec/dummy/tmp/cache/assets/development/sprockets/2427b0e9fceeb59c529d124005bf31fd +0 -0
  88. data/spec/dummy/tmp/cache/assets/development/sprockets/256f2b5ef55bb2178d163de1220af93b +0 -0
  89. data/spec/dummy/tmp/cache/assets/development/sprockets/2587be623abb5cdb107d66c39fc34377 +0 -0
  90. data/spec/dummy/tmp/cache/assets/development/sprockets/292fcaf456df2e8e233cc858eb4ace9f +0 -0
  91. data/spec/dummy/tmp/cache/assets/development/sprockets/2998e7067c0bede1824dfd7f5fc95eef +0 -0
  92. data/spec/dummy/tmp/cache/assets/development/sprockets/29c32d317ecd430bad9d5cb7d34a7fce +0 -0
  93. data/spec/dummy/tmp/cache/assets/development/sprockets/2a787012f1b90d24f42348def86799e3 +0 -0
  94. data/spec/dummy/tmp/cache/assets/development/sprockets/2bf7f93d87a68984bf360036777a9048 +0 -0
  95. data/spec/dummy/tmp/cache/assets/development/sprockets/3220d6e8829d7f682b36690d24d89370 +0 -0
  96. data/spec/dummy/tmp/cache/assets/development/sprockets/35452dbbf5cfb6bc064a3fa7c8095870 +0 -0
  97. data/spec/dummy/tmp/cache/assets/development/sprockets/35b39c5267e178ce2d838cc8598b7a24 +0 -0
  98. data/spec/dummy/tmp/cache/assets/development/sprockets/36fdd953c34e9e9cfc14986b8dba03e0 +0 -0
  99. data/spec/dummy/tmp/cache/assets/development/sprockets/38911cf3b482e0a9ffccdfc3e83d931d +0 -0
  100. data/spec/dummy/tmp/cache/assets/development/sprockets/38d070e91f1b7c5215d70b2525cc07d0 +0 -0
  101. data/spec/dummy/tmp/cache/assets/development/sprockets/39d425c327b59ef33c098d2d26898965 +0 -0
  102. data/spec/dummy/tmp/cache/assets/development/sprockets/3a2136e6395fb4df7797fb30fc5a1f80 +0 -0
  103. data/spec/dummy/tmp/cache/assets/development/sprockets/3c2824c156d5b0613aa154fb839f8a84 +0 -0
  104. data/spec/dummy/tmp/cache/assets/development/sprockets/3c37be0012b241b56b8563b15179847e +0 -0
  105. data/spec/dummy/tmp/cache/assets/development/sprockets/3d58eb5be1b9facbb70f53cd486b2f30 +0 -0
  106. data/spec/dummy/tmp/cache/assets/development/sprockets/3d798baf183cc4887b3992608023b3c9 +0 -0
  107. data/spec/dummy/tmp/cache/assets/development/sprockets/3de69a9ec64e8beae2162f2c2f10b652 +0 -0
  108. data/spec/dummy/tmp/cache/assets/development/sprockets/423830d3fc61db9ea5dd6d33604f8ae4 +0 -0
  109. data/spec/dummy/tmp/cache/assets/development/sprockets/445120c6ae40c4f2ae895467d1bbb12c +0 -0
  110. data/spec/dummy/tmp/cache/assets/development/sprockets/45f20d90b38849e4353c416769053d12 +0 -0
  111. data/spec/dummy/tmp/cache/assets/development/sprockets/4601411fe10ef402c54609b2df2d13e2 +0 -0
  112. data/spec/dummy/tmp/cache/assets/development/sprockets/461f7f03173d3b5412597ca9ace9eff2 +0 -0
  113. data/spec/dummy/tmp/cache/assets/development/sprockets/46365985ce947df2576dca9a91a49685 +0 -0
  114. data/spec/dummy/tmp/cache/assets/development/sprockets/46fecc995c7398a909e40287b688aead +0 -0
  115. data/spec/dummy/tmp/cache/assets/development/sprockets/48f8b7ca81c7ea65efabfb0bf9e9eded +0 -0
  116. data/spec/dummy/tmp/cache/assets/development/sprockets/4bec51fd42ffdf7ebaed5174c225ccb2 +0 -0
  117. data/spec/dummy/tmp/cache/assets/development/sprockets/4bf23e7d8c09d0e6cffeebef39887ec8 +0 -0
  118. data/spec/dummy/tmp/cache/assets/development/sprockets/4c6efdfbb1b86b56c61f560eaee41a33 +0 -0
  119. data/spec/dummy/tmp/cache/assets/development/sprockets/4c75aaa6cb44f86fb775481119bb8f94 +0 -0
  120. data/spec/dummy/tmp/cache/assets/development/sprockets/4de73ac67b329911b1a20f7ed98e995b +0 -0
  121. data/spec/dummy/tmp/cache/assets/development/sprockets/4f7425fbbf4c3fd2e6e64d7e8cdcb224 +0 -0
  122. data/spec/dummy/tmp/cache/assets/development/sprockets/4fadd68bdaa7a15b388bcc7e31233a70 +0 -0
  123. data/spec/dummy/tmp/cache/assets/development/sprockets/508700ef01989622f74d016af26c3d91 +0 -0
  124. data/spec/dummy/tmp/cache/assets/development/sprockets/53b39eb9f52812779e5702977cca7b81 +0 -0
  125. data/spec/dummy/tmp/cache/assets/development/sprockets/56b12ffb63cdb65bb22fdfb17c3e7d3f +0 -0
  126. data/spec/dummy/tmp/cache/assets/development/sprockets/58c3a51016fd8c7b5e4456867ad98165 +0 -0
  127. data/spec/dummy/tmp/cache/assets/development/sprockets/5a8fd092f1b0edb02b2ea0e8b2fb3f31 +0 -0
  128. data/spec/dummy/tmp/cache/assets/development/sprockets/5f02cc6a1789b46ed93f4a6225650eb0 +0 -0
  129. data/spec/dummy/tmp/cache/assets/development/sprockets/60c44252744654a6be1f962c64f7e8c0 +0 -0
  130. data/spec/dummy/tmp/cache/assets/development/sprockets/616dc865f64dd96d844a082e7d8710f9 +0 -0
  131. data/spec/dummy/tmp/cache/assets/development/sprockets/63c871d9851725b9a3b4c79ac7692adc +0 -0
  132. data/spec/dummy/tmp/cache/assets/development/sprockets/649f4fabc8871ebb13456c404e8da320 +0 -0
  133. data/spec/dummy/tmp/cache/assets/development/sprockets/65ca6b356cd31cd9549ce4abbe133c46 +0 -0
  134. data/spec/dummy/tmp/cache/assets/development/sprockets/66968eef158c2c516761d47ed7f9de4f +0 -0
  135. data/spec/dummy/tmp/cache/assets/development/sprockets/6953ed07811a21dbf3e2e6fe3adf3887 +0 -0
  136. data/spec/dummy/tmp/cache/assets/development/sprockets/6a029e83ec409bfe13766cf37becf8cc +0 -0
  137. data/spec/dummy/tmp/cache/assets/development/sprockets/6c0b1513003f61e4ca60524ff2b1cb2f +0 -0
  138. data/spec/dummy/tmp/cache/assets/development/sprockets/6d48a05de0277502fa6f67a53f0e5f8f +0 -0
  139. data/spec/dummy/tmp/cache/assets/development/sprockets/6dba5274d817fdc15c35da619cf98ec3 +0 -0
  140. data/spec/dummy/tmp/cache/assets/development/sprockets/6e83f40cc9d9305a02c35bceae3e3dde +0 -0
  141. data/spec/dummy/tmp/cache/assets/development/sprockets/701c40fd5a85974f67463cd24f52c083 +0 -0
  142. data/spec/dummy/tmp/cache/assets/development/sprockets/70d4509f6ebbc286e37ff1aa2dfec564 +0 -0
  143. data/spec/dummy/tmp/cache/assets/development/sprockets/71169bd3cbcd25bd883788c85bf368db +0 -0
  144. data/spec/dummy/tmp/cache/assets/development/sprockets/7234e32a7c4f75006804d433ad2604e3 +0 -0
  145. data/spec/dummy/tmp/cache/assets/development/sprockets/743f704f57b3be0054262ee4cfdad3ca +0 -0
  146. data/spec/dummy/tmp/cache/assets/development/sprockets/75125bab369cd146b4175fdff9f5d739 +0 -0
  147. data/spec/dummy/tmp/cache/assets/development/sprockets/766a8893a322585eff26c7bc9ad23d73 +0 -0
  148. data/spec/dummy/tmp/cache/assets/development/sprockets/7803747293bdf7e351e12208ce2adb5e +0 -0
  149. data/spec/dummy/tmp/cache/assets/development/sprockets/7977d4db3591d52af3c7a1d32375d2c0 +0 -0
  150. data/spec/dummy/tmp/cache/assets/development/sprockets/7c2185efe2d10ffb394dc6d4cb3dd437 +0 -0
  151. data/spec/dummy/tmp/cache/assets/development/sprockets/7ca5c8056349b5d9faedf61586897245 +0 -0
  152. data/spec/dummy/tmp/cache/assets/development/sprockets/7f370a14e81c2609993a8beb69c1ca9e +0 -0
  153. data/spec/dummy/tmp/cache/assets/development/sprockets/7f99f1d8931e19608c655a6d54ecebde +0 -0
  154. data/spec/dummy/tmp/cache/assets/development/sprockets/8139ac06e8c5dce66a851849f9e61d3c +0 -0
  155. data/spec/dummy/tmp/cache/assets/development/sprockets/81c12a3d4baa2708a1976971c5be97bb +0 -0
  156. data/spec/dummy/tmp/cache/assets/development/sprockets/85eae8c3c76d6df51cf4d5b4c4afda3c +0 -0
  157. data/spec/dummy/tmp/cache/assets/development/sprockets/86a8328ac33071569f5d222fe3af0e52 +0 -0
  158. data/spec/dummy/tmp/cache/assets/development/sprockets/86c67cecd2b0adba7950111e7a8c1e2d +0 -0
  159. data/spec/dummy/tmp/cache/assets/development/sprockets/86cfa20850f26cac6060fe7821089252 +0 -0
  160. data/spec/dummy/tmp/cache/assets/development/sprockets/8783cd1e0a84f6f66fca5cf03c55ee5c +0 -0
  161. data/spec/dummy/tmp/cache/assets/development/sprockets/8932b9f7619376c7cd1b64e42b4a5d42 +0 -0
  162. data/spec/dummy/tmp/cache/assets/development/sprockets/8a6b0964e8b088cc6764b749e0e03922 +0 -0
  163. data/spec/dummy/tmp/cache/assets/development/sprockets/8bae8adecebebb91c6d78778efc9a85f +0 -0
  164. data/spec/dummy/tmp/cache/assets/development/sprockets/8bee82bd1e7266d6993171c496ec99a3 +0 -0
  165. data/spec/dummy/tmp/cache/assets/development/sprockets/8c36c7983c10b95f7894cfaf88e52823 +0 -0
  166. data/spec/dummy/tmp/cache/assets/development/sprockets/9178e65c1450b255f7e2ee47800095c0 +0 -0
  167. data/spec/dummy/tmp/cache/assets/development/sprockets/940ff7dd2eb90b973d157f64a913dca7 +0 -0
  168. data/spec/dummy/tmp/cache/assets/development/sprockets/97d3c7dd2bdeb011879c31229e989f90 +0 -0
  169. data/spec/dummy/tmp/cache/assets/development/sprockets/9af7eb9fe427f90f4316402cea5fab7c +0 -0
  170. data/spec/dummy/tmp/cache/assets/development/sprockets/9b97a5c5521043c8454271a8a18612b2 +0 -0
  171. data/spec/dummy/tmp/cache/assets/development/sprockets/9c1917b055c00de1b20ea9a80156e459 +0 -0
  172. data/spec/dummy/tmp/cache/assets/development/sprockets/9d3df22c1d14157acc0d7551700640f5 +0 -0
  173. data/spec/dummy/tmp/cache/assets/development/sprockets/9f13709c656a483ca78d673ec719e869 +0 -0
  174. data/spec/dummy/tmp/cache/assets/development/sprockets/9fbcf98472dfc131ab3069c07e1cf2dd +0 -0
  175. data/spec/dummy/tmp/cache/assets/development/sprockets/9fccdb1b100005e1d4bdc166951857fe +0 -0
  176. data/spec/dummy/tmp/cache/assets/development/sprockets/a33b3dda5955d0fe5da0f31a84405bdf +0 -0
  177. data/spec/dummy/tmp/cache/assets/development/sprockets/a4876ddba1e5189f8550a984ecb73c66 +0 -0
  178. data/spec/dummy/tmp/cache/assets/development/sprockets/a5ccda39907493196d8a046a7778300a +0 -0
  179. data/spec/dummy/tmp/cache/assets/development/sprockets/a65d355185e6ed0699611739c38a6683 +0 -0
  180. data/spec/dummy/tmp/cache/assets/development/sprockets/a7bc616914f8b8ecb8234b3b19eb8b2c +0 -0
  181. data/spec/dummy/tmp/cache/assets/development/sprockets/a8e6dddc04c87982036dc3128dddf592 +0 -0
  182. data/spec/dummy/tmp/cache/assets/development/sprockets/a9dc643a8e046f4795746f54eec3674e +0 -0
  183. data/spec/dummy/tmp/cache/assets/development/sprockets/aa5ff4c1e3bb4e973a730789af00a529 +0 -0
  184. data/spec/dummy/tmp/cache/assets/development/sprockets/aa81cf310d5d140bbd863483f38fd0a9 +0 -0
  185. data/spec/dummy/tmp/cache/assets/development/sprockets/ac3639fd8faa98d0aacac64154539513 +0 -0
  186. data/spec/dummy/tmp/cache/assets/development/sprockets/ac5424c2468c0ec2fd1985fc0e2f0fe0 +0 -0
  187. data/spec/dummy/tmp/cache/assets/development/sprockets/ac75d9bb3ad3393033a29b1558f68dc6 +0 -0
  188. data/spec/dummy/tmp/cache/assets/development/sprockets/acab060322751b3cc1f8189aa054a901 +0 -0
  189. data/spec/dummy/tmp/cache/assets/development/sprockets/ad79f3d9ccc852e44b0799019b48915d +0 -0
  190. data/spec/dummy/tmp/cache/assets/development/sprockets/ad929fe0ea4b6b870f243475518f2007 +0 -0
  191. data/spec/dummy/tmp/cache/assets/development/sprockets/b0785b5eca3ab95a9cdd7224bc70f7b8 +0 -0
  192. data/spec/dummy/tmp/cache/assets/development/sprockets/b0fdd3aaec208299720615ffbaa588d5 +0 -0
  193. data/spec/dummy/tmp/cache/assets/development/sprockets/b2655da2ace22026d8567f637e597a9c +0 -0
  194. data/spec/dummy/tmp/cache/assets/development/sprockets/b269a421986065155eec6b0ccf85c216 +0 -0
  195. data/spec/dummy/tmp/cache/assets/development/sprockets/b3f106fdb0273e14ceaac0981056f182 +0 -0
  196. data/spec/dummy/tmp/cache/assets/development/sprockets/b5bc90bd03b8b8cb88536edd94400a11 +0 -0
  197. data/spec/dummy/tmp/cache/assets/development/sprockets/b6ddeed67c9ebb1834d6252ef0360d1f +0 -0
  198. data/spec/dummy/tmp/cache/assets/development/sprockets/b8c9bdf295e555386f45c2b9039a0540 +0 -0
  199. data/spec/dummy/tmp/cache/assets/development/sprockets/b924d0b704b7f7ccae9a8502cf8d12da +0 -0
  200. data/spec/dummy/tmp/cache/assets/development/sprockets/bb1481aba2ca44d7b5ee1fe1f16ff418 +0 -0
  201. data/spec/dummy/tmp/cache/assets/development/sprockets/bca72885d4e5f5b5140a3324ec0c7518 +0 -0
  202. data/spec/dummy/tmp/cache/assets/development/sprockets/bdc5cc7c623bf7b38becd3e0cf86238b +0 -0
  203. data/spec/dummy/tmp/cache/assets/development/sprockets/bfa1dc76284515e3af8c18bef1e9e783 +0 -0
  204. data/spec/dummy/tmp/cache/assets/development/sprockets/c0228c8ca1319a061db8d99dc22bd655 +0 -0
  205. data/spec/dummy/tmp/cache/assets/development/sprockets/c39e5849e26e90eb372a38bbdf33d60f +0 -0
  206. data/spec/dummy/tmp/cache/assets/development/sprockets/c40e659adecd492d9fe52c7faf9adf8b +0 -0
  207. data/spec/dummy/tmp/cache/assets/development/sprockets/c5151e2906c7bc7aa0c535125359d57c +0 -0
  208. data/spec/dummy/tmp/cache/assets/development/sprockets/c63844335889f8194cd6f52a8b8ccaf7 +0 -0
  209. data/spec/dummy/tmp/cache/assets/development/sprockets/c7a1d2aa3e560fe16146ff9ae2007fb3 +0 -0
  210. data/spec/dummy/tmp/cache/assets/development/sprockets/c7b8416a760ef20fb941c268d6247b2c +0 -0
  211. data/spec/dummy/tmp/cache/assets/development/sprockets/c87bc9487488c0596756362e14e23f0b +0 -0
  212. data/spec/dummy/tmp/cache/assets/development/sprockets/cc1c50c422676544436b93e13078a165 +0 -0
  213. data/spec/dummy/tmp/cache/assets/development/sprockets/ce10d00f39facdef8448ce9f4c18a022 +0 -0
  214. data/spec/dummy/tmp/cache/assets/development/sprockets/d13ee01780875b57ce81ed7bc0135e8e +0 -0
  215. data/spec/dummy/tmp/cache/assets/development/sprockets/d2cfc054a6b1cb0b10c5bb2db0470cb3 +0 -0
  216. data/spec/dummy/tmp/cache/assets/development/sprockets/d5b452a1060159470bdfa5c9ce0dbb93 +0 -0
  217. data/spec/dummy/tmp/cache/assets/development/sprockets/d627a8776bc0b99cb1a80a0a92286ca2 +0 -0
  218. data/spec/dummy/tmp/cache/assets/development/sprockets/d69b30d50e02dcb115081b2cd95f9b40 +0 -0
  219. data/spec/dummy/tmp/cache/assets/development/sprockets/d6d47781ebf5f7d4eddd22e6b7e1dfa7 +0 -0
  220. data/spec/dummy/tmp/cache/assets/development/sprockets/dacd1540395ae5552c2e7b33857055e3 +0 -0
  221. data/spec/dummy/tmp/cache/assets/development/sprockets/dbf7b6c8fb18d83935e4886509dfe507 +0 -0
  222. data/spec/dummy/tmp/cache/assets/development/sprockets/ddda43bc0cead5b936fff2e3c183d025 +0 -0
  223. data/spec/dummy/tmp/cache/assets/development/sprockets/de96f229aa3f04869ec12f0de0e27dbc +0 -0
  224. data/spec/dummy/tmp/cache/assets/development/sprockets/e0075d8ed16ce9ed495a16469b82220c +0 -0
  225. data/spec/dummy/tmp/cache/assets/development/sprockets/e0a2530bd7903b53589c66e72448bf62 +0 -0
  226. data/spec/dummy/tmp/cache/assets/development/sprockets/e0f1224ac1294a11684d82b0c6490311 +0 -0
  227. data/spec/dummy/tmp/cache/assets/development/sprockets/e2176bb645c9fa718b8c0624feb46797 +0 -0
  228. data/spec/dummy/tmp/cache/assets/development/sprockets/e25be213cbed7ef4ddd5635cee309527 +0 -0
  229. data/spec/dummy/tmp/cache/assets/development/sprockets/e2be99060750d66e6a6934d09f5273da +0 -0
  230. data/spec/dummy/tmp/cache/assets/development/sprockets/e5bd61699dceba0be30e1503fb1ea2d5 +0 -0
  231. data/spec/dummy/tmp/cache/assets/development/sprockets/e5c5fb5c313f4e79163a1a3deb77d575 +0 -0
  232. data/spec/dummy/tmp/cache/assets/development/sprockets/e64969139cb2df5a0b9b4b7030011bee +0 -0
  233. data/spec/dummy/tmp/cache/assets/development/sprockets/e6e3e3a02c509c3064ce77cb5fe24f21 +0 -0
  234. data/spec/dummy/tmp/cache/assets/development/sprockets/e9036d23dde3eafc0faa51dd8608f6b9 +0 -0
  235. data/spec/dummy/tmp/cache/assets/development/sprockets/ead8c2eb1ee25b783c14cef626db1f86 +0 -0
  236. data/spec/dummy/tmp/cache/assets/development/sprockets/eaee5b2a67693103629352dc4e90afde +0 -0
  237. data/spec/dummy/tmp/cache/assets/development/sprockets/ebc72292729a9cbfd596f5b44e3f66f2 +0 -0
  238. data/spec/dummy/tmp/cache/assets/development/sprockets/ed0c0b32e435f3a6df66b33bb61a30c2 +0 -0
  239. data/spec/dummy/tmp/cache/assets/development/sprockets/ed0f1a1faa3cc0285ab9642c11499053 +0 -0
  240. data/spec/dummy/tmp/cache/assets/development/sprockets/ed7a7ef7e51b12860b68287841150e8f +0 -0
  241. data/spec/dummy/tmp/cache/assets/development/sprockets/ee1b7c45e2c87b3ccd16ad5558a526e5 +0 -0
  242. data/spec/dummy/tmp/cache/assets/development/sprockets/ee94eb3fc60faad5f9b50bddc033a930 +0 -0
  243. data/spec/dummy/tmp/cache/assets/development/sprockets/f10089e1f69b4c1c7c517d35aa42ba53 +0 -0
  244. data/spec/dummy/tmp/cache/assets/development/sprockets/f2aa5cfb18cbe25591ad8bba180631e8 +0 -0
  245. data/spec/dummy/tmp/cache/assets/development/sprockets/f3fc9c6bf619ff58fb4249bbaabf52a3 +0 -0
  246. data/spec/dummy/tmp/cache/assets/development/sprockets/f42773a21e1ad7875748692902174e5d +0 -0
  247. data/spec/dummy/tmp/cache/assets/development/sprockets/f7ecd1dcdcdd17d4cbd224f2803826bf +0 -0
  248. data/spec/dummy/tmp/cache/assets/development/sprockets/fac522969e4bf34d9f4e71f9642c395a +0 -0
  249. data/spec/dummy/tmp/cache/assets/development/sprockets/fc7ef2c6ee65afd632820f8f4f323e19 +0 -0
  250. data/spec/dummy/tmp/cache/assets/development/sprockets/fde46c2f2593f4fbe3c8154e9bbfca7c +0 -0
  251. data/spec/dummy/tmp/cache/assets/development/sprockets/fe21848495cb244ed1de184b0335ebbe +0 -0
  252. data/spec/dummy/tmp/cache/assets/development/sprockets/ff5c7362c733f8187bf4fa1b56567fff +0 -0
  253. data/spec/dummy/tmp/cache/assets/test/sprockets/01e2a3325e2617549c1dcfdab8ff93a7 +0 -0
  254. data/spec/dummy/tmp/cache/assets/test/sprockets/050d99b01781605d476d4448944e818f +0 -0
  255. data/spec/dummy/tmp/cache/assets/test/sprockets/05b1005fe9ce9c354228151b517ee009 +0 -0
  256. data/spec/dummy/tmp/cache/assets/test/sprockets/074a8d4e7179c365379a1357729cebce +0 -0
  257. data/spec/dummy/tmp/cache/assets/test/sprockets/07beacb160854d50a8348e861c26f172 +0 -0
  258. data/spec/dummy/tmp/cache/assets/test/sprockets/087d4a99adae6d6972937a2e57e93504 +0 -0
  259. data/spec/dummy/tmp/cache/assets/test/sprockets/09ebedd4feaad33be1acf8d1c5d2570f +0 -0
  260. data/spec/dummy/tmp/cache/assets/test/sprockets/0d17405b5806711c7cf261e51ea6df82 +0 -0
  261. data/spec/dummy/tmp/cache/assets/test/sprockets/0e6215d8ea6200c886a51d5ecf674654 +0 -0
  262. data/spec/dummy/tmp/cache/assets/test/sprockets/0f6a3438734a9a1edb0e0675d9d0377d +0 -0
  263. data/spec/dummy/tmp/cache/assets/test/sprockets/0faaea06542b9581dd4f5b6cd3688d4d +0 -0
  264. data/spec/dummy/tmp/cache/assets/test/sprockets/118cfd38542d213203f3dcd4dfeebd24 +0 -0
  265. data/spec/dummy/tmp/cache/assets/test/sprockets/1371f4209f2e3da36cc7ef40c312009d +0 -0
  266. data/spec/dummy/tmp/cache/assets/test/sprockets/15bbb543d7fb17009e5b5e397ccd5b8b +0 -0
  267. data/spec/dummy/tmp/cache/assets/test/sprockets/17dcd25e57fe7397d30d44ffa1400aef +0 -0
  268. data/spec/dummy/tmp/cache/assets/test/sprockets/20ebb049c3c692d97b2972d14b029c5f +0 -0
  269. data/spec/dummy/tmp/cache/assets/test/sprockets/2154b6b03f3215665cd076b8b57d516d +0 -0
  270. data/spec/dummy/tmp/cache/assets/test/sprockets/21ebb80e795090546a759df5a7c10f29 +0 -0
  271. data/spec/dummy/tmp/cache/assets/test/sprockets/2330f9bc8907f8ed00fa58b62ebefbcf +0 -0
  272. data/spec/dummy/tmp/cache/assets/test/sprockets/2587be623abb5cdb107d66c39fc34377 +0 -0
  273. data/spec/dummy/tmp/cache/assets/test/sprockets/2923479467bdf1e189d0c8f79ae46fc0 +0 -0
  274. data/spec/dummy/tmp/cache/assets/test/sprockets/292fcaf456df2e8e233cc858eb4ace9f +0 -0
  275. data/spec/dummy/tmp/cache/assets/test/sprockets/2998e7067c0bede1824dfd7f5fc95eef +0 -0
  276. data/spec/dummy/tmp/cache/assets/test/sprockets/2a787012f1b90d24f42348def86799e3 +0 -0
  277. data/spec/dummy/tmp/cache/assets/test/sprockets/3c37be0012b241b56b8563b15179847e +0 -0
  278. data/spec/dummy/tmp/cache/assets/test/sprockets/445120c6ae40c4f2ae895467d1bbb12c +0 -0
  279. data/spec/dummy/tmp/cache/assets/test/sprockets/4601411fe10ef402c54609b2df2d13e2 +0 -0
  280. data/spec/dummy/tmp/cache/assets/test/sprockets/46365985ce947df2576dca9a91a49685 +0 -0
  281. data/spec/dummy/tmp/cache/assets/test/sprockets/4bec51fd42ffdf7ebaed5174c225ccb2 +0 -0
  282. data/spec/dummy/tmp/cache/assets/test/sprockets/4bf23e7d8c09d0e6cffeebef39887ec8 +0 -0
  283. data/spec/dummy/tmp/cache/assets/test/sprockets/4c6efdfbb1b86b56c61f560eaee41a33 +0 -0
  284. data/spec/dummy/tmp/cache/assets/test/sprockets/4c75aaa6cb44f86fb775481119bb8f94 +0 -0
  285. data/spec/dummy/tmp/cache/assets/test/sprockets/53b39eb9f52812779e5702977cca7b81 +0 -0
  286. data/spec/dummy/tmp/cache/assets/test/sprockets/56b12ffb63cdb65bb22fdfb17c3e7d3f +0 -0
  287. data/spec/dummy/tmp/cache/assets/test/sprockets/5a8fd092f1b0edb02b2ea0e8b2fb3f31 +0 -0
  288. data/spec/dummy/tmp/cache/assets/test/sprockets/60c44252744654a6be1f962c64f7e8c0 +0 -0
  289. data/spec/dummy/tmp/cache/assets/test/sprockets/65ca6b356cd31cd9549ce4abbe133c46 +0 -0
  290. data/spec/dummy/tmp/cache/assets/test/sprockets/6953ed07811a21dbf3e2e6fe3adf3887 +0 -0
  291. data/spec/dummy/tmp/cache/assets/test/sprockets/6c0b1513003f61e4ca60524ff2b1cb2f +0 -0
  292. data/spec/dummy/tmp/cache/assets/test/sprockets/6e83f40cc9d9305a02c35bceae3e3dde +0 -0
  293. data/spec/dummy/tmp/cache/assets/test/sprockets/70d4509f6ebbc286e37ff1aa2dfec564 +0 -0
  294. data/spec/dummy/tmp/cache/assets/test/sprockets/7395f2f9b6f6a07b44eadbf3c1216a7c +0 -0
  295. data/spec/dummy/tmp/cache/assets/test/sprockets/766a8893a322585eff26c7bc9ad23d73 +0 -0
  296. data/spec/dummy/tmp/cache/assets/test/sprockets/7977d4db3591d52af3c7a1d32375d2c0 +0 -0
  297. data/spec/dummy/tmp/cache/assets/test/sprockets/799cc5f63f62ebc5faf4511e771fa5b5 +0 -0
  298. data/spec/dummy/tmp/cache/assets/test/sprockets/7ca5c8056349b5d9faedf61586897245 +0 -0
  299. data/spec/dummy/tmp/cache/assets/test/sprockets/7fd0ad444f4a16b359bdbfe0977bb874 +0 -0
  300. data/spec/dummy/tmp/cache/assets/test/sprockets/8139ac06e8c5dce66a851849f9e61d3c +0 -0
  301. data/spec/dummy/tmp/cache/assets/test/sprockets/843753cd212542b4d1d0934130b2c370 +0 -0
  302. data/spec/dummy/tmp/cache/assets/test/sprockets/85eae8c3c76d6df51cf4d5b4c4afda3c +0 -0
  303. data/spec/dummy/tmp/cache/assets/test/sprockets/86cfa20850f26cac6060fe7821089252 +0 -0
  304. data/spec/dummy/tmp/cache/assets/test/sprockets/8783cd1e0a84f6f66fca5cf03c55ee5c +0 -0
  305. data/spec/dummy/tmp/cache/assets/test/sprockets/8bae8adecebebb91c6d78778efc9a85f +0 -0
  306. data/spec/dummy/tmp/cache/assets/test/sprockets/9af7eb9fe427f90f4316402cea5fab7c +0 -0
  307. data/spec/dummy/tmp/cache/assets/test/sprockets/9b97a5c5521043c8454271a8a18612b2 +0 -0
  308. data/spec/dummy/tmp/cache/assets/test/sprockets/9c1917b055c00de1b20ea9a80156e459 +0 -0
  309. data/spec/dummy/tmp/cache/assets/test/sprockets/a7bc616914f8b8ecb8234b3b19eb8b2c +0 -0
  310. data/spec/dummy/tmp/cache/assets/test/sprockets/a9dc643a8e046f4795746f54eec3674e +0 -0
  311. data/spec/dummy/tmp/cache/assets/test/sprockets/ac75d9bb3ad3393033a29b1558f68dc6 +0 -0
  312. data/spec/dummy/tmp/cache/assets/test/sprockets/acab060322751b3cc1f8189aa054a901 +0 -0
  313. data/spec/dummy/tmp/cache/assets/test/sprockets/ad79f3d9ccc852e44b0799019b48915d +0 -0
  314. data/spec/dummy/tmp/cache/assets/test/sprockets/b3f106fdb0273e14ceaac0981056f182 +0 -0
  315. data/spec/dummy/tmp/cache/assets/test/sprockets/b5bc90bd03b8b8cb88536edd94400a11 +0 -0
  316. data/spec/dummy/tmp/cache/assets/test/sprockets/b8694bbec107486c72e40670b3b7832d +0 -0
  317. data/spec/dummy/tmp/cache/assets/test/sprockets/bb1481aba2ca44d7b5ee1fe1f16ff418 +0 -0
  318. data/spec/dummy/tmp/cache/assets/test/sprockets/bca72885d4e5f5b5140a3324ec0c7518 +0 -0
  319. data/spec/dummy/tmp/cache/assets/test/sprockets/bdc5cc7c623bf7b38becd3e0cf86238b +0 -0
  320. data/spec/dummy/tmp/cache/assets/test/sprockets/c0228c8ca1319a061db8d99dc22bd655 +0 -0
  321. data/spec/dummy/tmp/cache/assets/test/sprockets/ce10d00f39facdef8448ce9f4c18a022 +0 -0
  322. data/spec/dummy/tmp/cache/assets/test/sprockets/d13ee01780875b57ce81ed7bc0135e8e +0 -0
  323. data/spec/dummy/tmp/cache/assets/test/sprockets/d5b452a1060159470bdfa5c9ce0dbb93 +0 -0
  324. data/spec/dummy/tmp/cache/assets/test/sprockets/d627a8776bc0b99cb1a80a0a92286ca2 +0 -0
  325. data/spec/dummy/tmp/cache/assets/test/sprockets/d69b30d50e02dcb115081b2cd95f9b40 +0 -0
  326. data/spec/dummy/tmp/cache/assets/test/sprockets/dacd1540395ae5552c2e7b33857055e3 +0 -0
  327. data/spec/dummy/tmp/cache/assets/test/sprockets/dbcd5b5132f1ec3ff0e7e7db19190f03 +0 -0
  328. data/spec/dummy/tmp/cache/assets/test/sprockets/dbf7b6c8fb18d83935e4886509dfe507 +0 -0
  329. data/spec/dummy/tmp/cache/assets/test/sprockets/df7609630657aee0ebe5ed61e929d5dd +0 -0
  330. data/spec/dummy/tmp/cache/assets/test/sprockets/e0f1224ac1294a11684d82b0c6490311 +0 -0
  331. data/spec/dummy/tmp/cache/assets/test/sprockets/e1317822fdcc5580f1e50c9b91c6e5bb +0 -0
  332. data/spec/dummy/tmp/cache/assets/test/sprockets/e2176bb645c9fa718b8c0624feb46797 +0 -0
  333. data/spec/dummy/tmp/cache/assets/test/sprockets/e5c5fb5c313f4e79163a1a3deb77d575 +0 -0
  334. data/spec/dummy/tmp/cache/assets/test/sprockets/e8cc1bf3231003d92b11cbf1ebd5a82f +0 -0
  335. data/spec/dummy/tmp/cache/assets/test/sprockets/eaee5b2a67693103629352dc4e90afde +0 -0
  336. data/spec/dummy/tmp/cache/assets/test/sprockets/ec46fb30cecc002128c61fb49cf30da8 +0 -0
  337. data/spec/dummy/tmp/cache/assets/test/sprockets/ed0c0b32e435f3a6df66b33bb61a30c2 +0 -0
  338. data/spec/dummy/tmp/cache/assets/test/sprockets/f0f2b623b42840839e37f5ed055f5482 +0 -0
  339. data/spec/dummy/tmp/cache/assets/test/sprockets/f7ecd1dcdcdd17d4cbd224f2803826bf +0 -0
  340. data/spec/dummy/tmp/cache/assets/test/sprockets/ff5c7362c733f8187bf4fa1b56567fff +0 -0
  341. data/spec/features/console_reporter_spec.rb +1 -0
  342. data/spec/features/instrumentation_spec.rb +1 -0
  343. data/spec/javascripts/teaspoon/jasmine/spec_jspec.coffee +3 -0
  344. data/spec/javascripts/teaspoon/mocha/spec_mspec.coffee +9 -0
  345. data/spec/teaspoon/command_line_spec.rb +2 -2
  346. data/spec/teaspoon/console_spec.rb +15 -3
  347. data/spec/teaspoon/coverage_spec.rb +1 -1
  348. data/spec/teaspoon/drivers/phantomjs_driver_spec.rb +1 -1
  349. data/spec/teaspoon/drivers/selenium_driver_spec.rb +5 -5
  350. data/spec/teaspoon/environment_spec.rb +1 -1
  351. data/spec/teaspoon/formatters/base_formatter_spec.rb +3 -3
  352. data/spec/teaspoon/instrumentation_spec.rb +4 -3
  353. data/spec/teaspoon/runner_spec.rb +1 -1
  354. data/spec/teaspoon/server_spec.rb +4 -4
  355. data/spec/teaspoon/suite_spec.rb +17 -20
  356. metadata +620 -6
  357. data/bin/teabag +0 -2
data/README.md CHANGED
@@ -1,11 +1,11 @@
1
1
  Teaspoon
2
- ======
2
+ ========
3
3
  [![Build Status](https://travis-ci.org/modeset/teaspoon.png)](https://travis-ci.org/modeset/teaspoon)
4
4
  [![Code Climate](https://codeclimate.com/github/modeset/teaspoon.png)](https://codeclimate.com/github/modeset/teaspoon)
5
5
 
6
6
  Teaspoon is a Javascript test runner built on top of Rails. It can run tests in the browser, or headlessly using PhantomJS or with Selenium WebDriver.
7
7
 
8
- It's objective is to be the simplest, while also being the most complete Javascript testing solution for Rails. It takes full advantage of the asset pipeline and ships with support for Jasmine, Mocha, QUnit, and (experiementally) Angular.
8
+ Its objective is to be the simplest, while also being the most complete Javascript testing solution for Rails. It takes full advantage of the asset pipeline and ships with support for Jasmine, Mocha, QUnit, and (experimentally) Angular.
9
9
 
10
10
  Ok, another Javascript test runner, right? Really? Yeah, that's tough, but we're pretty confident Teaspoon is one of the nicest and most full featured you'll find at the moment. And if you disagree, let us know and we'll probably fix whatever it is that you didn't like.
11
11
 
@@ -15,7 +15,7 @@ If you'd like to use Teaspoon with [Guard](https://github.com/guard/guard), chec
15
15
 
16
16
  ### Developer Notice:
17
17
 
18
- Teabag has been renamed to Teaspoon, thanks to (bigtunacan)[https://github.com/bigtunacan].
18
+ Teabag has been renamed to Teaspoon, thanks to [bigtunacan](https://github.com/bigtunacan).
19
19
 
20
20
  This means you should change your gemspec to point to "teaspoon". A deprecation notice was provided with the last release of the gem under the teabag name, and versions will continue to move forward from 0.7.3.
21
21
 
@@ -50,10 +50,10 @@ Updating requires that you rename your `teabag.rb` initializer to `teaspoon.rb`,
50
50
 
51
51
  ## Installation
52
52
 
53
- Add it to your Gemfile. In most cases you'll want to restrict it to the `:asset`, or `:development, :test` groups.
53
+ Add it to your Gemfile. In most cases you'll want to restrict it to the `:development, :test` or `:asset` groups.
54
54
 
55
55
  ```ruby
56
- group :assets do
56
+ group :development, :test do
57
57
  gem "teaspoon"
58
58
  end
59
59
  ```
@@ -89,8 +89,14 @@ You can focus tests in various ways, and Teaspoon provides an interface to run f
89
89
 
90
90
  ### Rake
91
91
 
92
+ The rake task provides several ways of foucusing tests. You can specify the suite to run, the files to run, and/or directories to run.
93
+
92
94
  ```
93
95
  rake teaspoon suite=my_fantastic_suite
96
+ rake teaspoon files=test/javascripts/controllers/my_controller_test.js
97
+ rake teaspoon files=test/javascripts/integration,test/javascripts/models
98
+ rake teaspoon files=test/javascripts/integration,test/javascripts/models,test/javascripts/controllers/my_controller_test.js
99
+ rake teaspoon suite=my_fantastic_suite files=test/javascripts/integration,test/javascripts/models,test/javascripts/controllers/my_controller_test.js
94
100
  ```
95
101
 
96
102
  ### Command Line Interface
@@ -101,11 +107,12 @@ The command line interface requires a `teaspoon_env.rb` file that you can get by
101
107
  bundle exec teaspoon
102
108
  ```
103
109
 
104
- The CLI provides several ways of focusing tests. You can specify the suite to run, the files to run, and a filter.
110
+ The CLI provides several ways of focusing tests. You can specify the suite to run, the files to run, directories to run, and a filter.
105
111
 
106
112
  ```
107
113
  bundle exec teaspoon --suite=my_fantastic_suite
108
114
  bundle exec teaspoon spec/javascripts/calculator_spec.js
115
+ bundle exec teaspoon spec/javascripts/integration
109
116
  bundle exec teaspoon --filter="Calculator should add two digits"
110
117
  ```
111
118
 
@@ -26227,7 +26227,6 @@ angular.element(document).find('head').append('<style type="text/css">@charset "
26227
26227
 
26228
26228
  Teaspoon.onWindowLoad = function(method) {
26229
26229
  var originalOnload;
26230
-
26231
26230
  originalOnload = window.onload;
26232
26231
  return window.onload = function() {
26233
26232
  if (originalOnload && originalOnload.call) {
@@ -26239,7 +26238,6 @@ angular.element(document).find('head').append('<style type="text/css">@charset "
26239
26238
 
26240
26239
  Teaspoon.resolveDependenciesFromParams = function(all) {
26241
26240
  var dep, deps, file, parts, path, paths, _i, _j, _len, _len1;
26242
-
26243
26241
  if (all == null) {
26244
26242
  all = [];
26245
26243
  }
@@ -26266,7 +26264,6 @@ angular.element(document).find('head').append('<style type="text/css">@charset "
26266
26264
 
26267
26265
  Teaspoon.log = function() {
26268
26266
  var e;
26269
-
26270
26267
  this.messages.push(arguments[0]);
26271
26268
  try {
26272
26269
  return console.log.apply(console, arguments);
@@ -26278,7 +26275,6 @@ angular.element(document).find('head').append('<style type="text/css">@charset "
26278
26275
 
26279
26276
  Teaspoon.getMessages = function() {
26280
26277
  var messages;
26281
-
26282
26278
  messages = this.messages;
26283
26279
  this.messages = [];
26284
26280
  return messages;
@@ -27391,7 +27387,6 @@ angular.element(document).find('head').append('<style type="text/css">@charset "
27391
27387
 
27392
27388
  Spec.prototype.errors = function() {
27393
27389
  var step, _i, _len, _ref1, _results;
27394
-
27395
27390
  if (!this.spec.steps) {
27396
27391
  return [];
27397
27392
  }
@@ -27412,7 +27407,6 @@ angular.element(document).find('head').append('<style type="text/css">@charset "
27412
27407
 
27413
27408
  Spec.prototype.result = function() {
27414
27409
  var status;
27415
-
27416
27410
  status = "failed";
27417
27411
  if (this.spec.status === "success") {
27418
27412
  status = "passed";
@@ -2633,7 +2633,6 @@ jasmine.version_= {
2633
2633
 
2634
2634
  Teaspoon.onWindowLoad = function(method) {
2635
2635
  var originalOnload;
2636
-
2637
2636
  originalOnload = window.onload;
2638
2637
  return window.onload = function() {
2639
2638
  if (originalOnload && originalOnload.call) {
@@ -2645,7 +2644,6 @@ jasmine.version_= {
2645
2644
 
2646
2645
  Teaspoon.resolveDependenciesFromParams = function(all) {
2647
2646
  var dep, deps, file, parts, path, paths, _i, _j, _len, _len1;
2648
-
2649
2647
  if (all == null) {
2650
2648
  all = [];
2651
2649
  }
@@ -2672,7 +2670,6 @@ jasmine.version_= {
2672
2670
 
2673
2671
  Teaspoon.log = function() {
2674
2672
  var e;
2675
-
2676
2673
  this.messages.push(arguments[0]);
2677
2674
  try {
2678
2675
  return console.log.apply(console, arguments);
@@ -2684,7 +2681,6 @@ jasmine.version_= {
2684
2681
 
2685
2682
  Teaspoon.getMessages = function() {
2686
2683
  var messages;
2687
-
2688
2684
  messages = this.messages;
2689
2685
  this.messages = [];
2690
2686
  return messages;
@@ -3719,7 +3715,6 @@ jasmine.version_= {
3719
3715
 
3720
3716
  Runner.prototype.setup = function() {
3721
3717
  var grep, reporter;
3722
-
3723
3718
  env.updateInterval = 1000;
3724
3719
  if (grep = this.params["grep"]) {
3725
3720
  env.specFilter = function(spec) {
@@ -3759,7 +3754,6 @@ jasmine.version_= {
3759
3754
 
3760
3755
  Spec.prototype.errors = function() {
3761
3756
  var item, _i, _len, _ref, _results;
3762
-
3763
3757
  if (!this.spec.results) {
3764
3758
  return [];
3765
3759
  }
@@ -3780,7 +3774,6 @@ jasmine.version_= {
3780
3774
 
3781
3775
  Spec.prototype.getParents = function() {
3782
3776
  var parent;
3783
-
3784
3777
  if (this.parents) {
3785
3778
  return this.parents;
3786
3779
  }
@@ -3796,7 +3789,6 @@ jasmine.version_= {
3796
3789
 
3797
3790
  Spec.prototype.result = function() {
3798
3791
  var results, status;
3799
-
3800
3792
  results = this.spec.results();
3801
3793
  status = "failed";
3802
3794
  if (results.passed()) {
@@ -3842,7 +3834,6 @@ jasmine.version_= {
3842
3834
  fixture.load = function() {
3843
3835
  var args,
3844
3836
  _this = this;
3845
-
3846
3837
  args = arguments;
3847
3838
  if (!(env.currentSuite || env.currentSpec)) {
3848
3839
  throw "Teaspoon can't load fixtures outside of describe.";
@@ -3866,7 +3857,6 @@ jasmine.version_= {
3866
3857
  fixture.set = function() {
3867
3858
  var args,
3868
3859
  _this = this;
3869
-
3870
3860
  args = arguments;
3871
3861
  if (!(env.currentSuite || env.currentSpec)) {
3872
3862
  throw "Teaspoon can't load fixtures outside of describe.";
@@ -5404,7 +5404,6 @@
5404
5404
 
5405
5405
  Teaspoon.onWindowLoad = function(method) {
5406
5406
  var originalOnload;
5407
-
5408
5407
  originalOnload = window.onload;
5409
5408
  return window.onload = function() {
5410
5409
  if (originalOnload && originalOnload.call) {
@@ -5416,7 +5415,6 @@
5416
5415
 
5417
5416
  Teaspoon.resolveDependenciesFromParams = function(all) {
5418
5417
  var dep, deps, file, parts, path, paths, _i, _j, _len, _len1;
5419
-
5420
5418
  if (all == null) {
5421
5419
  all = [];
5422
5420
  }
@@ -5443,7 +5441,6 @@
5443
5441
 
5444
5442
  Teaspoon.log = function() {
5445
5443
  var e;
5446
-
5447
5444
  this.messages.push(arguments[0]);
5448
5445
  try {
5449
5446
  return console.log.apply(console, arguments);
@@ -5455,7 +5452,6 @@
5455
5452
 
5456
5453
  Teaspoon.getMessages = function() {
5457
5454
  var messages;
5458
-
5459
5455
  messages = this.messages;
5460
5456
  this.messages = [];
5461
5457
  return messages;
@@ -6549,7 +6545,6 @@
6549
6545
 
6550
6546
  Runner.prototype.setup = function() {
6551
6547
  var reporter;
6552
-
6553
6548
  reporter = this.getReporter();
6554
6549
  return env.setup({
6555
6550
  reporter: reporter
@@ -6581,7 +6576,6 @@
6581
6576
 
6582
6577
  Spec.prototype.getParents = function() {
6583
6578
  var parent;
6584
-
6585
6579
  if (this.parents) {
6586
6580
  return this.parents;
6587
6581
  }
@@ -6597,7 +6591,6 @@
6597
6591
 
6598
6592
  Spec.prototype.result = function() {
6599
6593
  var status;
6600
-
6601
6594
  status = "failed";
6602
6595
  if (this.spec.state === "passed" || this.spec.state === "skipped") {
6603
6596
  status = "passed";
@@ -6617,11 +6610,13 @@
6617
6610
 
6618
6611
  Teaspoon.Suite = (function() {
6619
6612
  function Suite(suite) {
6613
+ var _ref;
6614
+
6620
6615
  this.suite = suite;
6621
6616
  this.fullDescription = this.suite.fullTitle();
6622
6617
  this.description = this.suite.title;
6623
6618
  this.link = "?grep=" + (encodeURIComponent(this.fullDescription));
6624
- this.parent = this.suite.parent.root ? null : this.suite.parent;
6619
+ this.parent = ((_ref = this.suite.parent) != null ? _ref.root : void 0) ? null : this.suite.parent;
6625
6620
  this.viewId = this.suite.viewId;
6626
6621
  }
6627
6622
 
@@ -6642,7 +6637,6 @@
6642
6637
  fixture.load = function() {
6643
6638
  var args,
6644
6639
  _this = this;
6645
-
6646
6640
  args = arguments;
6647
6641
  if (env.started) {
6648
6642
  return fixture.__super__.constructor.load.apply(this, arguments);
@@ -6656,7 +6650,6 @@
6656
6650
  fixture.set = function() {
6657
6651
  var args,
6658
6652
  _this = this;
6659
-
6660
6653
  args = arguments;
6661
6654
  if (env.started) {
6662
6655
  return fixture.__super__.constructor.set.apply(this, arguments);
@@ -2184,7 +2184,6 @@
2184
2184
 
2185
2185
  Teaspoon.onWindowLoad = function(method) {
2186
2186
  var originalOnload;
2187
-
2188
2187
  originalOnload = window.onload;
2189
2188
  return window.onload = function() {
2190
2189
  if (originalOnload && originalOnload.call) {
@@ -2196,7 +2195,6 @@
2196
2195
 
2197
2196
  Teaspoon.resolveDependenciesFromParams = function(all) {
2198
2197
  var dep, deps, file, parts, path, paths, _i, _j, _len, _len1;
2199
-
2200
2198
  if (all == null) {
2201
2199
  all = [];
2202
2200
  }
@@ -2223,7 +2221,6 @@
2223
2221
 
2224
2222
  Teaspoon.log = function() {
2225
2223
  var e;
2226
-
2227
2224
  this.messages.push(arguments[0]);
2228
2225
  try {
2229
2226
  return console.log.apply(console, arguments);
@@ -2235,7 +2232,6 @@
2235
2232
 
2236
2233
  Teaspoon.getMessages = function() {
2237
2234
  var messages;
2238
-
2239
2235
  messages = this.messages;
2240
2236
  this.messages = [];
2241
2237
  return messages;
@@ -3436,7 +3432,6 @@
3436
3432
 
3437
3433
  Spec.prototype.errors = function() {
3438
3434
  var item, _i, _len, _ref, _results;
3439
-
3440
3435
  if (!this.spec.failed) {
3441
3436
  return [];
3442
3437
  }
@@ -3464,7 +3459,6 @@
3464
3459
 
3465
3460
  Spec.prototype.result = function() {
3466
3461
  var status;
3467
-
3468
3462
  status = "failed";
3469
3463
  if (!this.spec.failed) {
3470
3464
  status = "passed";
@@ -4,7 +4,8 @@
4
4
 
5
5
  TeaspoonInterface = (function() {
6
6
  function TeaspoonInterface() {
7
- this.filter = __bind(this.filter, this); this.files = $u("#teaspoon-suite-list .file a");
7
+ this.filter = __bind(this.filter, this);
8
+ this.files = $u("#teaspoon-suite-list .file a");
8
9
  this.input = $u("#teaspoon-filter-input")[0];
9
10
  this.input.value = "";
10
11
  this.input.onkeyup = this.filter;
@@ -13,7 +14,6 @@
13
14
 
14
15
  TeaspoonInterface.prototype.filter = function() {
15
16
  var file, _i, _len, _ref, _results;
16
-
17
17
  _ref = this.files;
18
18
  _results = [];
19
19
  for (_i = 0, _len = _ref.length; _i < _len; _i++) {
@@ -22,13 +22,14 @@ class @Teaspoon
22
22
  @started = true
23
23
  new Teaspoon.Runner()
24
24
 
25
+
25
26
  @onWindowLoad: (method) ->
26
27
  originalOnload = window.onload
27
28
  window.onload = ->
28
29
  originalOnload() if originalOnload && originalOnload.call
29
30
  method()
30
31
 
31
- # provides interface for AMD usage -- pass all dependencies in as an array, and params will be checked for matches
32
+
32
33
  @resolveDependenciesFromParams: (all = []) ->
33
34
  deps = []
34
35
  return all if (paths = @location.search.match(/[\?&]file(\[\])?=[^&\?]*/gi)) == null
@@ -41,7 +42,6 @@ class @Teaspoon
41
42
  deps
42
43
 
43
44
 
44
- # logging methods -- used by selenium / phantomJS to get information back to ruby
45
45
  @log: ->
46
46
  @messages.push(arguments[0])
47
47
  try console.log(arguments...)
@@ -62,7 +62,7 @@ class Teaspoon.Suite
62
62
  @fullDescription = @suite.fullTitle()
63
63
  @description = @suite.title
64
64
  @link = "?grep=#{encodeURIComponent(@fullDescription)}"
65
- @parent = if @suite.parent.root then null else @suite.parent
65
+ @parent = if @suite.parent?.root then null else @suite.parent
66
66
  @viewId = @suite.viewId
67
67
 
68
68
 
@@ -0,0 +1,19 @@
1
+ <%= javascript_include_tag_for_teaspoon *@suite.helper, @javascript_options %>
2
+ <script type="text/javascript">
3
+ // When the DOM is loaded, we then use require to include currently selected file/suite, then once those are all loaded, we run Teaspoon
4
+ // @suite.spec_javascripts_for_require strips off the .js file extension
5
+ Teaspoon.onWindowLoad(function () {
6
+ // setup the Teaspoon path prefix to load /assets
7
+ require.config(
8
+ <% if Rails.application.config.respond_to?(:requirejs) %>
9
+ <%=raw Rails.application.config.requirejs.user_config.merge({baseUrl: '/assets'}).to_json %>
10
+ <% else %>
11
+ {baseUrl: '/assets'}
12
+ <% end %>
13
+ );
14
+
15
+ require(<%=raw @suite.spec_javascripts_for_require.to_json %>, function () {
16
+ Teaspoon.execute();
17
+ });
18
+ });
19
+ </script>
@@ -0,0 +1,4 @@
1
+ <%= javascript_include_tag_for_teaspoon *@suite.spec_javascripts, @javascript_options %>
2
+ <script type="text/javascript">
3
+ Teaspoon.onWindowLoad(Teaspoon.execute);
4
+ </script>
@@ -1,4 +1,4 @@
1
- <!DOCTYPE>
1
+ <!DOCTYPE html>
2
2
  <html>
3
3
  <head>
4
4
  <title>Teaspoon :: Javascript Test Runner</title>
@@ -7,40 +7,12 @@
7
7
  <%= stylesheet_link_tag_for_teaspoon *@suite.stylesheets %>
8
8
  <%= javascript_include_tag_for_teaspoon *@suite.core_javascripts %>
9
9
  <script type="text/javascript">
10
- // pass relevant info to javascript
11
10
  Teaspoon.version = <%=raw Teaspoon::VERSION.inspect %>;
12
11
  Teaspoon.root = <%=raw Teaspoon.configuration.mount_at.inspect %>;
13
12
  Teaspoon.suites = <%=raw @suite.suites.to_json %>;
13
+ Teaspoon.config = <%=raw @suite.js_config.to_json %>;
14
14
  </script>
15
- <% if @suite.use_require %>
16
- <%= javascript_include_tag_for_teaspoon *@suite.helper %>
17
- <script type="text/javascript">
18
- // When the DOM is loaded, we then use require to include currently selected file/suite, then once those are all loaded, we run Teaspoon
19
- // @suite.spec_javascripts_for_require strips off the .js and adds the Teaspoon prefix
20
- Teaspoon.onWindowLoad(function () {
21
- //setup the Teaspoon path prefix to load /assets
22
- require.config(
23
- <% if Rails.application.config.respond_to?('requirejs') %>
24
- <%= Rails.application.config.requirejs.user_config.merge({baseUrl: '/assets'}).to_json.html_safe %>
25
- <% else %>
26
- {
27
- baseUrl: '/assets'
28
- }
29
- <% end %>
30
- );
31
-
32
- require(<%= html_escape @suite.spec_javascripts_for_require.to_json.html_safe %>, function () {
33
- Teaspoon.execute();
34
- });
35
- });
36
- </script>
37
- <% else %>
38
- <%= javascript_include_tag_for_teaspoon *@suite.spec_javascripts, @javascript_options %>
39
- <script type="text/javascript">
40
- // start the execution of the specs
41
- Teaspoon.onWindowLoad(Teaspoon.execute);
42
- </script>
43
- <% end %>
15
+ <%= render @suite.boot_partial || 'standard' %>
44
16
  </head>
45
17
  <body>
46
18
  </body>
@@ -1,4 +1,4 @@
1
- <!DOCTYPE>
1
+ <!DOCTYPE html>
2
2
  <html>
3
3
  <head>
4
4
  <title>Teaspoon :: Suites</title>