test_squad 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (138) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +28 -8
  3. data/Rakefile +1 -0
  4. data/lib/generators/test_squad/install/install_generator.rb +92 -62
  5. data/lib/generators/test_squad/install/templates/test_squad.rb.erb +24 -1
  6. data/lib/tasks/test_squad_tasks.rake +7 -35
  7. data/lib/test_squad.rb +8 -7
  8. data/lib/test_squad/configuration.rb +65 -0
  9. data/lib/test_squad/runner.rb +58 -0
  10. data/lib/test_squad/version.rb +1 -1
  11. data/phantomjs/helpers.js +8 -1
  12. data/phantomjs/runner.js +39 -13
  13. data/test/controllers/test_squad_controller_test.rb +50 -0
  14. data/test/dummy/log/test.log +2161 -0
  15. data/test/dummy/tmp/cache/assets/sprockets/v3.0/--Jr18gSi0dWQfX8IpGoxIeyt0ar6Z4qNtYBzt5o_U0.cache +1 -0
  16. data/test/dummy/tmp/cache/assets/sprockets/v3.0/15vEz7HBqhg9JjDp9KyF_iFJ9DOccQCaj2XecY7ENdw.cache +0 -0
  17. data/test/dummy/tmp/cache/assets/sprockets/v3.0/1bShYtup0I7zDOa8whDdypfQEZxH4rVEVKmz8aeDuS0.cache +2 -0
  18. data/test/dummy/tmp/cache/assets/sprockets/v3.0/1fidLos4TsMC1Jzat66F4EuJMnvA4Ek4Yq3Wx_diqLA.cache +2 -0
  19. data/test/dummy/tmp/cache/assets/sprockets/v3.0/1p035rqBDJG2S9jFXm8UVt4XiETe3l4TsAshRjkfgJU.cache +2 -0
  20. data/test/dummy/tmp/cache/assets/sprockets/v3.0/28dNMvxD5YFKVJdljn6gcuwnJaQGlzKN1B_uJwfpWAQ.cache +1 -0
  21. data/test/dummy/tmp/cache/assets/sprockets/v3.0/48aEVfcYY6MwkyeeyUtk-udKX4sVI6wCzCoGdcrXoHE.cache +0 -0
  22. data/test/dummy/tmp/cache/assets/sprockets/v3.0/4oXbqlOtQXa7YIXA7S4jJT8mAZdpoSJ2oX9kXMr9Ouw.cache +3 -0
  23. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5BbgAT98H6HVF2DtEaZeL3jSwsvFzHkl6-vwuQ1UoGQ.cache +3 -0
  24. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache +2 -0
  25. data/test/dummy/tmp/cache/assets/sprockets/v3.0/6Y-2fFELXy514cZ-fXlvcoKlvvCMCHgIZ_Q06PZoMsg.cache +0 -0
  26. data/test/dummy/tmp/cache/assets/sprockets/v3.0/7yaZL2RIxe_zCwIWBeGtIKMbQQcvZU1Rvt1sfZGpAcY.cache +1 -0
  27. data/test/dummy/tmp/cache/assets/sprockets/v3.0/BNfX-jq9S00e7dFjTRaWBt2BNThtsO0_vKQiBGYmus8.cache +1 -0
  28. data/test/dummy/tmp/cache/assets/sprockets/v3.0/BT2K9suBmG7JzM_3FoJ5mpH8wti3_Phlsl7X-8nut_A.cache +0 -0
  29. data/test/dummy/tmp/cache/assets/sprockets/v3.0/BY7dYj9QBZDvgqyzjw19Cs4S7rhvgaB6Tx-3ByAfR1o.cache +1 -0
  30. data/test/dummy/tmp/cache/assets/sprockets/v3.0/BkUiqZe-edco2CWEnwq71RR7OlncirMqtHSAXxRiS58.cache +1 -0
  31. data/test/dummy/tmp/cache/assets/sprockets/v3.0/CI3wmSM2mvTHVtxrm8aAXPicSU_UPT54tEsOxoL8674.cache +1 -0
  32. data/test/dummy/tmp/cache/assets/sprockets/v3.0/CcqHY0ztO4n-nBK-XGEP6h0DrL6x2A0G_MXIYfLdOAc.cache +0 -0
  33. data/test/dummy/tmp/cache/assets/sprockets/v3.0/DOjJwX_4kbLug1vCo5qKu8WhGWrlS3CO5ueJcLwHAiw.cache +1 -0
  34. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Dj11DIpk6AMooko4HIrIRLle_Pku6Z3wm6JGkv6tQhY.cache +0 -0
  35. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Dld2HJ_h197OmHkWuEk-msUaZ5dF27-KHGDNE37nJ94.cache +4 -0
  36. data/test/dummy/tmp/cache/assets/sprockets/v3.0/DnkprrM0pXn0tWZjZQUbxw9czuz9Eqc3qXokFvQPADk.cache +1 -0
  37. data/test/dummy/tmp/cache/assets/sprockets/v3.0/EvacufxhwsfPRuHbaKUtaE49aNAI6zySGzBX6QZ46fU.cache +1 -0
  38. data/test/dummy/tmp/cache/assets/sprockets/v3.0/FXjOrhU0u21QlvjYFb8z9MZGZc39etPqywbESQ0wYWI.cache +1 -0
  39. data/test/dummy/tmp/cache/assets/sprockets/v3.0/JlEfkGFQp4-hMkyCydaWpBH-k7TRHDnWVO4UICTABdE.cache +0 -0
  40. data/test/dummy/tmp/cache/assets/sprockets/v3.0/JuyiNe16-3iPuyN77g0yLMm0Q4Yha01pWdNSfnYVfNE.cache +0 -0
  41. data/test/dummy/tmp/cache/assets/sprockets/v3.0/JylXKmnNAPjfcYjj1jraIxmw8aRPbZ3LoWTzewaMHPU.cache +1 -0
  42. data/test/dummy/tmp/cache/assets/sprockets/v3.0/MK8k0x0C6Wxn0o4iqysgqSy-vz5Ol5PWtsPh2uT8aRE.cache +1 -0
  43. data/test/dummy/tmp/cache/assets/sprockets/v3.0/N8yUPpqki-1jUIftlMUzksb-3ImtAXdo0HK0yogXp98.cache +0 -0
  44. data/test/dummy/tmp/cache/assets/sprockets/v3.0/NBnLLGZS0L0-K0XDp8wPfKEbULh0IdSnEnq5My6uLsg.cache +1 -0
  45. data/test/dummy/tmp/cache/assets/sprockets/v3.0/NYqEn9nriI_u_tmIhqigPcBG-xaL_4DNAXcZZedduxo.cache +1 -0
  46. data/test/dummy/tmp/cache/assets/sprockets/v3.0/NiaLRSbNa312S2yLs6OK99DsCk-OK5_WVSP5vlohbrU.cache +0 -0
  47. data/test/dummy/tmp/cache/assets/sprockets/v3.0/O8AdQ9KuR_WslT3OMU_CB_XmZPkD3koya8_y3D1vQSg.cache +1 -0
  48. data/test/dummy/tmp/cache/assets/sprockets/v3.0/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache +2 -0
  49. data/test/dummy/tmp/cache/assets/sprockets/v3.0/OOE0vr9ZxtP3cSlMNmlKreGc5OdJjjZeAulus5KkgWg.cache +0 -0
  50. data/test/dummy/tmp/cache/assets/sprockets/v3.0/SVj7Xea5NdHsDZVgKDO33zwoRmPu8dsPEPUc--ZoSBA.cache +3 -0
  51. data/test/dummy/tmp/cache/assets/sprockets/v3.0/UWG7vqp9QHDXQ8K7rWHxSLtTJjgpwAXa0VQeMC79S9c.cache +3 -0
  52. data/test/dummy/tmp/cache/assets/sprockets/v3.0/UYzP9BM42aDQbQL2Hwzu7E_VjzmKRMEDUMn_YNwYJZQ.cache +0 -0
  53. data/test/dummy/tmp/cache/assets/sprockets/v3.0/V04j3gLzI35tOG8HB1FQnZC0FkgXNiVo6CFAKe-vm08.cache +0 -0
  54. data/test/dummy/tmp/cache/assets/sprockets/v3.0/W90wLqYLEL21UhoMzunmDZagcl_J-waowL_syTXFTfg.cache +2 -0
  55. data/test/dummy/tmp/cache/assets/sprockets/v3.0/WRplQSvSLBRFE4SnNgUTaqjaD6QcugFgemVGJl-TcH0.cache +3 -0
  56. data/test/dummy/tmp/cache/assets/sprockets/v3.0/XZHJ4q_Vqm8z67XoLCSR9Bf3bxRrNVgxY-Zn2Dl1_oc.cache +2 -0
  57. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ZpLasZgWCtI5ARba6j0TztDVBfvefbN_VeEm6WS4AlE.cache +1 -0
  58. data/test/dummy/tmp/cache/assets/sprockets/v3.0/_ml2aIb-f7tzJpo9MTCAldaDVHqHn89WTB9ZmCoAVHI.cache +0 -0
  59. data/test/dummy/tmp/cache/assets/sprockets/v3.0/bakkhKWQav5zpy-VjOssp_XTDY4mccVjeCQjmTWcvEQ.cache +1 -0
  60. data/test/dummy/tmp/cache/assets/sprockets/v3.0/bqgbepkpHrkLsvcws1h6NEku20i6s1HNfRwUf3ds_bM.cache +1 -0
  61. data/test/dummy/tmp/cache/assets/sprockets/v3.0/btifyRUVKrnuNOyCfHPRBE_b4IHXPAs-gwaNEtZNqR4.cache +2 -0
  62. data/test/dummy/tmp/cache/assets/sprockets/v3.0/eBHGAOFSIHdU3R6gC__U1b2OtNaMsdZ8M6kKd6rX3uA.cache +1 -0
  63. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ez1f_nTzpCVZp99l-TSKf5mnDr-FNT0AuA40By6h7nU.cache +3 -0
  64. data/test/dummy/tmp/cache/assets/sprockets/v3.0/fOMwhE_LoK6PBz43rr86imRHqStpfn-j0zKwNCEFA7A.cache +2 -0
  65. data/test/dummy/tmp/cache/assets/sprockets/v3.0/fk0Xn9aqGZauDCUL4PDM1A0riiRU3nTGEF8T0tfVi9Q.cache +3 -0
  66. data/test/dummy/tmp/cache/assets/sprockets/v3.0/g6PEU0mrTD1F_JY1UnmLjn6OD29tp6XAa7CRxtbnssU.cache +1 -0
  67. data/test/dummy/tmp/cache/assets/sprockets/v3.0/k9vjsOgT-S2u8LSPksFS2VZO5JJYQB1kOSOfkmBmncA.cache +1 -0
  68. data/test/dummy/tmp/cache/assets/sprockets/v3.0/kB1DR3T5YiVkiJ5JQAjwNFNLjKoCrBWbjHzmUWQxwuE.cache +1 -0
  69. data/test/dummy/tmp/cache/assets/sprockets/v3.0/l-Fy5bdFTh-kc8fFcJaPEiIprPT_Zro3btmmfaOSFGk.cache +3 -0
  70. data/test/dummy/tmp/cache/assets/sprockets/v3.0/lk8cNS9qlZOFztN2ZtkUuLMG5il9UFV_6L9mzl0gJgs.cache +1 -0
  71. data/test/dummy/tmp/cache/assets/sprockets/v3.0/lurwEsNalR_pkE6uX047tDOvODA4-5i3gDIrHi_4sWU.cache +1 -0
  72. data/test/dummy/tmp/cache/assets/sprockets/v3.0/m4xIJn-Zz18i6rjvKkARjTE_Ogb7Y33Z1d1dkpwjIqc.cache +2 -0
  73. data/test/dummy/tmp/cache/assets/sprockets/v3.0/mwqO_5fkZLqyQ6yJZPYvfEasJmaJTDBUxg0WMRs1qb8.cache +0 -0
  74. data/test/dummy/tmp/cache/assets/sprockets/v3.0/nv2dwJTpEmjPq5nrQ5gYwOUkAdhKxPmwxfhzuIGq9tc.cache +0 -0
  75. data/test/dummy/tmp/cache/assets/sprockets/v3.0/o_4WHxITiPaOrX75j567d0VpQJ3ibKEfwp5kLyz0g6I.cache +2 -0
  76. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pH8BdTuZBGfdsHebnGCXW4xKlDq20EJYTXXWDQ4pwF8.cache +2 -0
  77. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pfueHOXdqh2SVlAKfvEFrdhOpobUofsH-rxLMv9HeAo.cache +1 -0
  78. data/test/dummy/tmp/cache/assets/sprockets/v3.0/qGl34xE7nyT_5bv_0LdftjhOhWqeaUsSD8RRR5e2LhE.cache +1 -0
  79. data/test/dummy/tmp/cache/assets/sprockets/v3.0/r16KTswcSzCfPAeYpPsI3pB60v7bXkXdzIC9F0depbo.cache +3 -0
  80. data/test/dummy/tmp/cache/assets/sprockets/v3.0/s1qM0DtayvbvOieVFIeEejbL_uzBbLhdJt4J-eDdfVs.cache +0 -0
  81. data/test/dummy/tmp/cache/assets/sprockets/v3.0/sKmQ0vmdki8bEnqnNv5R6SxInKZ3wr6OYKZso5pK3A8.cache +1 -0
  82. data/test/dummy/tmp/cache/assets/sprockets/v3.0/t3Llqx0uA6Qvi3W3tzxEvd6vCx1bNDEaOx3cv3jk7F8.cache +2 -0
  83. data/test/dummy/tmp/cache/assets/sprockets/v3.0/t4CSlKWlnNjWc4HjzVuGu_xkGPJrf2XDT_z36WqPW10.cache +0 -0
  84. data/test/dummy/tmp/cache/assets/sprockets/v3.0/tTT_rRtFLpee6FOwJBDH0h8tFNayUZozM9CRDjxh_0M.cache +0 -0
  85. data/test/dummy/tmp/cache/assets/sprockets/v3.0/uEbg-8OHCY_n1CRoUJ1NxO7ZA25rem-WvK_BMk9nzmA.cache +3 -0
  86. data/test/dummy/tmp/cache/assets/sprockets/v3.0/uhmMX7shFPI0NOePr7b3mCW2lOWT4osZ3sovJVlPyek.cache +1 -0
  87. data/test/dummy/tmp/cache/assets/sprockets/v3.0/vRHlJJvzk-cVDuhS4H0cS0JQ4XQxPvzCLHSuDSsBABY.cache +0 -0
  88. data/test/dummy/tmp/cache/assets/sprockets/v3.0/xqI5M8GTfQOT1WzlvBIaK6SBF84-BkQ162gE8xJibGY.cache +1 -0
  89. data/test/dummy/tmp/cache/assets/sprockets/v3.0/y1-icrLhuhHxxsTl1oMCwvaQljaPTUg8pGKp4ktBmHk.cache +0 -0
  90. data/test/dummy/tmp/cache/assets/sprockets/v3.0/yLDP63LRuXDtsRtf-U1w7iwCLO6TN0XaagOFr7ZMgJc.cache +3 -0
  91. data/test/dummy/tmp/cache/assets/test/sprockets/01201a5597c67fa4700f373e24e47cc0 +0 -0
  92. data/test/dummy/tmp/cache/assets/test/sprockets/087c6a74e34024016056782770f67751 +0 -0
  93. data/test/dummy/tmp/cache/assets/test/sprockets/0e0ce4a8684bd87eafc0db448ee74990 +0 -0
  94. data/test/dummy/tmp/cache/assets/test/sprockets/0e6aec2a845fd340ec76abec275415f8 +0 -0
  95. data/test/dummy/tmp/cache/assets/test/sprockets/13096efe03b0d8f02b0f492ee46f8498 +0 -0
  96. data/test/dummy/tmp/cache/assets/test/sprockets/21822855ec5066372f2708fcc72bc18a +0 -0
  97. data/test/dummy/tmp/cache/assets/test/sprockets/29369685706447987989cf495e746507 +0 -0
  98. data/test/dummy/tmp/cache/assets/test/sprockets/32e8c6b5f20fbc62c2c377ce3fd7d093 +0 -0
  99. data/test/dummy/tmp/cache/assets/test/sprockets/42b2a14b671c8f56aa1808a5ba8599e3 +0 -0
  100. data/test/dummy/tmp/cache/assets/test/sprockets/5254c3aa24743307528db89892e34ce7 +0 -0
  101. data/test/dummy/tmp/cache/assets/test/sprockets/54aa66a560f82535d5aff8761aa61689 +0 -0
  102. data/test/dummy/tmp/cache/assets/test/sprockets/55edadf6cfe27ddb6130791f7cb794c2 +0 -0
  103. data/test/dummy/tmp/cache/assets/test/sprockets/5b781f9fca11e70f837e07e3e9446a2d +0 -0
  104. data/test/dummy/tmp/cache/assets/test/sprockets/60323fc3606b2c2ae59ff65886e957ef +0 -0
  105. data/test/dummy/tmp/cache/assets/test/sprockets/63196e522f128686f2b1873406c06638 +0 -0
  106. data/test/dummy/tmp/cache/assets/test/sprockets/6d0f2dbd46d4ae67621d5544e74f789a +0 -0
  107. data/test/dummy/tmp/cache/assets/test/sprockets/6e05ee0c7bd8a56e0aa68e9981b874c4 +0 -0
  108. data/test/dummy/tmp/cache/assets/test/sprockets/7874191c45ca716229829e331bbb6657 +0 -0
  109. data/test/dummy/tmp/cache/assets/test/sprockets/7faca529de077394ba9cccf0f936bad1 +0 -0
  110. data/test/dummy/tmp/cache/assets/test/sprockets/98ad9eb574ed821f48f81b41bcd9639f +0 -0
  111. data/test/dummy/tmp/cache/assets/test/sprockets/991ff1c9e66557b891934a625e493439 +0 -0
  112. data/test/dummy/tmp/cache/assets/test/sprockets/9e0d5d4b56b478a2801215373bac8932 +0 -0
  113. data/test/dummy/tmp/cache/assets/test/sprockets/c95208cba67d830cebbbcb8c049d45d1 +0 -0
  114. data/test/dummy/tmp/cache/assets/test/sprockets/c9bd74b86a038dcdd4436a8dcf03041c +0 -0
  115. data/test/dummy/tmp/cache/assets/test/sprockets/cf932323f346664ed0c3dd4af9a426f3 +0 -0
  116. data/test/dummy/tmp/cache/assets/test/sprockets/ec868f5486b890ab315724a887be51fc +0 -0
  117. data/test/dummy/tmp/generators/Gemfile +8 -0
  118. data/test/dummy/tmp/generators/test/javascript/dummy/answer_spec.js +6 -0
  119. data/test/dummy/tmp/generators/test/javascript/spec_helper.js +12 -0
  120. data/test/dummy/tmp/generators/test/javascript/test_squad.rb +28 -0
  121. data/test/lib/generators/test_squad/install_generator/ember_test.rb +48 -0
  122. data/test/lib/generators/test_squad/install_generator/jasmine_test.rb +44 -0
  123. data/test/lib/generators/test_squad/install_generator/mocha_test.rb +45 -0
  124. data/test/lib/generators/test_squad/install_generator/qunit_test.rb +44 -0
  125. data/test/lib/generators/test_squad/install_generator_test.rb +40 -0
  126. data/test/lib/test_squad/configuration_test.rb +68 -0
  127. data/test/lib/test_squad/runner_test.rb +66 -0
  128. data/test/test_helper.rb +10 -2
  129. data/test/test_squad_test.rb +1 -1
  130. data/vendor/assets/libs/jasmine/boot.js +2 -1
  131. data/vendor/assets/libs/jasmine/console.js +1 -1
  132. data/vendor/assets/libs/jasmine/jasmine-html.js +17 -5
  133. data/vendor/assets/libs/jasmine/jasmine.css +10 -10
  134. data/vendor/assets/libs/jasmine/jasmine.js +295 -155
  135. metadata +278 -9
  136. data/lib/terminal.png +0 -0
  137. data/test/integration/navigation_test.rb +0 -9
  138. data/test/lib/generators/squad/install_generator_test.rb +0 -14
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=d5032f2027abc0c9d3df3399080ffb6143fefe337a7a9b556f59d2af72bee849:ET
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"0processors:type=text/css&file_type=text/css;TTI"`file-digest:///Users/fnando/Projects/test_squad/app/assets/stylesheets/test_squad/ember.css;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTF
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Lprocessors:type=application/javascript&file_type=application/javascript;TTI"8file-digest://app/assets/javascripts/application.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI")file-digest://app/assets/javascripts;TTF
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Lprocessors:type=application/javascript&file_type=application/javascript;TTI"_file-digest:///Users/fnando/Projects/test_squad/vendor/assets/libs/jasmine/jasmine-html.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTF
@@ -0,0 +1 @@
1
+ I"�/Users/fnando/Projects/test_squad/app/assets/javascripts/test_squad/mocha-reporter.js?type=application/javascript&pipeline=self&id=0566496d82a45b08f7496800bf591197aa557b46b844733ce3bf18c3855e45e7:ET
@@ -0,0 +1,3 @@
1
+ "%DiqC�
2
+ �K֠�$��1FS��Q
3
+ �l���u^�8
@@ -0,0 +1,3 @@
1
+ [o:Set:
2
+ @hash}
3
+ I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"[file-digest:///Users/fnando/Projects/test_squad/vendor/assets/libs/jasmine/jasmine.css;TTF
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"0processors:type=text/css&file_type=text/css;TTI"9file-digest://app/assets/stylesheets/application.css;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI")file-digest://app/assets/stylesheets;TTF
@@ -0,0 +1 @@
1
+ "%��Rm�v�S3.��O�L���ڹc�ƕq�=_j�
@@ -0,0 +1 @@
1
+ I"�/Users/fnando/Projects/test_squad/app/assets/javascripts/test_squad/jasmine-phantom.js?type=application/javascript&pipeline=self&id=783d99b2c956ec5b8c327c316dc45866307e4f04296225788137b20b717243c5:ET
@@ -0,0 +1 @@
1
+ I"�/Users/fnando/Projects/test_squad/app/assets/javascripts/jasmine/boot.js?type=application/javascript&id=5281a8a1982286fdb0d4631b80584394c027349d480f77c8feb2e745561cb75e:ET
@@ -0,0 +1 @@
1
+ "%��iئ;���M�CW�M8�R53�Oc�^9j
@@ -0,0 +1 @@
1
+ "%m� ��=R�;s~J���ۮ�19��!��)
@@ -0,0 +1 @@
1
+ I"�/Users/fnando/Projects/test_squad/app/assets/javascripts/test_squad/qunit-phantom.js?type=application/javascript&id=7e10872667980847616d157c68991b214df445dc5d23800785f9f0b2ba9fd42a:ET
@@ -0,0 +1,4 @@
1
+ {:uriI"�file:///Users/fnando/Projects/test_squad/vendor/assets/libs/jasmine/jasmine_favicon.png?type=image/png&id=92107d77fcdd05b8e72f1e49f333749cc668d5422b43aca744e47afb4b46ce74:ET:load_pathI"9/Users/fnando/Projects/test_squad/vendor/assets/libs;T:
2
+ @hash}
3
+ I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"2processors:type=image/png&file_type=image/png;TTI"cfile-digest:///Users/fnando/Projects/test_squad/vendor/assets/libs/jasmine/jasmine_favicon.png;TTF:dependencies_digest"%���k �fl۹�-e��輗��N�䒞�uq5�_�:idI"E92107d77fcdd05b8e72f1e49f333749cc668d5422b43aca744e47afb4b46ce74;F:
4
+ mtimel+F|T
@@ -0,0 +1 @@
1
+ I"�/Users/fnando/Projects/test_squad/vendor/assets/libs/jasmine/jasmine.js?type=application/javascript&id=579ed6196c1ab552d88f2fd1c15edbd230f0b49945c4373acc15dfe05a60501a:ET
@@ -0,0 +1 @@
1
+ "%Ѱč@�����6H�uZoX�Z�gbh0W��V
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&id=457a38bdb4d5b62510b3dc6536914d82636ff287250f4ea602f9d246e2ac6343:ET
@@ -0,0 +1 @@
1
+ I"�/Users/fnando/Projects/test_squad/app/assets/javascripts/test_squad/qunit-phantom.js?type=application/javascript&pipeline=self&id=4761a3b40b5d7c835c6474b54bf722db5737e43eb828502df740191c5894a2fc:ET
@@ -0,0 +1 @@
1
+ I"�/Users/fnando/Projects/test_squad/app/assets/javascripts/test_squad/mocha-reporter.js?type=application/javascript&id=47f5b9a225ed4eae3f750d331cc2f419208c1d02f0d3b282e40f9a9ea460c8e9:ET
@@ -0,0 +1 @@
1
+ "%���ˮ�?54/����mё2��#1��
@@ -0,0 +1 @@
1
+ I"�/Users/fnando/Projects/test_squad/vendor/assets/libs/jasmine/jasmine.js?type=application/javascript&pipeline=self&id=5823509214140b4e1bb0cc2991cd7705bd8922f3a840cd635417738be839f937:ET
@@ -0,0 +1 @@
1
+ I"�/Users/fnando/Projects/test_squad/app/assets/javascripts/test_squad/jasmine-phantom.js?type=application/javascript&id=42336dff20ad04e54756a16fb96e18d0140e9fba6cfe0136504df1edf71e6ba2:ET
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"9file-digest://app/assets/stylesheets/application.css;TTI")file-digest://app/assets/stylesheets;TTF
@@ -0,0 +1,3 @@
1
+ [o:Set:
2
+ @hash}
3
+ I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"hfile-digest:///Users/fnando/Projects/test_squad/app/assets/javascripts/test_squad/mocha-reporter.js;TTF
@@ -0,0 +1,3 @@
1
+ [o:Set:
2
+ @hash}
3
+ I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"2processors:type=image/png&file_type=image/png;TTI"cfile-digest:///Users/fnando/Projects/test_squad/vendor/assets/libs/jasmine/jasmine_favicon.png;TTF
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Lprocessors:type=application/javascript&file_type=application/javascript;TTI"[file-digest:///Users/fnando/Projects/test_squad/app/assets/javascripts/jasmine/boot.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTF
@@ -0,0 +1,3 @@
1
+ [o:Set:
2
+ @hash}
3
+ I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"gfile-digest:///Users/fnando/Projects/test_squad/app/assets/javascripts/test_squad/qunit-phantom.js;TTF
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Lprocessors:type=application/javascript&file_type=application/javascript;TTI"Zfile-digest:///Users/fnando/Projects/test_squad/vendor/assets/libs/jasmine/jasmine.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTF
@@ -0,0 +1 @@
1
+ "%�-Y1�� S#*شd��Mލn�;�r��;
@@ -0,0 +1 @@
1
+ "%-����k�ŏ�5g�A��A]������pMt^7/�
@@ -0,0 +1 @@
1
+ I"�/Users/fnando/Projects/test_squad/vendor/assets/libs/jasmine/jasmine_favicon.png?type=image/png&id=92107d77fcdd05b8e72f1e49f333749cc668d5422b43aca744e47afb4b46ce74:ET
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Lprocessors:type=application/javascript&file_type=application/javascript;TTI"gfile-digest:///Users/fnando/Projects/test_squad/app/assets/javascripts/test_squad/qunit-phantom.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTF
@@ -0,0 +1 @@
1
+ I"}app/assets/stylesheets/application.css?type=text/css&id=8cf9f8cb62a0c9d32cc5d78a8c8e0af004ad7dc5bdf16f5e0910ce83d5015915:ET
@@ -0,0 +1,3 @@
1
+ [o:Set:
2
+ @hash}
3
+ I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"[file-digest:///Users/fnando/Projects/test_squad/app/assets/javascripts/jasmine/boot.js;TTF
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"8file-digest://app/assets/javascripts/application.js;TTI")file-digest://app/assets/javascripts;TTF
@@ -0,0 +1,3 @@
1
+ [o:Set:
2
+ @hash}
3
+ I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"`file-digest:///Users/fnando/Projects/test_squad/app/assets/stylesheets/test_squad/ember.css;TTF
@@ -0,0 +1 @@
1
+ I"�/Users/fnando/Projects/test_squad/vendor/assets/libs/jasmine/jasmine.css?type=text/css&id=07d797a7eca1ebdb1ccecfd46ac80fae4064d9d504003d02c2229e4db494c153:ET
@@ -0,0 +1 @@
1
+ I"�/Users/fnando/Projects/test_squad/vendor/assets/libs/jasmine/jasmine-html.js?type=application/javascript&pipeline=self&id=49fe209c965a187c4b8891df2f9fe709c91fd872ddab8a28b6fa46edb8c25b36:ET
@@ -0,0 +1 @@
1
+ "%�b̤+� �5ۿ��2�c�-p|��d@�B�F I
@@ -0,0 +1,3 @@
1
+ [o:Set:
2
+ @hash}
3
+ I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"_file-digest:///Users/fnando/Projects/test_squad/vendor/assets/libs/jasmine/jasmine-html.js;TTF
@@ -0,0 +1 @@
1
+ I"�/Users/fnando/Projects/test_squad/app/assets/stylesheets/test_squad/ember.css?type=text/css&id=75908ff106c3a7fddd998c6da3ca6b656b098edb0384fadb7c539d8d052e4792:ET
@@ -0,0 +1 @@
1
+ I"�/Users/fnando/Projects/test_squad/app/assets/javascripts/jasmine/boot.js?type=application/javascript&pipeline=self&id=c38d3bbd5b173fc33cf7ec7660c949d8b825fbfecae712f94c4afaafcd016752:ET
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Lprocessors:type=application/javascript&file_type=application/javascript;TTI"ifile-digest:///Users/fnando/Projects/test_squad/app/assets/javascripts/test_squad/jasmine-phantom.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTF
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"0processors:type=text/css&file_type=text/css;TTI"[file-digest:///Users/fnando/Projects/test_squad/vendor/assets/libs/jasmine/jasmine.css;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTF
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Lprocessors:type=application/javascript&file_type=application/javascript;TTI"hfile-digest:///Users/fnando/Projects/test_squad/app/assets/javascripts/test_squad/mocha-reporter.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTF
@@ -0,0 +1 @@
1
+ I"�/Users/fnando/Projects/test_squad/vendor/assets/libs/jasmine/jasmine.css?type=text/css&pipeline=self&id=fa07fc30c877210858fa4719e653ce30fb83648f953daff686300816f2252e73:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=d8b5e556b7940f7619e5d385f58225725312633ab6e46a4a27e937fdaf7626fb:ET
@@ -0,0 +1,3 @@
1
+ "%U��#��
2
+ e;M+~���̮߾!"o{w
3
+ 7!Z�
@@ -0,0 +1 @@
1
+ I"�/Users/fnando/Projects/test_squad/vendor/assets/libs/jasmine/jasmine-html.js?type=application/javascript&id=06de70c6bac5143daa51ea2400ae58173b3e280d4f6f622c3cb17f9e31ae3be8:ET
@@ -0,0 +1,2 @@
1
+ "%l���[!�޷yM
2
+ ����-��L*~�*��j
@@ -0,0 +1,3 @@
1
+ [o:Set:
2
+ @hash}
3
+ I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"Zfile-digest:///Users/fnando/Projects/test_squad/vendor/assets/libs/jasmine/jasmine.js;TTF
@@ -0,0 +1 @@
1
+ I"�/Users/fnando/Projects/test_squad/app/assets/stylesheets/test_squad/ember.css?type=text/css&pipeline=self&id=1fa020d65165534a5f462b6e713758400bee1147c83432efe9e5d7e55e3e0724:ET
@@ -0,0 +1 @@
1
+ "%5H�KD�jp��`�f4������>D�y���
@@ -0,0 +1,3 @@
1
+ [o:Set:
2
+ @hash}
3
+ I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"ifile-digest:///Users/fnando/Projects/test_squad/app/assets/javascripts/test_squad/jasmine-phantom.js;TTF
@@ -0,0 +1,8 @@
1
+
2
+ source "https://rails-assets.org" do
3
+ group :development, :test do
4
+ gem 'rails-assets-mocha'
5
+ gem 'rails-assets-expect'
6
+ end
7
+
8
+ end
@@ -0,0 +1,6 @@
1
+ describe('The answer to life the universe and everything', function(){
2
+ it('is 42', function(){
3
+ var answer = 42;
4
+ expect(answer).to.eql(42);
5
+ });
6
+ });
@@ -0,0 +1,12 @@
1
+ //= require application
2
+ //= require expect
3
+ //= require_self
4
+ //= require_tree ./dummy
5
+
6
+ mocha.setup('bdd');
7
+ mocha.checkLeaks();
8
+ mocha.globals(['jQuery']);
9
+ mocha.reporter(mocha.TestSquad);
10
+ window.onload = function(){
11
+ mocha.run();
12
+ };
@@ -0,0 +1,28 @@
1
+ TestSquad.configure do |config|
2
+ # Set the testing framework.
3
+ # Can be jasmine, qunit, mocha or ember.
4
+ config.framework = "mocha"
5
+
6
+ # Set the test server host.
7
+ # This can also be set through the TEST_SQUAD_SEVER_HOST env var.
8
+ # config.server_host = "127.0.0.1"
9
+
10
+ # Set the test server port.
11
+ # This can also be set through the TEST_SQUAD_SERVER_PORT env var.
12
+ # config.server_port = 50000
13
+
14
+ # Set the test server path.
15
+ # You may map the tests path to something else. This change
16
+ # must be reflected here. This can also be set through the
17
+ # TEST_SQUAD_SERVER_PATH env var.
18
+ # config.server_path = "/tests"
19
+
20
+ # Set the test timeout.
21
+ # This can also be set through the TEST_SQUAD_TIMEOUT env var.
22
+ # It defaults to 10 seconds.
23
+ # config.timeout = 10
24
+
25
+ # Set the phantomjs bin path.
26
+ # This can also be set through the TEST_SQUAD_PHANTOMJS_BIN env var.
27
+ # config.phantomjs_bin = "phantomjs"
28
+ end
@@ -0,0 +1,48 @@
1
+ require "test_helper"
2
+ require "generators/test_squad/install/install_generator"
3
+
4
+ class TestSquadEmberTest < Rails::Generators::TestCase
5
+ tests TestSquad::InstallGenerator
6
+ destination Rails.root.join("tmp/generators")
7
+ setup :prepare_destination
8
+
9
+ setup do
10
+ @destination_root = self.class.destination_root
11
+ @gemfile_path = @destination_root.join("Gemfile").to_s
12
+ FileUtils.rm_rf(@gemfile_path)
13
+ FileUtils.touch(@gemfile_path)
14
+ end
15
+
16
+ teardown do
17
+ FileUtils.rm_rf Rails.root.join("spec")
18
+ end
19
+
20
+ test "copy test_squad.rb" do
21
+ run_generator %w[--framework ember]
22
+ assert_file @destination_root.join("test/javascript/test_squad.rb"), /config.framework = "ember"/
23
+ end
24
+
25
+ test "create dirs" do
26
+ run_generator %w[--framework ember]
27
+ assert_directory @destination_root.join("test/javascript/unit")
28
+ assert_directory @destination_root.join("test/javascript/routes")
29
+ assert_directory @destination_root.join("test/javascript/models")
30
+ assert_directory @destination_root.join("test/javascript/components")
31
+ assert_directory @destination_root.join("test/javascript/views")
32
+ end
33
+
34
+ test "create test helper file" do
35
+ run_generator %w[--framework ember]
36
+ assert_file @destination_root.join("test/javascript/test_helper.js")
37
+ end
38
+
39
+ test "copy sample test file" do
40
+ run_generator %w[--framework ember]
41
+ assert_file @destination_root.join("test/javascript/unit/router_test.js")
42
+ end
43
+
44
+ test "add gems" do
45
+ run_generator %w[--framework ember]
46
+ assert_file @gemfile_path, /gem 'rails-assets-qunit'/
47
+ end
48
+ end