acts_as_talented 0.0.4.2 → 0.0.4.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (196) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/acts_as_talented/application.js +0 -30
  3. data/app/assets/stylesheets/acts_as_talented/application.css +0 -8
  4. data/app/controllers/acts_as_talented/api/v1/employers_controller.rb +5 -4
  5. data/app/models/acts_as_talented/employer.rb +3 -1
  6. data/app/views/acts_as_talented/dashboard/index.html.erb +8 -5
  7. data/app/views/layouts/acts_as_talented/application.html.erb +1 -0
  8. data/config/routes.rb +2 -1
  9. data/db/migrate/20141107062154_add_columns_to_employers.rb +9 -0
  10. data/lib/acts_as_talented.rb +1 -0
  11. data/lib/acts_as_talented/version.rb +1 -1
  12. data/spec/dummy/db/schema.rb +6 -1
  13. data/spec/dummy/log/development.log +51760 -0
  14. data/spec/dummy/log/test.log +11 -0
  15. data/spec/dummy/spec/javascripts/support/jasmine.yml +53 -0
  16. data/spec/dummy/tmp/cache/assets/development/sprockets/068a932f5302f087d18f796a34b688c7 +0 -0
  17. data/spec/dummy/tmp/cache/assets/development/sprockets/07c4b0cfd96049f24135e9f6dff29f46 +0 -0
  18. data/spec/dummy/tmp/cache/assets/development/sprockets/08de8559763f49a4e08211e2320631d8 +0 -0
  19. data/spec/dummy/tmp/cache/assets/development/sprockets/09e6dd0ca61308cab2f5c8ec8356428e +0 -0
  20. data/spec/dummy/tmp/cache/assets/development/sprockets/0edb4e13d90cd2916110d008a4aed4e2 +0 -0
  21. data/spec/dummy/tmp/cache/assets/development/sprockets/0f62369234882ebed9e3c611a8f0df1f +0 -0
  22. data/spec/dummy/tmp/cache/assets/development/sprockets/106595e9b0ab07ac7c1f2002522503f6 +0 -0
  23. data/spec/dummy/tmp/cache/assets/development/sprockets/1111c6a1f164a68a794109047889caea +0 -0
  24. data/spec/dummy/tmp/cache/assets/development/sprockets/111e99492298cd12e854ae3ff07ced0a +0 -0
  25. data/spec/dummy/tmp/cache/assets/development/sprockets/12335341702dcc2d2fbd12e3ac90a38c +0 -0
  26. data/spec/dummy/tmp/cache/assets/development/sprockets/1258604b33f0f01fa2d26819e35b5e0a +0 -0
  27. data/spec/dummy/tmp/cache/assets/development/sprockets/135a17dc943d9e39cc59e6031c3d0455 +0 -0
  28. data/spec/dummy/tmp/cache/assets/development/sprockets/140cd948f5bdb4864803398ee3f3aca7 +0 -0
  29. data/spec/dummy/tmp/cache/assets/development/sprockets/1454ee3b944f31b9c2cc84f38e162dd1 +0 -0
  30. data/spec/dummy/tmp/cache/assets/development/sprockets/1a8c448606b78273ad328d1899c33ae9 +0 -0
  31. data/spec/dummy/tmp/cache/assets/development/sprockets/1b3350da8a329c6c0c758fafb0aff5e4 +0 -0
  32. data/spec/dummy/tmp/cache/assets/development/sprockets/1cb8e7dfe8907ddb98fa45d12f8eff25 +0 -0
  33. data/spec/dummy/tmp/cache/assets/development/sprockets/1d8a9e15103e24daea804ca7410ae4af +0 -0
  34. data/spec/dummy/tmp/cache/assets/development/sprockets/1dd00aa981c4b38e57814be892fdfb89 +0 -0
  35. data/spec/dummy/tmp/cache/assets/development/sprockets/1e5ad5c32d9c712d7eeaccb80ece0d10 +0 -0
  36. data/spec/dummy/tmp/cache/assets/development/sprockets/21c55eefdc2e081bf9f8b7d31214f967 +0 -0
  37. data/spec/dummy/tmp/cache/assets/development/sprockets/22a89e8ea96c6fda993bd522c7aa6320 +0 -0
  38. data/spec/dummy/tmp/cache/assets/development/sprockets/243c4cdd16d11a250e710ceeebc9074c +0 -0
  39. data/spec/dummy/tmp/cache/assets/development/sprockets/25ba9f10af6fdf34cb2a3c91a340afb1 +0 -0
  40. data/spec/dummy/tmp/cache/assets/development/sprockets/270b82cb0784a4a646b86dc12923d85d +0 -0
  41. data/spec/dummy/tmp/cache/assets/development/sprockets/280ea9aac357f4b47b53987c4e1269f7 +0 -0
  42. data/spec/dummy/tmp/cache/assets/development/sprockets/29b2743b9c2f222de8a071b428d98338 +0 -0
  43. data/spec/dummy/tmp/cache/assets/development/sprockets/2c436e162c59dea18e241905eff96be9 +0 -0
  44. data/spec/dummy/tmp/cache/assets/development/sprockets/2efdb24c7e7bcdc6c37bf134fcf4acae +0 -0
  45. data/spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  46. data/spec/dummy/tmp/cache/assets/development/sprockets/2f8f7aed987e676b70895409c974a775 +0 -0
  47. data/spec/dummy/tmp/cache/assets/development/sprockets/32ee5249d6e3673753a4b1b0428f4c2a +0 -0
  48. data/spec/dummy/tmp/cache/assets/development/sprockets/3515de67328463ac00a6f0d79ae7d3f3 +0 -0
  49. data/spec/dummy/tmp/cache/assets/development/sprockets/35a1a70a8742b40481bcf753cf29445a +0 -0
  50. data/spec/dummy/tmp/cache/assets/development/sprockets/382cdf6ef682a94f702d2d6bb9164f35 +0 -0
  51. data/spec/dummy/tmp/cache/assets/development/sprockets/3849b7859912da6dc6cea6ec621070e8 +0 -0
  52. data/spec/dummy/tmp/cache/assets/development/sprockets/3894bee54a69437b80e0d3707a87465b +0 -0
  53. data/spec/dummy/tmp/cache/assets/development/sprockets/38d83aa3769d6e5cb2a074dd30ddef12 +0 -0
  54. data/spec/dummy/tmp/cache/assets/development/sprockets/3b2b5f340f5d7286c9bee9964060e1f6 +0 -0
  55. data/spec/dummy/tmp/cache/assets/development/sprockets/3c62008bf4308e9af085429fff83fc00 +0 -0
  56. data/spec/dummy/tmp/cache/assets/development/sprockets/3dee8335808f1c6f1f41c4a062fd2893 +0 -0
  57. data/spec/dummy/tmp/cache/assets/development/sprockets/3ed3b32bff297382862ca2d7d7c39e28 +0 -0
  58. data/spec/dummy/tmp/cache/assets/development/sprockets/3fb16efb3154ef8aea161c35593913e6 +0 -0
  59. data/spec/dummy/tmp/cache/assets/development/sprockets/401ddf90867ef5074576afa4bd5b6105 +0 -0
  60. data/spec/dummy/tmp/cache/assets/development/sprockets/416d386f5c6c2219233e0ecd73a10573 +0 -0
  61. data/spec/dummy/tmp/cache/assets/development/sprockets/4229f430b1c716e1b548f2daf7a73d7b +0 -0
  62. data/spec/dummy/tmp/cache/assets/development/sprockets/4271f88835b9b1a3e4f0a89d9f4ad17c +0 -0
  63. data/spec/dummy/tmp/cache/assets/development/sprockets/4281f783ccd5631a8e75aa528e1ca03e +0 -0
  64. data/spec/dummy/tmp/cache/assets/development/sprockets/429ae732164c86a2567db0cadb5118d4 +0 -0
  65. data/spec/dummy/tmp/cache/assets/development/sprockets/42be90232b1ba9aa530b6f7de7d44840 +0 -0
  66. data/spec/dummy/tmp/cache/assets/development/sprockets/4318cebf3d40508e35ab4c83c1faadfd +0 -0
  67. data/spec/dummy/tmp/cache/assets/development/sprockets/4896a189db347d12a025edd8f4ac61d4 +0 -0
  68. data/spec/dummy/tmp/cache/assets/development/sprockets/4cfe78ec9abaf310f87efae7ff8b08da +0 -0
  69. data/spec/dummy/tmp/cache/assets/development/sprockets/4d18a664cabb7cd431cacc5dab9cd609 +0 -0
  70. data/spec/dummy/tmp/cache/assets/development/sprockets/4de8f3e3bcc91021014e0a25834917df +0 -0
  71. data/spec/dummy/tmp/cache/assets/development/sprockets/5184cf03fb5346d99935831fba273cc5 +0 -0
  72. data/spec/dummy/tmp/cache/assets/development/sprockets/51df7b544e3c24024c7f55da549d778d +0 -0
  73. data/spec/dummy/tmp/cache/assets/development/sprockets/53a085a34c4ff8a781407d480e98f35b +0 -0
  74. data/spec/dummy/tmp/cache/assets/development/sprockets/54848ffa7353654770cf0824f749048b +0 -0
  75. data/spec/dummy/tmp/cache/assets/development/sprockets/57980001cb2fe96b33589733cb56a44a +0 -0
  76. data/spec/dummy/tmp/cache/assets/development/sprockets/59ea2f24fcbe0f1b2fb47885b3428b08 +0 -0
  77. data/spec/dummy/tmp/cache/assets/development/sprockets/60da6586f86fa2537088f9de46e2af88 +0 -0
  78. data/spec/dummy/tmp/cache/assets/development/sprockets/63b611fa060b8a62687b9b1bf363df5b +0 -0
  79. data/spec/dummy/tmp/cache/assets/development/sprockets/6400a757d5f934c431a7ac03d19d44f2 +0 -0
  80. data/spec/dummy/tmp/cache/assets/development/sprockets/65c65c9e8b4742bbb37200ef6b056660 +0 -0
  81. data/spec/dummy/tmp/cache/assets/development/sprockets/690dcaaee023c7cc813a8e381e063c9c +0 -0
  82. data/spec/dummy/tmp/cache/assets/development/sprockets/69a9239f07e29a69e9abf35d92e46083 +0 -0
  83. data/spec/dummy/tmp/cache/assets/development/sprockets/6be375336df70a4db401200ecffe8a1a +0 -0
  84. data/spec/dummy/tmp/cache/assets/development/sprockets/7080ade46013f79cd9c9976d654dc897 +0 -0
  85. data/spec/dummy/tmp/cache/assets/development/sprockets/71fe0e8b6466b8fdc100b418e3bf1b38 +0 -0
  86. data/spec/dummy/tmp/cache/assets/development/sprockets/771fc4d2b579ceb3ce9241275f41f6bc +0 -0
  87. data/spec/dummy/tmp/cache/assets/development/sprockets/7a822d2428380817e0f208dde1aec962 +0 -0
  88. data/spec/dummy/tmp/cache/assets/development/sprockets/7d2aac3be06ad92cbce0ac6a3b041063 +0 -0
  89. data/spec/dummy/tmp/cache/assets/development/sprockets/7d4bf0f7a6d67ade27f05b9bbdfaa13f +0 -0
  90. data/spec/dummy/tmp/cache/assets/development/sprockets/7d8e16eddc3729672315ea1ab82be61d +0 -0
  91. data/spec/dummy/tmp/cache/assets/development/sprockets/7e66828c22f30fc1741d69fa8b3f6556 +0 -0
  92. data/spec/dummy/tmp/cache/assets/development/sprockets/7f20d45abac2485c9b018e2ad7c9faea +0 -0
  93. data/spec/dummy/tmp/cache/assets/development/sprockets/7ff9ce522b469bb87d23470a17024893 +0 -0
  94. data/spec/dummy/tmp/cache/assets/development/sprockets/817b43e6477d4059b9006261356b7147 +0 -0
  95. data/spec/dummy/tmp/cache/assets/development/sprockets/825acebdffb6b264e044e8b211cde192 +0 -0
  96. data/spec/dummy/tmp/cache/assets/development/sprockets/82b9ad47a3e7ae516ef89d9511a81d54 +0 -0
  97. data/spec/dummy/tmp/cache/assets/development/sprockets/836a12260a7c62df85ad882997cc815d +0 -0
  98. data/spec/dummy/tmp/cache/assets/development/sprockets/83ad805e11126265f2c22bfa3150eaed +0 -0
  99. data/spec/dummy/tmp/cache/assets/development/sprockets/83f8794a0c8cd319c676b73d15735623 +0 -0
  100. data/spec/dummy/tmp/cache/assets/development/sprockets/85f1fdfeecab670348e9b57eff9920f9 +0 -0
  101. data/spec/dummy/tmp/cache/assets/development/sprockets/87408cf15f3b659a33cab73cabacc84e +0 -0
  102. data/spec/dummy/tmp/cache/assets/development/sprockets/8a6d3701895f56be223b757e9f44de12 +0 -0
  103. data/spec/dummy/tmp/cache/assets/development/sprockets/8aeef1d17937c78d1d7d7e8ce21e38dd +0 -0
  104. data/{app/assets/javascripts/acts_as_talented/angularjs/app.js → spec/dummy/tmp/cache/assets/development/sprockets/8f08e01c4687f22edceb16964fcee66d} +0 -0
  105. data/spec/dummy/tmp/cache/assets/development/sprockets/925444a895104668e64e409620d6fcd3 +0 -0
  106. data/spec/dummy/tmp/cache/assets/development/sprockets/93524ff627c12ad3347e01c8d3d294b6 +0 -0
  107. data/spec/dummy/tmp/cache/assets/development/sprockets/95bd8d3689c20ee5e6ded9c431e28ce2 +0 -0
  108. data/spec/dummy/tmp/cache/assets/development/sprockets/95bdc1f939f0d1604c8330ec9a8688e2 +0 -0
  109. data/spec/dummy/tmp/cache/assets/development/sprockets/9e9c8f0a01d68ade2f7958d968f9abd6 +0 -0
  110. data/spec/dummy/tmp/cache/assets/development/sprockets/9fa37e6bff76d95137f2e46db0ca4098 +0 -0
  111. data/spec/dummy/tmp/cache/assets/development/sprockets/a2accc6e20b89df101da89b1ef78a04f +0 -0
  112. data/spec/dummy/tmp/cache/assets/development/sprockets/a58d74de9f875daa152852fbbab64b81 +0 -0
  113. data/spec/dummy/tmp/cache/assets/development/sprockets/a6a917ba010394dc974efe539184649e +0 -0
  114. data/spec/dummy/tmp/cache/assets/development/sprockets/a771dd993b7eb73009ac8d1edd71660d +0 -0
  115. data/spec/dummy/tmp/cache/assets/development/sprockets/a913deae61640b1f8b505b3c4907cc94 +0 -0
  116. data/spec/dummy/tmp/cache/assets/development/sprockets/ade0135413d8f6843be147a7841b4519 +0 -0
  117. data/spec/dummy/tmp/cache/assets/development/sprockets/b2dd2cfdaf0b21b95688517121a9b7a1 +0 -0
  118. data/spec/dummy/tmp/cache/assets/development/sprockets/b5f68769cb36830e2bd42665a2a74b97 +0 -0
  119. data/spec/dummy/tmp/cache/assets/development/sprockets/b66da00a955bb048048db40392e7a97a +0 -0
  120. data/spec/dummy/tmp/cache/assets/development/sprockets/ba4f52243e81d4b466a973120da52119 +0 -0
  121. data/spec/dummy/tmp/cache/assets/development/sprockets/bb701e160a8465a28b3b85ba9e599b21 +0 -0
  122. data/spec/dummy/tmp/cache/assets/development/sprockets/becec3b59d209c76a253454e3d3fb053 +0 -0
  123. data/spec/dummy/tmp/cache/assets/development/sprockets/c042bc3a5d1bd3c3ee61c4778feedf07 +0 -0
  124. data/spec/dummy/tmp/cache/assets/development/sprockets/c0b64cfb45fb412e5ee7e425cd8dc0b2 +0 -0
  125. data/spec/dummy/tmp/cache/assets/development/sprockets/c3dbe303660d299b488648fc157fd32b +0 -0
  126. data/spec/dummy/tmp/cache/assets/development/sprockets/c9d8484f89bc0fca9922168c391929e2 +0 -0
  127. data/spec/dummy/tmp/cache/assets/development/sprockets/cafcd69348bda42403f5d5acd4ac950f +0 -0
  128. data/spec/dummy/tmp/cache/assets/development/sprockets/cb787b099238d91e432df432c99ad46e +0 -0
  129. data/spec/dummy/tmp/cache/assets/development/sprockets/cbc787d0c777d8681d4c9f8078053e44 +0 -0
  130. data/spec/dummy/tmp/cache/assets/development/sprockets/cc516e66819560451451ab51537c1ea1 +0 -0
  131. data/spec/dummy/tmp/cache/assets/development/sprockets/cc82889dedb606c7867469211ee96223 +0 -0
  132. data/spec/dummy/tmp/cache/assets/development/sprockets/cd01129cc4d93ff7d72b7a677e816423 +0 -0
  133. data/spec/dummy/tmp/cache/assets/development/sprockets/cd0ff9cfbb94a0ecf415350872d7ff6b +0 -0
  134. data/spec/dummy/tmp/cache/assets/development/sprockets/cd842178f0a9c7ee768134341074fd4b +0 -0
  135. data/spec/dummy/tmp/cache/assets/development/sprockets/ce22c0a7eda0ab5038f461a08b169b86 +0 -0
  136. data/spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  137. data/spec/dummy/tmp/cache/assets/development/sprockets/d38b66175797bd7fe8ab09187e56a1e8 +0 -0
  138. data/spec/dummy/tmp/cache/assets/development/sprockets/d4e086abb1947074f19411de8392820f +0 -0
  139. data/spec/dummy/tmp/cache/assets/development/sprockets/d631c673f84014e0c398a01ab54a79a2 +0 -0
  140. data/spec/dummy/tmp/cache/assets/development/sprockets/d78f24659a478aae098120e942cf1b82 +0 -0
  141. data/spec/dummy/tmp/cache/assets/development/sprockets/dbc8f597dbe58aa313710af6dcd1cd3a +0 -0
  142. data/spec/dummy/tmp/cache/assets/development/sprockets/dc1e084c9152ca75bd4a0e533aa17ebd +0 -0
  143. data/spec/dummy/tmp/cache/assets/development/sprockets/deb4504ad9c345edbeb8048290b3952e +0 -0
  144. data/spec/dummy/tmp/cache/assets/development/sprockets/df332112f06bb78df5714a5e42c0f847 +0 -0
  145. data/spec/dummy/tmp/cache/assets/development/sprockets/df6e31e4fa1810193d4e956a6fdcb705 +0 -0
  146. data/spec/dummy/tmp/cache/assets/development/sprockets/e2417725aa1a5dffba0b25a77f645b10 +0 -0
  147. data/spec/dummy/tmp/cache/assets/development/sprockets/ea43ea2fdfda6d80c8ac7b1f0c81d774 +0 -0
  148. data/spec/dummy/tmp/cache/assets/development/sprockets/ee99a9b373bb8f3a5d725312a8a3d47c +0 -0
  149. data/spec/dummy/tmp/cache/assets/development/sprockets/ef1d9c82f2305adc65883a5e3d470c3b +0 -0
  150. data/spec/dummy/tmp/cache/assets/development/sprockets/f0fecf6c6edec41b2960e2ab9a7de198 +0 -0
  151. data/spec/dummy/tmp/cache/assets/development/sprockets/f16339076b1f9851e26fc051a0aa4980 +0 -0
  152. data/spec/dummy/tmp/cache/assets/development/sprockets/f16478c650667b6b0f582581c124ac0b +0 -0
  153. data/spec/dummy/tmp/cache/assets/development/sprockets/f2eb0a6488e487eb96ae21630fde22d3 +0 -0
  154. data/spec/dummy/tmp/cache/assets/development/sprockets/f64bdc87923358b41b5f34486fa32164 +0 -0
  155. data/spec/dummy/tmp/cache/assets/development/sprockets/f6e072be6b03e18692014988cd8d396a +0 -0
  156. data/spec/dummy/tmp/cache/assets/development/sprockets/f72fd791624cb0c15b0aa6812cc3858c +0 -0
  157. data/spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  158. data/spec/dummy/tmp/cache/assets/development/sprockets/fca9304b97dbef77a06b8e3623120e13 +0 -0
  159. data/spec/dummy/tmp/cache/assets/development/sprockets/fd00a88ad414caae47cbda231a563e85 +0 -0
  160. data/spec/dummy/tmp/cache/assets/development/sprockets/fe446829070b6b5b5ff20dc7c1cbffef +0 -0
  161. data/spec/dummy/tmp/cache/assets/development/sprockets/ff68cc0069ed9f6602f1665b3afcc486 +0 -0
  162. data/spec/javascripts/angularjs/ProfileController_spec.js +23 -0
  163. data/spec/javascripts/angularjs/TabsController_spec.js +25 -0
  164. data/spec/javascripts/angularjs/applicant/ApplicantsContontroller_spec.js +56 -0
  165. data/spec/javascripts/angularjs/applicant/ApplicantsFactory_spec.js +13 -0
  166. data/spec/javascripts/angularjs/user/UserSearchController_spec.js +154 -0
  167. data/spec/javascripts/angularjs/user/UsersController_spec.js +25 -0
  168. data/spec/javascripts/support/jasmine.yml +53 -0
  169. metadata +303 -30
  170. data/app/assets/javascripts/acts_as_talented/angularjs/NotificationFactory.js +0 -24
  171. data/app/assets/javascripts/acts_as_talented/angularjs/ProfileController.js +0 -15
  172. data/app/assets/javascripts/acts_as_talented/angularjs/TabsController.js +0 -24
  173. data/app/assets/javascripts/acts_as_talented/angularjs/applicant/ApplicantsController.js +0 -50
  174. data/app/assets/javascripts/acts_as_talented/angularjs/applicant/ApplicantsFactory.js +0 -30
  175. data/app/assets/javascripts/acts_as_talented/angularjs/employer/EmployersController.js +0 -84
  176. data/app/assets/javascripts/acts_as_talented/angularjs/employer/EmployersFactory.js.erb +0 -12
  177. data/app/assets/javascripts/acts_as_talented/angularjs/user/UserSearchController.js +0 -120
  178. data/app/assets/javascripts/acts_as_talented/angularjs/user/UserSearchFactory.js +0 -45
  179. data/app/assets/javascripts/acts_as_talented/angularjs/user/UsersController.js +0 -44
  180. data/app/assets/javascripts/acts_as_talented/angularjs/user/UsersFactory.js +0 -45
  181. data/app/assets/javascripts/acts_as_talented/dependancies/angular-ui-router.min.js +0 -7
  182. data/app/assets/javascripts/acts_as_talented/dependancies/toastr.min.js +0 -1
  183. data/app/assets/javascripts/acts_as_talented/templates/MyApplicants/my_applicants.detail.html +0 -20
  184. data/app/assets/javascripts/acts_as_talented/templates/MyApplicants/my_applicants.html +0 -35
  185. data/app/assets/javascripts/acts_as_talented/templates/MyApplicants/my_applicants.list.html +0 -1
  186. data/app/assets/javascripts/acts_as_talented/templates/employers.html.erb +0 -77
  187. data/app/assets/javascripts/acts_as_talented/templates/my_jobs.html +0 -22
  188. data/app/assets/javascripts/acts_as_talented/templates/my_profile.html +0 -45
  189. data/app/assets/javascripts/acts_as_talented/templates/search_candidate.html +0 -413
  190. data/app/assets/stylesheets/acts_as_talented/applicants.css +0 -99
  191. data/app/assets/stylesheets/acts_as_talented/banner.css.scss +0 -40
  192. data/app/assets/stylesheets/acts_as_talented/fonts.css.scss +0 -13
  193. data/app/assets/stylesheets/acts_as_talented/login.css.scss +0 -18
  194. data/app/assets/stylesheets/acts_as_talented/main.css.scss +0 -13
  195. data/app/assets/stylesheets/acts_as_talented/toastr.min.css +0 -1
  196. data/app/assets/stylesheets/acts_as_talented/typography.css.scss +0 -77
@@ -1733,3 +1733,14 @@ WARNING: Can't mass-assign protected attributes for ActsAsTalented::Employer: em
1733
1733
  Completed 200 OK in 8ms (Views: 4.8ms | ActiveRecord: 0.0ms)
1734
1734
   (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
1735
1735
   (0.3ms) ROLLBACK
1736
+ ActiveRecord::SchemaMigration Load (3.9ms) SELECT "schema_migrations".* FROM "schema_migrations"
1737
+ Migrating to AddColumnsToEmployers (20141107062154)
1738
+  (0.3ms) BEGIN
1739
+  (8.8ms) ALTER TABLE "acts_as_talented_employers" ADD COLUMN "address" text
1740
+  (0.5ms) ALTER TABLE "acts_as_talented_employers" ADD COLUMN "description" text
1741
+  (0.4ms) ALTER TABLE "acts_as_talented_employers" ADD COLUMN "domain_id" integer
1742
+  (0.4ms) ALTER TABLE "acts_as_talented_employers" ADD COLUMN "rating" integer
1743
+  (2.3ms) ALTER TABLE "acts_as_talented_employers" ADD COLUMN "registration_date" date
1744
+ SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141107062154"]]
1745
+  (0.5ms) COMMIT
1746
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
@@ -0,0 +1,53 @@
1
+ # path to parent directory of src_files
2
+ # relative path from Rails.root
3
+ # defaults to app/assets/javascripts
4
+
5
+ src_dir: "../../app/assets/javascripts/acts_as_talented"
6
+
7
+ # path to additional directory of source file that are not part of assets pipeline and need to be included
8
+ # relative path from Rails.root
9
+ # defaults to []
10
+ # include_dir:
11
+ # - ../mobile_app/public/js
12
+
13
+ # path to parent directory of css_files
14
+ # relative path from Rails.root
15
+ # defaults to app/assets/stylesheets
16
+ css_dir: "app/assets/stylesheets"
17
+
18
+ # list of file expressions to include as source files
19
+ # relative path from src_dir
20
+ src_files:
21
+ - "application.{js.coffee,js,coffee}"
22
+
23
+ # list of file expressions to include as css files
24
+ # relative path from css_dir
25
+ css_files:
26
+
27
+ # path to parent directory of spec_files
28
+ # relative path from Rails.root
29
+ #
30
+ # Alternatively accept an array of directory to include external spec files
31
+ # spec_dir:
32
+ # - spec/javascripts
33
+ # - ../engine/spec/javascripts
34
+ #
35
+ # defaults to spec/javascripts
36
+ spec_dir:
37
+ - ../javascripts
38
+ - spec/javascripts
39
+
40
+ # list of file expressions to include as helpers into spec runner
41
+ # relative path from spec_dir
42
+ helpers:
43
+ - "helpers/**/*.{js.coffee,js,coffee}"
44
+
45
+ # list of file expressions to include as specs into spec runner
46
+ # relative path from spec_dir
47
+ spec_files:
48
+ - "**/*[Ss]pec.{js.coffee,js,coffee}"
49
+
50
+ # path to directory of temporary files
51
+ # (spec runner and asset cache)
52
+ # defaults to tmp/jasmine
53
+ tmp_dir: "tmp/jasmine"
@@ -0,0 +1,23 @@
1
+ /*
2
+ //= require ../../../app/assets/javascripts/acts_as_talented/application
3
+ */
4
+
5
+ describe('Unit: ProfileController', function() {
6
+ beforeEach(module('ActsAsTalentedModule'));
7
+
8
+ var ctrl, scope;
9
+ // inject the $controller and $rootScope services
10
+ // in the beforeEach block
11
+ beforeEach(inject(function($controller, $rootScope) {
12
+ // Create a new scope that's a child of the $rootScope
13
+ scope = $rootScope.$new();
14
+ // Create the controller
15
+ ctrl = $controller('ProfileController', {
16
+ $scope: scope
17
+ });
18
+ }));
19
+
20
+ it('should be true', function(){
21
+ expect(true).toBe(true);
22
+ })
23
+ })
@@ -0,0 +1,25 @@
1
+ /*
2
+ //= require ../../../app/assets/javascripts/acts_as_talented/application
3
+ */
4
+
5
+ describe('Unit: TabsController', function() {
6
+ beforeEach(module('ActsAsTalentedModule'));
7
+
8
+ var ctrl, scope;
9
+ // inject the $controller and $rootScope services
10
+ // in the beforeEach block
11
+ beforeEach(inject(function($controller, $rootScope) {
12
+ // Create a new scope that's a child of the $rootScope
13
+ scope = $rootScope.$new();
14
+ // Create the controller
15
+ ctrl = $controller('TabsController', {
16
+ $scope: scope
17
+ });
18
+ }));
19
+
20
+ it('should make a tab active', function(){
21
+ expect(scope.tabClass['searchCandidate']).toEqual('inactive');
22
+ scope.makeActiveTab('searchCandidate')
23
+ expect(scope.tabClass['searchCandidate']).toEqual('active');
24
+ })
25
+ })
@@ -0,0 +1,56 @@
1
+ /*
2
+ //= require ../../../../app/assets/javascripts/acts_as_talented/application
3
+ */
4
+
5
+ describe('Unit: ApplicantsController', function() {
6
+ beforeEach(module('ActsAsTalentedModule'));
7
+
8
+ var ctrl, scope, ApplicantMsgs;
9
+
10
+ // inject the $controller and $rootScope services
11
+ // in the beforeEach block
12
+ beforeEach(inject(function($controller, $rootScope) {
13
+ // Create a new scope that's a child of the $rootScope
14
+ scope = $rootScope.$new();
15
+ // Create the controller
16
+ ctrl = $controller('ApplicantsController', {
17
+ $scope: scope
18
+ });
19
+ }));
20
+
21
+ // it('should get the message that is selected', function () {
22
+ // expect(scope.focusedThread).toBeNull();
23
+ // scope.getAllItems();
24
+ // expect(scope.focusedThread).toBe(applicantsList[0]);
25
+ // });
26
+
27
+ describe("load messages", function(){
28
+ beforeEach(function(){
29
+ scope.getAllItems();
30
+ })
31
+
32
+ it("should get all messages", function(){
33
+ expect(scope.applicantsList).toBeTruthy();
34
+ // paginate to 10
35
+ expect(scope.applicantsList.length).toBe(3);
36
+ });
37
+
38
+ it("should init 1st message", function(){
39
+ expect(scope.focusedThread).toBeTruthy();
40
+ });
41
+
42
+ it("should init current_applicant", function(){
43
+ expect(scope.current_applicant).toBeTruthy();
44
+ });
45
+
46
+ it("should get message from applicant", function(){
47
+ scope.getMsgFromApplicant(scope.applicantsList[1].id)
48
+ expect(scope.focusedThread[0].message_id).toEqual(scope.applicantsList[1].message_id);
49
+ });
50
+
51
+ it("should set current_applicant", function(){
52
+ scope.getApplicant(scope.applicantsList[1].id)
53
+ expect(scope.current_applicant).toEqual(scope.applicantsList[1]);
54
+ });
55
+ })
56
+ })