chefspec 3.1.4 → 3.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (532) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +15 -0
  3. data/.travis.yml +39 -0
  4. data/CHANGELOG.md +444 -0
  5. data/CONTRIBUTING.md +52 -0
  6. data/Gemfile +2 -0
  7. data/ISSUES.md +41 -0
  8. data/LICENSE +22 -0
  9. data/README.md +893 -0
  10. data/Rakefile +29 -0
  11. data/chefspec.gemspec +42 -0
  12. data/examples/apt_package/recipes/install.rb +13 -0
  13. data/examples/apt_package/recipes/purge.rb +13 -0
  14. data/examples/apt_package/recipes/reconfig.rb +13 -0
  15. data/examples/apt_package/recipes/remove.rb +13 -0
  16. data/examples/apt_package/recipes/upgrade.rb +13 -0
  17. data/examples/apt_package/spec/install_spec.rb +23 -0
  18. data/examples/apt_package/spec/purge_spec.rb +19 -0
  19. data/examples/apt_package/spec/reconfig_spec.rb +19 -0
  20. data/examples/apt_package/spec/remove_spec.rb +19 -0
  21. data/examples/apt_package/spec/upgrade_spec.rb +19 -0
  22. data/examples/attributes/attributes/default.rb +1 -0
  23. data/examples/attributes/recipes/default.rb +4 -0
  24. data/examples/attributes/spec/default_spec.rb +20 -0
  25. data/examples/batch/recipes/run.rb +13 -0
  26. data/examples/batch/spec/run_spec.rb +23 -0
  27. data/examples/cached/recipes/default.rb +1 -0
  28. data/examples/cached/spec/default_spec.rb +13 -0
  29. data/examples/chef_gem/recipes/install.rb +13 -0
  30. data/examples/chef_gem/recipes/purge.rb +13 -0
  31. data/examples/chef_gem/recipes/reconfig.rb +13 -0
  32. data/examples/chef_gem/recipes/remove.rb +13 -0
  33. data/examples/chef_gem/recipes/upgrade.rb +13 -0
  34. data/examples/chef_gem/spec/install_spec.rb +23 -0
  35. data/examples/chef_gem/spec/purge_spec.rb +19 -0
  36. data/examples/chef_gem/spec/reconfig_spec.rb +19 -0
  37. data/examples/chef_gem/spec/remove_spec.rb +19 -0
  38. data/examples/chef_gem/spec/upgrade_spec.rb +19 -0
  39. data/examples/compile_time/recipes/default.rb +3 -0
  40. data/examples/compile_time/spec/default_spec.rb +27 -0
  41. data/examples/cookbook_file/recipes/create.rb +15 -0
  42. data/examples/cookbook_file/recipes/create_if_missing.rb +15 -0
  43. data/examples/cookbook_file/recipes/delete.rb +15 -0
  44. data/examples/cookbook_file/recipes/touch.rb +15 -0
  45. data/examples/cookbook_file/spec/create_if_missing_spec.rb +28 -0
  46. data/examples/cookbook_file/spec/create_spec.rb +32 -0
  47. data/examples/cookbook_file/spec/delete_spec.rb +19 -0
  48. data/examples/cookbook_file/spec/touch_spec.rb +19 -0
  49. data/examples/cron/recipes/create.rb +10 -0
  50. data/examples/cron/recipes/delete.rb +9 -0
  51. data/examples/cron/spec/create_spec.rb +19 -0
  52. data/examples/cron/spec/delete_spec.rb +15 -0
  53. data/examples/custom_matcher/libraries/matcher.rb +23 -0
  54. data/examples/custom_matcher/providers/thing.rb +2 -0
  55. data/examples/custom_matcher/recipes/install.rb +13 -0
  56. data/examples/custom_matcher/recipes/remove.rb +13 -0
  57. data/examples/custom_matcher/resources/thing.rb +5 -0
  58. data/examples/custom_matcher/spec/install_spec.rb +27 -0
  59. data/examples/custom_matcher/spec/remove_spec.rb +23 -0
  60. data/examples/deploy/recipes/deploy.rb +10 -0
  61. data/examples/deploy/recipes/force_deploy.rb +9 -0
  62. data/examples/deploy/recipes/rollback.rb +9 -0
  63. data/examples/deploy/spec/deploy_spec.rb +15 -0
  64. data/examples/deploy/spec/force_deploy_spec.rb +15 -0
  65. data/examples/deploy/spec/rollback_spec.rb +15 -0
  66. data/examples/directory/recipes/create.rb +14 -0
  67. data/examples/directory/recipes/delete.rb +14 -0
  68. data/examples/directory/spec/create_spec.rb +30 -0
  69. data/examples/directory/spec/delete_spec.rb +26 -0
  70. data/examples/dpkg_package/recipes/install.rb +13 -0
  71. data/examples/dpkg_package/recipes/purge.rb +13 -0
  72. data/examples/dpkg_package/recipes/remove.rb +13 -0
  73. data/examples/dpkg_package/spec/install_spec.rb +23 -0
  74. data/examples/dpkg_package/spec/purge_spec.rb +19 -0
  75. data/examples/dpkg_package/spec/remove_spec.rb +19 -0
  76. data/examples/easy_install_package/recipes/install.rb +13 -0
  77. data/examples/easy_install_package/recipes/purge.rb +13 -0
  78. data/examples/easy_install_package/recipes/remove.rb +13 -0
  79. data/examples/easy_install_package/recipes/upgrade.rb +13 -0
  80. data/examples/easy_install_package/spec/install_spec.rb +23 -0
  81. data/examples/easy_install_package/spec/purge_spec.rb +19 -0
  82. data/examples/easy_install_package/spec/remove_spec.rb +19 -0
  83. data/examples/easy_install_package/spec/upgrade_spec.rb +19 -0
  84. data/examples/env/recipes/create.rb +13 -0
  85. data/examples/env/recipes/delete.rb +13 -0
  86. data/examples/env/recipes/modify.rb +13 -0
  87. data/examples/env/spec/create_spec.rb +23 -0
  88. data/examples/env/spec/delete_spec.rb +19 -0
  89. data/examples/env/spec/modify_spec.rb +19 -0
  90. data/examples/erl_call/recipes/run.rb +13 -0
  91. data/examples/erl_call/spec/run_spec.rb +23 -0
  92. data/examples/execute/recipes/run.rb +13 -0
  93. data/examples/execute/spec/run_spec.rb +23 -0
  94. data/examples/expect_exception/recipes/compile_error.rb +1 -0
  95. data/examples/expect_exception/recipes/converge_error.rb +5 -0
  96. data/examples/expect_exception/recipes/no_error.rb +1 -0
  97. data/examples/expect_exception/spec/compile_error_spec.rb +10 -0
  98. data/examples/expect_exception/spec/converge_error_spec.rb +10 -0
  99. data/examples/expect_exception/spec/no_error_spec.rb +10 -0
  100. data/examples/file/recipes/create.rb +15 -0
  101. data/examples/file/recipes/create_if_missing.rb +15 -0
  102. data/examples/file/recipes/delete.rb +15 -0
  103. data/examples/file/recipes/touch.rb +15 -0
  104. data/examples/file/spec/create_if_missing_spec.rb +28 -0
  105. data/examples/file/spec/create_spec.rb +32 -0
  106. data/examples/file/spec/delete_spec.rb +19 -0
  107. data/examples/file/spec/touch_spec.rb +19 -0
  108. data/examples/freebsd_package/recipes/install.rb +13 -0
  109. data/examples/freebsd_package/recipes/remove.rb +13 -0
  110. data/examples/freebsd_package/spec/install_spec.rb +23 -0
  111. data/examples/freebsd_package/spec/remove_spec.rb +19 -0
  112. data/examples/gem_package/recipes/install.rb +13 -0
  113. data/examples/gem_package/recipes/purge.rb +13 -0
  114. data/examples/gem_package/recipes/reconfig.rb +13 -0
  115. data/examples/gem_package/recipes/remove.rb +13 -0
  116. data/examples/gem_package/recipes/upgrade.rb +13 -0
  117. data/examples/gem_package/spec/install_spec.rb +23 -0
  118. data/examples/gem_package/spec/purge_spec.rb +19 -0
  119. data/examples/gem_package/spec/reconfig_spec.rb +19 -0
  120. data/examples/gem_package/spec/remove_spec.rb +19 -0
  121. data/examples/gem_package/spec/upgrade_spec.rb +19 -0
  122. data/examples/git/recipes/checkout.rb +13 -0
  123. data/examples/git/recipes/export.rb +13 -0
  124. data/examples/git/recipes/sync.rb +13 -0
  125. data/examples/git/spec/checkout_spec.rb +19 -0
  126. data/examples/git/spec/export_spec.rb +19 -0
  127. data/examples/git/spec/sync_spec.rb +23 -0
  128. data/examples/group/recipes/create.rb +13 -0
  129. data/examples/group/recipes/manage.rb +13 -0
  130. data/examples/group/recipes/modify.rb +13 -0
  131. data/examples/group/recipes/remove.rb +13 -0
  132. data/examples/group/spec/create_spec.rb +23 -0
  133. data/examples/group/spec/manage_spec.rb +19 -0
  134. data/examples/group/spec/modify_spec.rb +19 -0
  135. data/examples/group/spec/remove_spec.rb +18 -0
  136. data/examples/guards/recipes/default.rb +13 -0
  137. data/examples/guards/spec/default_spec.rb +17 -0
  138. data/examples/heavy_provider_light_resource/libraries/resource_service.rb +15 -0
  139. data/examples/heavy_provider_light_resource/providers/service.rb +9 -0
  140. data/examples/heavy_provider_light_resource/recipes/default.rb +4 -0
  141. data/examples/heavy_provider_light_resource/spec/provider_service_spec.rb +7 -0
  142. data/examples/http_request/recipes/delete.rb +13 -0
  143. data/examples/http_request/recipes/get.rb +13 -0
  144. data/examples/http_request/recipes/head.rb +13 -0
  145. data/examples/http_request/recipes/options.rb +13 -0
  146. data/examples/http_request/recipes/post.rb +13 -0
  147. data/examples/http_request/recipes/put.rb +13 -0
  148. data/examples/http_request/spec/delete_spec.rb +19 -0
  149. data/examples/http_request/spec/get_spec.rb +23 -0
  150. data/examples/http_request/spec/head_spec.rb +19 -0
  151. data/examples/http_request/spec/options_spec.rb +19 -0
  152. data/examples/http_request/spec/post_spec.rb +19 -0
  153. data/examples/http_request/spec/put_spec.rb +19 -0
  154. data/examples/ifconfig/recipes/add.rb +9 -0
  155. data/examples/ifconfig/recipes/delete.rb +8 -0
  156. data/examples/ifconfig/recipes/disable.rb +8 -0
  157. data/examples/ifconfig/recipes/enable.rb +8 -0
  158. data/examples/ifconfig/spec/add_spec.rb +19 -0
  159. data/examples/ifconfig/spec/delete_spec.rb +15 -0
  160. data/examples/ifconfig/spec/disable_spec.rb +15 -0
  161. data/examples/ifconfig/spec/enable_spec.rb +15 -0
  162. data/examples/include_recipe/recipes/default.rb +1 -0
  163. data/examples/include_recipe/recipes/not.rb +0 -0
  164. data/examples/include_recipe/recipes/other.rb +0 -0
  165. data/examples/include_recipe/spec/default_spec.rb +13 -0
  166. data/examples/inherits/recipes/default.rb +5 -0
  167. data/examples/inherits/spec/default_spec.rb +21 -0
  168. data/examples/ips_package/recipes/install.rb +13 -0
  169. data/examples/ips_package/recipes/remove.rb +13 -0
  170. data/examples/ips_package/recipes/upgrade.rb +13 -0
  171. data/examples/ips_package/spec/install_spec.rb +23 -0
  172. data/examples/ips_package/spec/remove_spec.rb +19 -0
  173. data/examples/ips_package/spec/upgrade_spec.rb +19 -0
  174. data/examples/link/recipes/create.rb +13 -0
  175. data/examples/link/recipes/delete.rb +13 -0
  176. data/examples/link/recipes/link_to.rb +3 -0
  177. data/examples/link/spec/create_spec.rb +23 -0
  178. data/examples/link/spec/delete_spec.rb +19 -0
  179. data/examples/link/spec/link_to_spec.rb +11 -0
  180. data/examples/log/recipes/write.rb +14 -0
  181. data/examples/log/spec/write_spec.rb +24 -0
  182. data/examples/macports_package/recipes/install.rb +13 -0
  183. data/examples/macports_package/recipes/purge.rb +13 -0
  184. data/examples/macports_package/recipes/remove.rb +13 -0
  185. data/examples/macports_package/recipes/upgrade.rb +13 -0
  186. data/examples/macports_package/spec/install_spec.rb +23 -0
  187. data/examples/macports_package/spec/purge_spec.rb +19 -0
  188. data/examples/macports_package/spec/remove_spec.rb +19 -0
  189. data/examples/macports_package/spec/upgrade_spec.rb +19 -0
  190. data/examples/mdadm/recipes/assemble.rb +13 -0
  191. data/examples/mdadm/recipes/create.rb +13 -0
  192. data/examples/mdadm/recipes/stop.rb +13 -0
  193. data/examples/mdadm/spec/assemble_spec.rb +19 -0
  194. data/examples/mdadm/spec/create_spec.rb +23 -0
  195. data/examples/mdadm/spec/stop_spec.rb +19 -0
  196. data/examples/mount/recipes/disable.rb +8 -0
  197. data/examples/mount/recipes/enable.rb +8 -0
  198. data/examples/mount/recipes/mount.rb +9 -0
  199. data/examples/mount/recipes/remount.rb +8 -0
  200. data/examples/mount/recipes/umount.rb +8 -0
  201. data/examples/mount/spec/disable_spec.rb +15 -0
  202. data/examples/mount/spec/enable_spec.rb +15 -0
  203. data/examples/mount/spec/mount_spec.rb +19 -0
  204. data/examples/mount/spec/remount_spec.rb +15 -0
  205. data/examples/mount/spec/umount_spec.rb +15 -0
  206. data/examples/multiple_actions/recipes/default.rb +3 -0
  207. data/examples/multiple_actions/recipes/sequential.rb +7 -0
  208. data/examples/multiple_actions/spec/default_spec.rb +14 -0
  209. data/examples/multiple_actions/spec/sequential_spec.rb +13 -0
  210. data/examples/multiple_run_action/recipes/default.rb +5 -0
  211. data/examples/multiple_run_action/spec/default_spec.rb +18 -0
  212. data/examples/notifications/recipes/chained.rb +12 -0
  213. data/examples/notifications/recipes/default.rb +7 -0
  214. data/examples/notifications/recipes/delayed.rb +7 -0
  215. data/examples/notifications/recipes/immediately.rb +7 -0
  216. data/examples/notifications/spec/chained_spec.rb +21 -0
  217. data/examples/notifications/spec/default_spec.rb +16 -0
  218. data/examples/notifications/spec/delayed_spec.rb +16 -0
  219. data/examples/notifications/spec/immediately_spec.rb +16 -0
  220. data/examples/ohai/recipes/reload.rb +13 -0
  221. data/examples/ohai/spec/reload_spec.rb +23 -0
  222. data/examples/package/recipes/install.rb +13 -0
  223. data/examples/package/recipes/purge.rb +13 -0
  224. data/examples/package/recipes/reconfig.rb +13 -0
  225. data/examples/package/recipes/remove.rb +13 -0
  226. data/examples/package/recipes/upgrade.rb +13 -0
  227. data/examples/package/spec/install_spec.rb +23 -0
  228. data/examples/package/spec/purge_spec.rb +19 -0
  229. data/examples/package/spec/reconfig_spec.rb +19 -0
  230. data/examples/package/spec/remove_spec.rb +19 -0
  231. data/examples/package/spec/upgrade_spec.rb +19 -0
  232. data/examples/pacman_package/recipes/install.rb +13 -0
  233. data/examples/pacman_package/recipes/purge.rb +13 -0
  234. data/examples/pacman_package/recipes/remove.rb +13 -0
  235. data/examples/pacman_package/recipes/upgrade.rb +13 -0
  236. data/examples/pacman_package/spec/install_spec.rb +23 -0
  237. data/examples/pacman_package/spec/purge_spec.rb +19 -0
  238. data/examples/pacman_package/spec/remove_spec.rb +19 -0
  239. data/examples/pacman_package/spec/upgrade_spec.rb +19 -0
  240. data/examples/portage_package/recipes/install.rb +13 -0
  241. data/examples/portage_package/recipes/purge.rb +13 -0
  242. data/examples/portage_package/recipes/remove.rb +13 -0
  243. data/examples/portage_package/recipes/upgrade.rb +13 -0
  244. data/examples/portage_package/spec/install_spec.rb +23 -0
  245. data/examples/portage_package/spec/purge_spec.rb +19 -0
  246. data/examples/portage_package/spec/remove_spec.rb +19 -0
  247. data/examples/portage_package/spec/upgrade_spec.rb +19 -0
  248. data/examples/powershell_script/recipes/run.rb +13 -0
  249. data/examples/powershell_script/spec/run_spec.rb +23 -0
  250. data/examples/registry_key/recipes/create.rb +13 -0
  251. data/examples/registry_key/recipes/create_if_missing.rb +13 -0
  252. data/examples/registry_key/recipes/delete.rb +13 -0
  253. data/examples/registry_key/recipes/delete_key.rb +13 -0
  254. data/examples/registry_key/spec/create_if_missing_spec.rb +19 -0
  255. data/examples/registry_key/spec/create_spec.rb +23 -0
  256. data/examples/registry_key/spec/delete_key_spec.rb +19 -0
  257. data/examples/registry_key/spec/delete_spec.rb +19 -0
  258. data/examples/remote_directory/recipes/create.rb +13 -0
  259. data/examples/remote_directory/recipes/create_if_missing.rb +13 -0
  260. data/examples/remote_directory/recipes/delete.rb +13 -0
  261. data/examples/remote_directory/spec/create_if_missing_spec.rb +19 -0
  262. data/examples/remote_directory/spec/create_spec.rb +23 -0
  263. data/examples/remote_directory/spec/delete_spec.rb +19 -0
  264. data/examples/remote_file/recipes/create.rb +18 -0
  265. data/examples/remote_file/recipes/create_if_missing.rb +16 -0
  266. data/examples/remote_file/recipes/delete.rb +16 -0
  267. data/examples/remote_file/recipes/touch.rb +16 -0
  268. data/examples/remote_file/spec/create_if_missing_spec.rb +19 -0
  269. data/examples/remote_file/spec/create_spec.rb +23 -0
  270. data/examples/remote_file/spec/delete_spec.rb +19 -0
  271. data/examples/remote_file/spec/touch_spec.rb +19 -0
  272. data/examples/render_file/files/default/cookbook_file +1 -0
  273. data/examples/render_file/recipes/default.rb +15 -0
  274. data/examples/render_file/recipes/template_helpers.rb +9 -0
  275. data/examples/render_file/spec/default_spec.rb +73 -0
  276. data/examples/render_file/spec/template_helpers_spec.rb +10 -0
  277. data/examples/render_file/templates/default/_partial.erb +1 -0
  278. data/examples/render_file/templates/default/partial.erb +1 -0
  279. data/examples/render_file/templates/default/template.erb +1 -0
  280. data/examples/render_file/templates/default/template_with_helper.erb +1 -0
  281. data/examples/roles/recipes/another.rb +3 -0
  282. data/examples/roles/recipes/default.rb +1 -0
  283. data/examples/roles/roles/role.rb +9 -0
  284. data/examples/roles/spec/default_spec.rb +21 -0
  285. data/examples/route/recipes/add.rb +13 -0
  286. data/examples/route/recipes/delete.rb +13 -0
  287. data/examples/route/spec/add_spec.rb +23 -0
  288. data/examples/route/spec/delete_spec.rb +19 -0
  289. data/examples/rpm_package/recipes/install.rb +13 -0
  290. data/examples/rpm_package/recipes/remove.rb +13 -0
  291. data/examples/rpm_package/recipes/upgrade.rb +13 -0
  292. data/examples/rpm_package/spec/install_spec.rb +23 -0
  293. data/examples/rpm_package/spec/remove_spec.rb +19 -0
  294. data/examples/rpm_package/spec/upgrade_spec.rb +19 -0
  295. data/examples/ruby_block/recipes/run.rb +9 -0
  296. data/examples/ruby_block/spec/run_spec.rb +18 -0
  297. data/examples/script/recipes/run_bash.rb +13 -0
  298. data/examples/script/recipes/run_csh.rb +13 -0
  299. data/examples/script/recipes/run_perl.rb +13 -0
  300. data/examples/script/recipes/run_python.rb +13 -0
  301. data/examples/script/recipes/run_ruby.rb +13 -0
  302. data/examples/script/recipes/run_script.rb +13 -0
  303. data/examples/script/spec/run_bash_spec.rb +23 -0
  304. data/examples/script/spec/run_csh_spec.rb +23 -0
  305. data/examples/script/spec/run_perl_spec.rb +23 -0
  306. data/examples/script/spec/run_python_spec.rb +23 -0
  307. data/examples/script/spec/run_ruby_spec.rb +23 -0
  308. data/examples/script/spec/run_script_spec.rb +23 -0
  309. data/examples/server/recipes/client.rb +6 -0
  310. data/examples/server/recipes/data_bag.rb +7 -0
  311. data/examples/server/recipes/environment.rb +6 -0
  312. data/examples/server/recipes/node.rb +6 -0
  313. data/examples/server/recipes/role.rb +6 -0
  314. data/examples/server/recipes/search.rb +5 -0
  315. data/examples/server/spec/client_spec.rb +17 -0
  316. data/examples/server/spec/data_bag_spec.rb +26 -0
  317. data/examples/server/spec/environment_spec.rb +17 -0
  318. data/examples/server/spec/node_spec.rb +40 -0
  319. data/examples/server/spec/role_spec.rb +17 -0
  320. data/examples/server/spec/search_spec.rb +58 -0
  321. data/examples/service/recipes/disable.rb +13 -0
  322. data/examples/service/recipes/enable.rb +13 -0
  323. data/examples/service/recipes/reload.rb +13 -0
  324. data/examples/service/recipes/restart.rb +13 -0
  325. data/examples/service/recipes/start.rb +13 -0
  326. data/examples/service/recipes/stop.rb +13 -0
  327. data/examples/service/spec/disable_spec.rb +19 -0
  328. data/examples/service/spec/enable_spec.rb +19 -0
  329. data/examples/service/spec/reload_spec.rb +19 -0
  330. data/examples/service/spec/restart_spec.rb +19 -0
  331. data/examples/service/spec/start_spec.rb +19 -0
  332. data/examples/service/spec/stop_spec.rb +19 -0
  333. data/examples/smartos_package/recipes/install.rb +13 -0
  334. data/examples/smartos_package/recipes/remove.rb +13 -0
  335. data/examples/smartos_package/recipes/upgrade.rb +13 -0
  336. data/examples/smartos_package/spec/install_spec.rb +23 -0
  337. data/examples/smartos_package/spec/remove_spec.rb +19 -0
  338. data/examples/smartos_package/spec/upgrade_spec.rb +19 -0
  339. data/examples/solaris_package/recipes/install.rb +13 -0
  340. data/examples/solaris_package/recipes/remove.rb +13 -0
  341. data/examples/solaris_package/spec/install_spec.rb +23 -0
  342. data/examples/solaris_package/spec/remove_spec.rb +19 -0
  343. data/examples/state_attrs/providers/lwrp.rb +3 -0
  344. data/examples/state_attrs/recipes/default.rb +3 -0
  345. data/examples/state_attrs/resources/lwrp.rb +6 -0
  346. data/examples/state_attrs/spec/default_spec.rb +12 -0
  347. data/examples/step_into/providers/lwrp.rb +3 -0
  348. data/examples/step_into/recipes/default.rb +1 -0
  349. data/examples/step_into/resources/lwrp.rb +4 -0
  350. data/examples/step_into/spec/default_spec.rb +19 -0
  351. data/examples/stub_command/recipes/default.rb +5 -0
  352. data/examples/stub_command/recipes/other_recipe.rb +3 -0
  353. data/examples/stub_command/spec/default_spec.rb +28 -0
  354. data/examples/stub_data_bag/recipes/default.rb +5 -0
  355. data/examples/stub_data_bag/spec/default_spec.rb +27 -0
  356. data/examples/stub_data_bag_item/recipes/default.rb +5 -0
  357. data/examples/stub_data_bag_item/spec/default_spec.rb +27 -0
  358. data/examples/stub_node/recipes/default.rb +0 -0
  359. data/examples/stub_node/spec/default_spec.rb +17 -0
  360. data/examples/stub_search/recipes/default.rb +5 -0
  361. data/examples/stub_search/spec/default_spec.rb +27 -0
  362. data/examples/subscribes/recipes/chained.rb +10 -0
  363. data/examples/subscribes/recipes/default.rb +5 -0
  364. data/examples/subscribes/recipes/delayed.rb +5 -0
  365. data/examples/subscribes/recipes/immediately.rb +5 -0
  366. data/examples/subscribes/spec/chained_spec.rb +21 -0
  367. data/examples/subscribes/spec/default_spec.rb +17 -0
  368. data/examples/subscribes/spec/delayed_spec.rb +16 -0
  369. data/examples/subscribes/spec/immediately_spec.rb +16 -0
  370. data/examples/subversion/recipes/checkout.rb +13 -0
  371. data/examples/subversion/recipes/export.rb +13 -0
  372. data/examples/subversion/recipes/force_export.rb +13 -0
  373. data/examples/subversion/recipes/sync.rb +13 -0
  374. data/examples/subversion/spec/checkout_spec.rb +19 -0
  375. data/examples/subversion/spec/export_spec.rb +19 -0
  376. data/examples/subversion/spec/force_export_spec.rb +19 -0
  377. data/examples/subversion/spec/sync_spec.rb +23 -0
  378. data/examples/template/recipes/create.rb +15 -0
  379. data/examples/template/recipes/create_if_missing.rb +15 -0
  380. data/examples/template/recipes/delete.rb +15 -0
  381. data/examples/template/recipes/touch.rb +15 -0
  382. data/examples/template/spec/create_if_missing_spec.rb +28 -0
  383. data/examples/template/spec/create_spec.rb +32 -0
  384. data/examples/template/spec/delete_spec.rb +19 -0
  385. data/examples/template/spec/touch_spec.rb +19 -0
  386. data/examples/use_inline_resources/libraries/matchers.rb +5 -0
  387. data/examples/use_inline_resources/providers/lwrp.rb +7 -0
  388. data/examples/use_inline_resources/recipes/default.rb +1 -0
  389. data/examples/use_inline_resources/resources/lwrp.rb +4 -0
  390. data/examples/use_inline_resources/spec/default_spec.rb +15 -0
  391. data/examples/user/recipes/create.rb +13 -0
  392. data/examples/user/recipes/lock.rb +13 -0
  393. data/examples/user/recipes/manage.rb +13 -0
  394. data/examples/user/recipes/modify.rb +13 -0
  395. data/examples/user/recipes/remove.rb +13 -0
  396. data/examples/user/recipes/unlock.rb +13 -0
  397. data/examples/user/spec/create_spec.rb +23 -0
  398. data/examples/user/spec/lock_spec.rb +19 -0
  399. data/examples/user/spec/manage_spec.rb +19 -0
  400. data/examples/user/spec/modify_spec.rb +19 -0
  401. data/examples/user/spec/remove_spec.rb +19 -0
  402. data/examples/user/spec/unlock_spec.rb +19 -0
  403. data/examples/yum_package/recipes/install.rb +13 -0
  404. data/examples/yum_package/recipes/purge.rb +13 -0
  405. data/examples/yum_package/recipes/remove.rb +13 -0
  406. data/examples/yum_package/recipes/upgrade.rb +13 -0
  407. data/examples/yum_package/spec/install_spec.rb +23 -0
  408. data/examples/yum_package/spec/purge_spec.rb +19 -0
  409. data/examples/yum_package/spec/remove_spec.rb +19 -0
  410. data/examples/yum_package/spec/upgrade_spec.rb +19 -0
  411. data/features/apt_package.feature +14 -0
  412. data/features/attributes.feature +7 -0
  413. data/features/batch.feature +13 -0
  414. data/features/cached.feature +7 -0
  415. data/features/chef_gem.feature +14 -0
  416. data/features/compile_time.feature +7 -0
  417. data/features/cookbook_file.feature +13 -0
  418. data/features/cron.feature +11 -0
  419. data/features/custom_matcher.feature +11 -0
  420. data/features/deploy.feature +12 -0
  421. data/features/directory.feature +11 -0
  422. data/features/dpkg_package.feature +12 -0
  423. data/features/easy_install_package.feature +13 -0
  424. data/features/env.feature +12 -0
  425. data/features/erl_call.feature +10 -0
  426. data/features/execute.feature +10 -0
  427. data/features/expect_exception.feature +12 -0
  428. data/features/file.feature +13 -0
  429. data/features/freebsd_package.feature +11 -0
  430. data/features/gem_package.feature +14 -0
  431. data/features/git.feature +12 -0
  432. data/features/group.feature +13 -0
  433. data/features/guards.feature +10 -0
  434. data/features/heavy_provider_light_resource.feature +10 -0
  435. data/features/http_request.feature +15 -0
  436. data/features/ifconfig.feature +13 -0
  437. data/features/include_recipe.feature +10 -0
  438. data/features/inherits.feature +7 -0
  439. data/features/ips_package.feature +12 -0
  440. data/features/link.feature +12 -0
  441. data/features/log.feature +10 -0
  442. data/features/macports_package.feature +13 -0
  443. data/features/mdadm.feature +12 -0
  444. data/features/mount.feature +14 -0
  445. data/features/multiple_actions.feature +11 -0
  446. data/features/multiple_run_action.feature +7 -0
  447. data/features/notifications.feature +13 -0
  448. data/features/ohai.feature +10 -0
  449. data/features/package.feature +14 -0
  450. data/features/pacman_package.feature +13 -0
  451. data/features/portage_package.feature +13 -0
  452. data/features/powershell_script.feature +13 -0
  453. data/features/registry_key.feature +13 -0
  454. data/features/remote_directory.feature +12 -0
  455. data/features/remote_file.feature +13 -0
  456. data/features/render_file.feature +16 -0
  457. data/features/roles.feature +7 -0
  458. data/features/route.feature +11 -0
  459. data/features/rpm_package.feature +12 -0
  460. data/features/ruby_block.feature +10 -0
  461. data/features/script.feature +15 -0
  462. data/features/server.feature +21 -0
  463. data/features/service.feature +15 -0
  464. data/features/smartos_package.feature +16 -0
  465. data/features/solaris_package.feature +15 -0
  466. data/features/state_attrs.feature +11 -0
  467. data/features/step_definitions/background_steps.rb +4 -0
  468. data/features/step_into.feature +7 -0
  469. data/features/stub_command.feature +7 -0
  470. data/features/stub_data_bag.feature +7 -0
  471. data/features/stub_data_bag_item.feature +7 -0
  472. data/features/stub_node.feature +7 -0
  473. data/features/stub_search.feature +7 -0
  474. data/features/subscribes.feature +13 -0
  475. data/features/subversion.feature +13 -0
  476. data/features/support/env.rb +36 -0
  477. data/features/support/executor.rb +18 -0
  478. data/features/template.feature +13 -0
  479. data/features/use_inline_resources.feature +7 -0
  480. data/features/user.feature +15 -0
  481. data/features/yum_package.feature +13 -0
  482. data/gemfiles/chef-11.0.0.gemfile +5 -0
  483. data/gemfiles/chef-11.2.0.gemfile +5 -0
  484. data/gemfiles/chef-11.4.4.gemfile +5 -0
  485. data/gemfiles/chef-11.6.0.gemfile +5 -0
  486. data/gemfiles/chef-11.8.0.gemfile +5 -0
  487. data/gemfiles/chef-master.gemfile +5 -0
  488. data/lib/chefspec/api.rb +13 -11
  489. data/lib/chefspec/api/notifications.rb +3 -3
  490. data/lib/chefspec/api/subscriptions.rb +35 -0
  491. data/lib/chefspec/coverage.rb +40 -34
  492. data/lib/chefspec/expect_exception.rb +14 -13
  493. data/lib/chefspec/formatter.rb +8 -8
  494. data/lib/chefspec/matchers.rb +1 -0
  495. data/lib/chefspec/matchers/include_recipe_matcher.rb +19 -18
  496. data/lib/chefspec/matchers/notifications_matcher.rb +25 -24
  497. data/lib/chefspec/matchers/render_file_matcher.rb +32 -31
  498. data/lib/chefspec/matchers/resource_matcher.rb +64 -63
  499. data/lib/chefspec/matchers/state_attrs_matcher.rb +18 -17
  500. data/lib/chefspec/matchers/subscribes_matcher.rb +59 -0
  501. data/lib/chefspec/renderer.rb +82 -81
  502. data/lib/chefspec/runner.rb +66 -51
  503. data/lib/chefspec/server.rb +84 -39
  504. data/lib/chefspec/stubs/stub.rb +10 -9
  505. data/lib/chefspec/version.rb +1 -1
  506. data/spec/spec_helper.rb +8 -0
  507. data/spec/support/hash.rb +35 -0
  508. data/spec/unit/api_spec.rb +18 -0
  509. data/spec/unit/cacher_spec.rb +54 -0
  510. data/spec/unit/expect_exception_spec.rb +32 -0
  511. data/spec/unit/extensions/lwrp_base_spec.rb +89 -0
  512. data/spec/unit/macros_spec.rb +119 -0
  513. data/spec/unit/matchers/include_recipe_matcher_spec.rb +38 -0
  514. data/spec/unit/matchers/link_to_matcher_spec.rb +39 -0
  515. data/spec/unit/matchers/notifications_matcher_spec.rb +5 -0
  516. data/spec/unit/matchers/render_file_matcher_spec.rb +41 -0
  517. data/spec/unit/matchers/resource_matcher_spec.rb +5 -0
  518. data/spec/unit/matchers/state_attrs_matcher_spec.rb +64 -0
  519. data/spec/unit/matchers/subscribes_matcher_spec.rb +5 -0
  520. data/spec/unit/renderer_spec.rb +51 -0
  521. data/spec/unit/runner_spec.rb +125 -0
  522. data/spec/unit/stubs/command_registry_spec.rb +27 -0
  523. data/spec/unit/stubs/command_stub_spec.rb +61 -0
  524. data/spec/unit/stubs/data_bag_item_registry_spec.rb +39 -0
  525. data/spec/unit/stubs/data_bag_item_stub_spec.rb +36 -0
  526. data/spec/unit/stubs/data_bag_registry_spec.rb +39 -0
  527. data/spec/unit/stubs/data_bag_stub_spec.rb +35 -0
  528. data/spec/unit/stubs/registry_spec.rb +29 -0
  529. data/spec/unit/stubs/search_registry_spec.rb +39 -0
  530. data/spec/unit/stubs/search_stub_spec.rb +36 -0
  531. data/spec/unit/stubs/stub_spec.rb +64 -0
  532. metadata +618 -5
@@ -0,0 +1,39 @@
1
+ require 'spec_helper'
2
+
3
+ describe ChefSpec::Stubs::DataBagItemRegistry do
4
+ before { described_class.reset! }
5
+
6
+ it 'inherits from Registry' do
7
+ expect(described_class.superclass).to be(ChefSpec::Stubs::Registry)
8
+ end
9
+
10
+ describe '#stub_for' do
11
+ it 'finds a stub by name' do
12
+ search = double('search', bag: 'users', id: 'svargo')
13
+ described_class.register(search)
14
+ expect(described_class.stub_for('users', 'svargo')).to eq(search)
15
+ end
16
+
17
+ it 'finds a stub by Regex' do
18
+ search = double('search', bag: 'users', id: /sv(.+)/)
19
+ described_class.register(search)
20
+ expect(described_class.stub_for('users', 'svargo')).to eq(search)
21
+ end
22
+
23
+ it 'matches when the bag is a Symbol' do
24
+ search = double('search', bag: :users, id: 'svargo')
25
+ described_class.register(search)
26
+ expect(described_class.stub_for('users', 'svargo')).to eq(search)
27
+ end
28
+
29
+ it 'matches when the stub is a Symbol' do
30
+ search = double('search', bag: 'users', id: 'svargo')
31
+ described_class.register(search)
32
+ expect(described_class.stub_for(:users, 'svargo')).to eq(search)
33
+ end
34
+
35
+ it 'returns nil when no searches are matched' do
36
+ expect(described_class.stub_for('users', 'svargo')).to eq(nil)
37
+ end
38
+ end
39
+ end
@@ -0,0 +1,36 @@
1
+ require 'spec_helper'
2
+
3
+ describe ChefSpec::Stubs::DataBagItemStub do
4
+ it 'inherts from Stub' do
5
+ expect(described_class.superclass).to be(ChefSpec::Stubs::Stub)
6
+ end
7
+
8
+ describe '#initialize' do
9
+ it 'sets the bag, id, and block' do
10
+ block = Proc.new {}
11
+ stub = described_class.new('bag', 'id', &block)
12
+
13
+ expect(stub.bag).to eq('bag')
14
+ expect(stub.id).to eq('id')
15
+ expect(stub.block).to eq(block)
16
+ end
17
+ end
18
+
19
+ describe '#signature' do
20
+ context 'when a value is given' do
21
+ subject { described_class.new('bag', 'id').and_return(false) }
22
+
23
+ it 'includes the value' do
24
+ expect(subject.signature).to eq('stub_data_bag_item("bag", "id").and_return(false)')
25
+ end
26
+ end
27
+
28
+ context 'when a block is given' do
29
+ subject { described_class.new('bag', 'id') { 1 == 2 } }
30
+
31
+ it 'includes a comment about the block' do
32
+ expect(subject.signature).to eq('stub_data_bag_item("bag", "id") { # Ruby code }')
33
+ end
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,39 @@
1
+ require 'spec_helper'
2
+
3
+ describe ChefSpec::Stubs::DataBagRegistry do
4
+ before { described_class.reset! }
5
+
6
+ it 'inherits from Registry' do
7
+ expect(described_class.superclass).to be(ChefSpec::Stubs::Registry)
8
+ end
9
+
10
+ describe '#stub_for' do
11
+ it 'finds a stub by name' do
12
+ search = double('search', bag: 'users')
13
+ described_class.register(search)
14
+ expect(described_class.stub_for('users')).to eq(search)
15
+ end
16
+
17
+ it 'finds a stub by Regex' do
18
+ search = double('search', bag: 'users')
19
+ described_class.register(search)
20
+ expect(described_class.stub_for('users')).to eq(search)
21
+ end
22
+
23
+ it 'matches when the bag is Symbol' do
24
+ search = double('search', bag: :users)
25
+ described_class.register(search)
26
+ expect(described_class.stub_for('users')).to eq(search)
27
+ end
28
+
29
+ it 'matches when the stub is Symbol' do
30
+ search = double('search', bag: 'users')
31
+ described_class.register(search)
32
+ expect(described_class.stub_for(:users)).to eq(search)
33
+ end
34
+
35
+ it 'returns nil when no searches are matched' do
36
+ expect(described_class.stub_for('users')).to eq(nil)
37
+ end
38
+ end
39
+ end
@@ -0,0 +1,35 @@
1
+ require 'spec_helper'
2
+
3
+ describe ChefSpec::Stubs::DataBagStub do
4
+ it 'inherts from Stub' do
5
+ expect(described_class.superclass).to be(ChefSpec::Stubs::Stub)
6
+ end
7
+
8
+ describe '#initialize' do
9
+ it 'sets the bag and block' do
10
+ block = Proc.new {}
11
+ stub = described_class.new('bag', &block)
12
+
13
+ expect(stub.bag).to eq('bag')
14
+ expect(stub.block).to eq(block)
15
+ end
16
+ end
17
+
18
+ describe '#signature' do
19
+ context 'when a value is given' do
20
+ subject { described_class.new('bag').and_return(false) }
21
+
22
+ it 'includes the value' do
23
+ expect(subject.signature).to eq('stub_data_bag("bag").and_return(false)')
24
+ end
25
+ end
26
+
27
+ context 'when a block is given' do
28
+ subject { described_class.new('bag') { 1 == 2 } }
29
+
30
+ it 'includes a comment about the block' do
31
+ expect(subject.signature).to eq('stub_data_bag("bag") { # Ruby code }')
32
+ end
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,29 @@
1
+ require 'spec_helper'
2
+
3
+ describe ChefSpec::Stubs::Registry do
4
+ before { described_class.reset! }
5
+
6
+ describe '#reset!' do
7
+ it 'cleans the list of stubs' do
8
+ described_class.stubs = [1, 2, 3]
9
+ described_class.reset!
10
+
11
+ expect(described_class.stubs).to be_empty
12
+ end
13
+ end
14
+
15
+ describe '#register' do
16
+ it 'adds the stub to the registry' do
17
+ described_class.register('bacon')
18
+ expect(described_class.stubs).to include('bacon')
19
+ end
20
+ end
21
+
22
+ describe '#stub_for' do
23
+ it 'finds a stub by name' do
24
+ expect {
25
+ described_class.stub_for
26
+ }.to raise_error(ArgumentError)
27
+ end
28
+ end
29
+ end
@@ -0,0 +1,39 @@
1
+ require 'spec_helper'
2
+
3
+ describe ChefSpec::Stubs::SearchRegistry do
4
+ before { described_class.reset! }
5
+
6
+ it 'inherits from Registry' do
7
+ expect(described_class.superclass).to be(ChefSpec::Stubs::Registry)
8
+ end
9
+
10
+ describe '#stub_for' do
11
+ it 'finds a stub by name' do
12
+ search = double('search', type: 'node', query: '*:*')
13
+ described_class.register(search)
14
+ expect(described_class.stub_for('node', '*:*')).to eq(search)
15
+ end
16
+
17
+ it 'finds a stub by Regex' do
18
+ search = double('search', type: 'node', query: /name:(.+)/)
19
+ described_class.register(search)
20
+ expect(described_class.stub_for('node', 'name:example.com')).to eq(search)
21
+ end
22
+
23
+ it 'matches when the type is Symbol' do
24
+ search = double('search', type: :node, query: '*:*')
25
+ described_class.register(search)
26
+ expect(described_class.stub_for('node', '*:*')).to eq(search)
27
+ end
28
+
29
+ it 'matches when the stub is Symbol' do
30
+ search = double('search', type: 'node', query: '*:*')
31
+ described_class.register(search)
32
+ expect(described_class.stub_for(:node, '*:*')).to eq(search)
33
+ end
34
+
35
+ it 'returns nil when no searches are matched' do
36
+ expect(described_class.stub_for('node', 'name:example.com')).to eq(nil)
37
+ end
38
+ end
39
+ end
@@ -0,0 +1,36 @@
1
+ require 'spec_helper'
2
+
3
+ describe ChefSpec::Stubs::SearchStub do
4
+ it 'inherts from Stub' do
5
+ expect(described_class.superclass).to be(ChefSpec::Stubs::Stub)
6
+ end
7
+
8
+ describe '#initialize' do
9
+ it 'sets the type, query, and block' do
10
+ block = Proc.new {}
11
+ stub = described_class.new('type', 'query', &block)
12
+
13
+ expect(stub.type).to eq('type')
14
+ expect(stub.query).to eq('query')
15
+ expect(stub.block).to eq(block)
16
+ end
17
+ end
18
+
19
+ describe '#signature' do
20
+ context 'when a value is given' do
21
+ subject { described_class.new('type', 'query').and_return(false) }
22
+
23
+ it 'includes the value' do
24
+ expect(subject.signature).to eq('stub_search("type", "query").and_return(false)')
25
+ end
26
+ end
27
+
28
+ context 'when a block is given' do
29
+ subject { described_class.new('type', 'query') { 1 == 2 } }
30
+
31
+ it 'includes a comment about the block' do
32
+ expect(subject.signature).to eq('stub_search("type", "query") { # Ruby code }')
33
+ end
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,64 @@
1
+ require 'spec_helper'
2
+
3
+ describe ChefSpec::Stubs::Stub do
4
+ describe '#and_return' do
5
+ subject { described_class.new.and_return('value') }
6
+
7
+ it 'sets the value' do
8
+ expect(subject.value).to eq('value')
9
+ end
10
+
11
+ it 'returns an instance of the stub' do
12
+ expect(subject.and_return('value')).to be(subject)
13
+ end
14
+ end
15
+
16
+ describe '#and_raise' do
17
+ subject { described_class.new.and_raise(ArgumentError) }
18
+
19
+ it 'sets the block' do
20
+ expect(subject.instance_variable_get(:@block)).to be_a(Proc)
21
+ end
22
+
23
+ it 'returns an instance of the stub' do
24
+ expect(subject.and_raise(ArgumentError)).to be(subject)
25
+ end
26
+ end
27
+
28
+ describe '#result' do
29
+ context 'when a value is given' do
30
+ subject { described_class.new.and_return('value') }
31
+
32
+ it 'returns the value' do
33
+ expect(subject.result).to eq('value')
34
+ end
35
+ end
36
+
37
+ context 'when a block is given' do
38
+ subject { described_class.new }
39
+
40
+ it 'calls the block' do
41
+ subject.instance_variable_set(:@block, Proc.new { 1 == 2 })
42
+ expect(subject.result).to eq(false)
43
+ end
44
+ end
45
+
46
+ context 'when an exception block is given' do
47
+ subject { described_class.new.and_raise(ArgumentError) }
48
+
49
+ it 'raises the exception' do
50
+ expect {
51
+ subject.result
52
+ }.to raise_error(ArgumentError)
53
+ end
54
+ end
55
+
56
+ context 'when the value is a Hash' do
57
+ subject { described_class.new.and_return([ { name: 'a' } ]) }
58
+
59
+ it 'recursively mashifies the value' do
60
+ expect(subject.result.first).to be_a(Mash)
61
+ end
62
+ end
63
+ end
64
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chefspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.4
4
+ version: 3.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Crump
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-01-04 00:00:00.000000000 Z
12
+ date: 2014-02-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: chef
@@ -146,11 +146,499 @@ dependencies:
146
146
  description: ChefSpec is a unit testing and resource coverage (code coverage) framework
147
147
  for testing Chef cookbooks ChefSpec makes it easy to write examples and get fast
148
148
  feedback on cookbook changes without the need for virtual machines or cloud servers.
149
- email:
149
+ email:
150
+ - andrew.crump@ieee.org
151
+ - sethvargo@gmail.com
150
152
  executables: []
151
153
  extensions: []
152
154
  extra_rdoc_files: []
153
155
  files:
156
+ - .gitignore
157
+ - .travis.yml
158
+ - CHANGELOG.md
159
+ - CONTRIBUTING.md
160
+ - Gemfile
161
+ - ISSUES.md
162
+ - LICENSE
163
+ - README.md
164
+ - Rakefile
165
+ - chefspec.gemspec
166
+ - examples/apt_package/recipes/install.rb
167
+ - examples/apt_package/recipes/purge.rb
168
+ - examples/apt_package/recipes/reconfig.rb
169
+ - examples/apt_package/recipes/remove.rb
170
+ - examples/apt_package/recipes/upgrade.rb
171
+ - examples/apt_package/spec/install_spec.rb
172
+ - examples/apt_package/spec/purge_spec.rb
173
+ - examples/apt_package/spec/reconfig_spec.rb
174
+ - examples/apt_package/spec/remove_spec.rb
175
+ - examples/apt_package/spec/upgrade_spec.rb
176
+ - examples/attributes/attributes/default.rb
177
+ - examples/attributes/recipes/default.rb
178
+ - examples/attributes/spec/default_spec.rb
179
+ - examples/batch/recipes/run.rb
180
+ - examples/batch/spec/run_spec.rb
181
+ - examples/cached/recipes/default.rb
182
+ - examples/cached/spec/default_spec.rb
183
+ - examples/chef_gem/recipes/install.rb
184
+ - examples/chef_gem/recipes/purge.rb
185
+ - examples/chef_gem/recipes/reconfig.rb
186
+ - examples/chef_gem/recipes/remove.rb
187
+ - examples/chef_gem/recipes/upgrade.rb
188
+ - examples/chef_gem/spec/install_spec.rb
189
+ - examples/chef_gem/spec/purge_spec.rb
190
+ - examples/chef_gem/spec/reconfig_spec.rb
191
+ - examples/chef_gem/spec/remove_spec.rb
192
+ - examples/chef_gem/spec/upgrade_spec.rb
193
+ - examples/compile_time/recipes/default.rb
194
+ - examples/compile_time/spec/default_spec.rb
195
+ - examples/cookbook_file/recipes/create.rb
196
+ - examples/cookbook_file/recipes/create_if_missing.rb
197
+ - examples/cookbook_file/recipes/delete.rb
198
+ - examples/cookbook_file/recipes/touch.rb
199
+ - examples/cookbook_file/spec/create_if_missing_spec.rb
200
+ - examples/cookbook_file/spec/create_spec.rb
201
+ - examples/cookbook_file/spec/delete_spec.rb
202
+ - examples/cookbook_file/spec/touch_spec.rb
203
+ - examples/cron/recipes/create.rb
204
+ - examples/cron/recipes/delete.rb
205
+ - examples/cron/spec/create_spec.rb
206
+ - examples/cron/spec/delete_spec.rb
207
+ - examples/custom_matcher/libraries/matcher.rb
208
+ - examples/custom_matcher/providers/thing.rb
209
+ - examples/custom_matcher/recipes/install.rb
210
+ - examples/custom_matcher/recipes/remove.rb
211
+ - examples/custom_matcher/resources/thing.rb
212
+ - examples/custom_matcher/spec/install_spec.rb
213
+ - examples/custom_matcher/spec/remove_spec.rb
214
+ - examples/deploy/recipes/deploy.rb
215
+ - examples/deploy/recipes/force_deploy.rb
216
+ - examples/deploy/recipes/rollback.rb
217
+ - examples/deploy/spec/deploy_spec.rb
218
+ - examples/deploy/spec/force_deploy_spec.rb
219
+ - examples/deploy/spec/rollback_spec.rb
220
+ - examples/directory/recipes/create.rb
221
+ - examples/directory/recipes/delete.rb
222
+ - examples/directory/spec/create_spec.rb
223
+ - examples/directory/spec/delete_spec.rb
224
+ - examples/dpkg_package/recipes/install.rb
225
+ - examples/dpkg_package/recipes/purge.rb
226
+ - examples/dpkg_package/recipes/remove.rb
227
+ - examples/dpkg_package/spec/install_spec.rb
228
+ - examples/dpkg_package/spec/purge_spec.rb
229
+ - examples/dpkg_package/spec/remove_spec.rb
230
+ - examples/easy_install_package/recipes/install.rb
231
+ - examples/easy_install_package/recipes/purge.rb
232
+ - examples/easy_install_package/recipes/remove.rb
233
+ - examples/easy_install_package/recipes/upgrade.rb
234
+ - examples/easy_install_package/spec/install_spec.rb
235
+ - examples/easy_install_package/spec/purge_spec.rb
236
+ - examples/easy_install_package/spec/remove_spec.rb
237
+ - examples/easy_install_package/spec/upgrade_spec.rb
238
+ - examples/env/recipes/create.rb
239
+ - examples/env/recipes/delete.rb
240
+ - examples/env/recipes/modify.rb
241
+ - examples/env/spec/create_spec.rb
242
+ - examples/env/spec/delete_spec.rb
243
+ - examples/env/spec/modify_spec.rb
244
+ - examples/erl_call/recipes/run.rb
245
+ - examples/erl_call/spec/run_spec.rb
246
+ - examples/execute/recipes/run.rb
247
+ - examples/execute/spec/run_spec.rb
248
+ - examples/expect_exception/recipes/compile_error.rb
249
+ - examples/expect_exception/recipes/converge_error.rb
250
+ - examples/expect_exception/recipes/no_error.rb
251
+ - examples/expect_exception/spec/compile_error_spec.rb
252
+ - examples/expect_exception/spec/converge_error_spec.rb
253
+ - examples/expect_exception/spec/no_error_spec.rb
254
+ - examples/file/recipes/create.rb
255
+ - examples/file/recipes/create_if_missing.rb
256
+ - examples/file/recipes/delete.rb
257
+ - examples/file/recipes/touch.rb
258
+ - examples/file/spec/create_if_missing_spec.rb
259
+ - examples/file/spec/create_spec.rb
260
+ - examples/file/spec/delete_spec.rb
261
+ - examples/file/spec/touch_spec.rb
262
+ - examples/freebsd_package/recipes/install.rb
263
+ - examples/freebsd_package/recipes/remove.rb
264
+ - examples/freebsd_package/spec/install_spec.rb
265
+ - examples/freebsd_package/spec/remove_spec.rb
266
+ - examples/gem_package/recipes/install.rb
267
+ - examples/gem_package/recipes/purge.rb
268
+ - examples/gem_package/recipes/reconfig.rb
269
+ - examples/gem_package/recipes/remove.rb
270
+ - examples/gem_package/recipes/upgrade.rb
271
+ - examples/gem_package/spec/install_spec.rb
272
+ - examples/gem_package/spec/purge_spec.rb
273
+ - examples/gem_package/spec/reconfig_spec.rb
274
+ - examples/gem_package/spec/remove_spec.rb
275
+ - examples/gem_package/spec/upgrade_spec.rb
276
+ - examples/git/recipes/checkout.rb
277
+ - examples/git/recipes/export.rb
278
+ - examples/git/recipes/sync.rb
279
+ - examples/git/spec/checkout_spec.rb
280
+ - examples/git/spec/export_spec.rb
281
+ - examples/git/spec/sync_spec.rb
282
+ - examples/group/recipes/create.rb
283
+ - examples/group/recipes/manage.rb
284
+ - examples/group/recipes/modify.rb
285
+ - examples/group/recipes/remove.rb
286
+ - examples/group/spec/create_spec.rb
287
+ - examples/group/spec/manage_spec.rb
288
+ - examples/group/spec/modify_spec.rb
289
+ - examples/group/spec/remove_spec.rb
290
+ - examples/guards/recipes/default.rb
291
+ - examples/guards/spec/default_spec.rb
292
+ - examples/heavy_provider_light_resource/libraries/resource_service.rb
293
+ - examples/heavy_provider_light_resource/providers/service.rb
294
+ - examples/heavy_provider_light_resource/recipes/default.rb
295
+ - examples/heavy_provider_light_resource/spec/provider_service_spec.rb
296
+ - examples/http_request/recipes/delete.rb
297
+ - examples/http_request/recipes/get.rb
298
+ - examples/http_request/recipes/head.rb
299
+ - examples/http_request/recipes/options.rb
300
+ - examples/http_request/recipes/post.rb
301
+ - examples/http_request/recipes/put.rb
302
+ - examples/http_request/spec/delete_spec.rb
303
+ - examples/http_request/spec/get_spec.rb
304
+ - examples/http_request/spec/head_spec.rb
305
+ - examples/http_request/spec/options_spec.rb
306
+ - examples/http_request/spec/post_spec.rb
307
+ - examples/http_request/spec/put_spec.rb
308
+ - examples/ifconfig/recipes/add.rb
309
+ - examples/ifconfig/recipes/delete.rb
310
+ - examples/ifconfig/recipes/disable.rb
311
+ - examples/ifconfig/recipes/enable.rb
312
+ - examples/ifconfig/spec/add_spec.rb
313
+ - examples/ifconfig/spec/delete_spec.rb
314
+ - examples/ifconfig/spec/disable_spec.rb
315
+ - examples/ifconfig/spec/enable_spec.rb
316
+ - examples/include_recipe/recipes/default.rb
317
+ - examples/include_recipe/recipes/not.rb
318
+ - examples/include_recipe/recipes/other.rb
319
+ - examples/include_recipe/spec/default_spec.rb
320
+ - examples/inherits/recipes/default.rb
321
+ - examples/inherits/spec/default_spec.rb
322
+ - examples/ips_package/recipes/install.rb
323
+ - examples/ips_package/recipes/remove.rb
324
+ - examples/ips_package/recipes/upgrade.rb
325
+ - examples/ips_package/spec/install_spec.rb
326
+ - examples/ips_package/spec/remove_spec.rb
327
+ - examples/ips_package/spec/upgrade_spec.rb
328
+ - examples/link/recipes/create.rb
329
+ - examples/link/recipes/delete.rb
330
+ - examples/link/recipes/link_to.rb
331
+ - examples/link/spec/create_spec.rb
332
+ - examples/link/spec/delete_spec.rb
333
+ - examples/link/spec/link_to_spec.rb
334
+ - examples/log/recipes/write.rb
335
+ - examples/log/spec/write_spec.rb
336
+ - examples/macports_package/recipes/install.rb
337
+ - examples/macports_package/recipes/purge.rb
338
+ - examples/macports_package/recipes/remove.rb
339
+ - examples/macports_package/recipes/upgrade.rb
340
+ - examples/macports_package/spec/install_spec.rb
341
+ - examples/macports_package/spec/purge_spec.rb
342
+ - examples/macports_package/spec/remove_spec.rb
343
+ - examples/macports_package/spec/upgrade_spec.rb
344
+ - examples/mdadm/recipes/assemble.rb
345
+ - examples/mdadm/recipes/create.rb
346
+ - examples/mdadm/recipes/stop.rb
347
+ - examples/mdadm/spec/assemble_spec.rb
348
+ - examples/mdadm/spec/create_spec.rb
349
+ - examples/mdadm/spec/stop_spec.rb
350
+ - examples/mount/recipes/disable.rb
351
+ - examples/mount/recipes/enable.rb
352
+ - examples/mount/recipes/mount.rb
353
+ - examples/mount/recipes/remount.rb
354
+ - examples/mount/recipes/umount.rb
355
+ - examples/mount/spec/disable_spec.rb
356
+ - examples/mount/spec/enable_spec.rb
357
+ - examples/mount/spec/mount_spec.rb
358
+ - examples/mount/spec/remount_spec.rb
359
+ - examples/mount/spec/umount_spec.rb
360
+ - examples/multiple_actions/recipes/default.rb
361
+ - examples/multiple_actions/recipes/sequential.rb
362
+ - examples/multiple_actions/spec/default_spec.rb
363
+ - examples/multiple_actions/spec/sequential_spec.rb
364
+ - examples/multiple_run_action/recipes/default.rb
365
+ - examples/multiple_run_action/spec/default_spec.rb
366
+ - examples/notifications/recipes/chained.rb
367
+ - examples/notifications/recipes/default.rb
368
+ - examples/notifications/recipes/delayed.rb
369
+ - examples/notifications/recipes/immediately.rb
370
+ - examples/notifications/spec/chained_spec.rb
371
+ - examples/notifications/spec/default_spec.rb
372
+ - examples/notifications/spec/delayed_spec.rb
373
+ - examples/notifications/spec/immediately_spec.rb
374
+ - examples/ohai/recipes/reload.rb
375
+ - examples/ohai/spec/reload_spec.rb
376
+ - examples/package/recipes/install.rb
377
+ - examples/package/recipes/purge.rb
378
+ - examples/package/recipes/reconfig.rb
379
+ - examples/package/recipes/remove.rb
380
+ - examples/package/recipes/upgrade.rb
381
+ - examples/package/spec/install_spec.rb
382
+ - examples/package/spec/purge_spec.rb
383
+ - examples/package/spec/reconfig_spec.rb
384
+ - examples/package/spec/remove_spec.rb
385
+ - examples/package/spec/upgrade_spec.rb
386
+ - examples/pacman_package/recipes/install.rb
387
+ - examples/pacman_package/recipes/purge.rb
388
+ - examples/pacman_package/recipes/remove.rb
389
+ - examples/pacman_package/recipes/upgrade.rb
390
+ - examples/pacman_package/spec/install_spec.rb
391
+ - examples/pacman_package/spec/purge_spec.rb
392
+ - examples/pacman_package/spec/remove_spec.rb
393
+ - examples/pacman_package/spec/upgrade_spec.rb
394
+ - examples/portage_package/recipes/install.rb
395
+ - examples/portage_package/recipes/purge.rb
396
+ - examples/portage_package/recipes/remove.rb
397
+ - examples/portage_package/recipes/upgrade.rb
398
+ - examples/portage_package/spec/install_spec.rb
399
+ - examples/portage_package/spec/purge_spec.rb
400
+ - examples/portage_package/spec/remove_spec.rb
401
+ - examples/portage_package/spec/upgrade_spec.rb
402
+ - examples/powershell_script/recipes/run.rb
403
+ - examples/powershell_script/spec/run_spec.rb
404
+ - examples/registry_key/recipes/create.rb
405
+ - examples/registry_key/recipes/create_if_missing.rb
406
+ - examples/registry_key/recipes/delete.rb
407
+ - examples/registry_key/recipes/delete_key.rb
408
+ - examples/registry_key/spec/create_if_missing_spec.rb
409
+ - examples/registry_key/spec/create_spec.rb
410
+ - examples/registry_key/spec/delete_key_spec.rb
411
+ - examples/registry_key/spec/delete_spec.rb
412
+ - examples/remote_directory/recipes/create.rb
413
+ - examples/remote_directory/recipes/create_if_missing.rb
414
+ - examples/remote_directory/recipes/delete.rb
415
+ - examples/remote_directory/spec/create_if_missing_spec.rb
416
+ - examples/remote_directory/spec/create_spec.rb
417
+ - examples/remote_directory/spec/delete_spec.rb
418
+ - examples/remote_file/recipes/create.rb
419
+ - examples/remote_file/recipes/create_if_missing.rb
420
+ - examples/remote_file/recipes/delete.rb
421
+ - examples/remote_file/recipes/touch.rb
422
+ - examples/remote_file/spec/create_if_missing_spec.rb
423
+ - examples/remote_file/spec/create_spec.rb
424
+ - examples/remote_file/spec/delete_spec.rb
425
+ - examples/remote_file/spec/touch_spec.rb
426
+ - examples/render_file/files/default/cookbook_file
427
+ - examples/render_file/recipes/default.rb
428
+ - examples/render_file/recipes/template_helpers.rb
429
+ - examples/render_file/spec/default_spec.rb
430
+ - examples/render_file/spec/template_helpers_spec.rb
431
+ - examples/render_file/templates/default/_partial.erb
432
+ - examples/render_file/templates/default/partial.erb
433
+ - examples/render_file/templates/default/template.erb
434
+ - examples/render_file/templates/default/template_with_helper.erb
435
+ - examples/roles/recipes/another.rb
436
+ - examples/roles/recipes/default.rb
437
+ - examples/roles/roles/role.rb
438
+ - examples/roles/spec/default_spec.rb
439
+ - examples/route/recipes/add.rb
440
+ - examples/route/recipes/delete.rb
441
+ - examples/route/spec/add_spec.rb
442
+ - examples/route/spec/delete_spec.rb
443
+ - examples/rpm_package/recipes/install.rb
444
+ - examples/rpm_package/recipes/remove.rb
445
+ - examples/rpm_package/recipes/upgrade.rb
446
+ - examples/rpm_package/spec/install_spec.rb
447
+ - examples/rpm_package/spec/remove_spec.rb
448
+ - examples/rpm_package/spec/upgrade_spec.rb
449
+ - examples/ruby_block/recipes/run.rb
450
+ - examples/ruby_block/spec/run_spec.rb
451
+ - examples/script/recipes/run_bash.rb
452
+ - examples/script/recipes/run_csh.rb
453
+ - examples/script/recipes/run_perl.rb
454
+ - examples/script/recipes/run_python.rb
455
+ - examples/script/recipes/run_ruby.rb
456
+ - examples/script/recipes/run_script.rb
457
+ - examples/script/spec/run_bash_spec.rb
458
+ - examples/script/spec/run_csh_spec.rb
459
+ - examples/script/spec/run_perl_spec.rb
460
+ - examples/script/spec/run_python_spec.rb
461
+ - examples/script/spec/run_ruby_spec.rb
462
+ - examples/script/spec/run_script_spec.rb
463
+ - examples/server/recipes/client.rb
464
+ - examples/server/recipes/data_bag.rb
465
+ - examples/server/recipes/environment.rb
466
+ - examples/server/recipes/node.rb
467
+ - examples/server/recipes/role.rb
468
+ - examples/server/recipes/search.rb
469
+ - examples/server/spec/client_spec.rb
470
+ - examples/server/spec/data_bag_spec.rb
471
+ - examples/server/spec/environment_spec.rb
472
+ - examples/server/spec/node_spec.rb
473
+ - examples/server/spec/role_spec.rb
474
+ - examples/server/spec/search_spec.rb
475
+ - examples/service/recipes/disable.rb
476
+ - examples/service/recipes/enable.rb
477
+ - examples/service/recipes/reload.rb
478
+ - examples/service/recipes/restart.rb
479
+ - examples/service/recipes/start.rb
480
+ - examples/service/recipes/stop.rb
481
+ - examples/service/spec/disable_spec.rb
482
+ - examples/service/spec/enable_spec.rb
483
+ - examples/service/spec/reload_spec.rb
484
+ - examples/service/spec/restart_spec.rb
485
+ - examples/service/spec/start_spec.rb
486
+ - examples/service/spec/stop_spec.rb
487
+ - examples/smartos_package/recipes/install.rb
488
+ - examples/smartos_package/recipes/remove.rb
489
+ - examples/smartos_package/recipes/upgrade.rb
490
+ - examples/smartos_package/spec/install_spec.rb
491
+ - examples/smartos_package/spec/remove_spec.rb
492
+ - examples/smartos_package/spec/upgrade_spec.rb
493
+ - examples/solaris_package/recipes/install.rb
494
+ - examples/solaris_package/recipes/remove.rb
495
+ - examples/solaris_package/spec/install_spec.rb
496
+ - examples/solaris_package/spec/remove_spec.rb
497
+ - examples/state_attrs/providers/lwrp.rb
498
+ - examples/state_attrs/recipes/default.rb
499
+ - examples/state_attrs/resources/lwrp.rb
500
+ - examples/state_attrs/spec/default_spec.rb
501
+ - examples/step_into/providers/lwrp.rb
502
+ - examples/step_into/recipes/default.rb
503
+ - examples/step_into/resources/lwrp.rb
504
+ - examples/step_into/spec/default_spec.rb
505
+ - examples/stub_command/recipes/default.rb
506
+ - examples/stub_command/recipes/other_recipe.rb
507
+ - examples/stub_command/spec/default_spec.rb
508
+ - examples/stub_data_bag/recipes/default.rb
509
+ - examples/stub_data_bag/spec/default_spec.rb
510
+ - examples/stub_data_bag_item/recipes/default.rb
511
+ - examples/stub_data_bag_item/spec/default_spec.rb
512
+ - examples/stub_node/recipes/default.rb
513
+ - examples/stub_node/spec/default_spec.rb
514
+ - examples/stub_search/recipes/default.rb
515
+ - examples/stub_search/spec/default_spec.rb
516
+ - examples/subscribes/recipes/chained.rb
517
+ - examples/subscribes/recipes/default.rb
518
+ - examples/subscribes/recipes/delayed.rb
519
+ - examples/subscribes/recipes/immediately.rb
520
+ - examples/subscribes/spec/chained_spec.rb
521
+ - examples/subscribes/spec/default_spec.rb
522
+ - examples/subscribes/spec/delayed_spec.rb
523
+ - examples/subscribes/spec/immediately_spec.rb
524
+ - examples/subversion/recipes/checkout.rb
525
+ - examples/subversion/recipes/export.rb
526
+ - examples/subversion/recipes/force_export.rb
527
+ - examples/subversion/recipes/sync.rb
528
+ - examples/subversion/spec/checkout_spec.rb
529
+ - examples/subversion/spec/export_spec.rb
530
+ - examples/subversion/spec/force_export_spec.rb
531
+ - examples/subversion/spec/sync_spec.rb
532
+ - examples/template/recipes/create.rb
533
+ - examples/template/recipes/create_if_missing.rb
534
+ - examples/template/recipes/delete.rb
535
+ - examples/template/recipes/touch.rb
536
+ - examples/template/spec/create_if_missing_spec.rb
537
+ - examples/template/spec/create_spec.rb
538
+ - examples/template/spec/delete_spec.rb
539
+ - examples/template/spec/touch_spec.rb
540
+ - examples/use_inline_resources/libraries/matchers.rb
541
+ - examples/use_inline_resources/providers/lwrp.rb
542
+ - examples/use_inline_resources/recipes/default.rb
543
+ - examples/use_inline_resources/resources/lwrp.rb
544
+ - examples/use_inline_resources/spec/default_spec.rb
545
+ - examples/user/recipes/create.rb
546
+ - examples/user/recipes/lock.rb
547
+ - examples/user/recipes/manage.rb
548
+ - examples/user/recipes/modify.rb
549
+ - examples/user/recipes/remove.rb
550
+ - examples/user/recipes/unlock.rb
551
+ - examples/user/spec/create_spec.rb
552
+ - examples/user/spec/lock_spec.rb
553
+ - examples/user/spec/manage_spec.rb
554
+ - examples/user/spec/modify_spec.rb
555
+ - examples/user/spec/remove_spec.rb
556
+ - examples/user/spec/unlock_spec.rb
557
+ - examples/yum_package/recipes/install.rb
558
+ - examples/yum_package/recipes/purge.rb
559
+ - examples/yum_package/recipes/remove.rb
560
+ - examples/yum_package/recipes/upgrade.rb
561
+ - examples/yum_package/spec/install_spec.rb
562
+ - examples/yum_package/spec/purge_spec.rb
563
+ - examples/yum_package/spec/remove_spec.rb
564
+ - examples/yum_package/spec/upgrade_spec.rb
565
+ - features/apt_package.feature
566
+ - features/attributes.feature
567
+ - features/batch.feature
568
+ - features/cached.feature
569
+ - features/chef_gem.feature
570
+ - features/compile_time.feature
571
+ - features/cookbook_file.feature
572
+ - features/cron.feature
573
+ - features/custom_matcher.feature
574
+ - features/deploy.feature
575
+ - features/directory.feature
576
+ - features/dpkg_package.feature
577
+ - features/easy_install_package.feature
578
+ - features/env.feature
579
+ - features/erl_call.feature
580
+ - features/execute.feature
581
+ - features/expect_exception.feature
582
+ - features/file.feature
583
+ - features/freebsd_package.feature
584
+ - features/gem_package.feature
585
+ - features/git.feature
586
+ - features/group.feature
587
+ - features/guards.feature
588
+ - features/heavy_provider_light_resource.feature
589
+ - features/http_request.feature
590
+ - features/ifconfig.feature
591
+ - features/include_recipe.feature
592
+ - features/inherits.feature
593
+ - features/ips_package.feature
594
+ - features/link.feature
595
+ - features/log.feature
596
+ - features/macports_package.feature
597
+ - features/mdadm.feature
598
+ - features/mount.feature
599
+ - features/multiple_actions.feature
600
+ - features/multiple_run_action.feature
601
+ - features/notifications.feature
602
+ - features/ohai.feature
603
+ - features/package.feature
604
+ - features/pacman_package.feature
605
+ - features/portage_package.feature
606
+ - features/powershell_script.feature
607
+ - features/registry_key.feature
608
+ - features/remote_directory.feature
609
+ - features/remote_file.feature
610
+ - features/render_file.feature
611
+ - features/roles.feature
612
+ - features/route.feature
613
+ - features/rpm_package.feature
614
+ - features/ruby_block.feature
615
+ - features/script.feature
616
+ - features/server.feature
617
+ - features/service.feature
618
+ - features/smartos_package.feature
619
+ - features/solaris_package.feature
620
+ - features/state_attrs.feature
621
+ - features/step_definitions/background_steps.rb
622
+ - features/step_into.feature
623
+ - features/stub_command.feature
624
+ - features/stub_data_bag.feature
625
+ - features/stub_data_bag_item.feature
626
+ - features/stub_node.feature
627
+ - features/stub_search.feature
628
+ - features/subscribes.feature
629
+ - features/subversion.feature
630
+ - features/support/env.rb
631
+ - features/support/executor.rb
632
+ - features/template.feature
633
+ - features/use_inline_resources.feature
634
+ - features/user.feature
635
+ - features/yum_package.feature
636
+ - gemfiles/chef-11.0.0.gemfile
637
+ - gemfiles/chef-11.2.0.gemfile
638
+ - gemfiles/chef-11.4.4.gemfile
639
+ - gemfiles/chef-11.6.0.gemfile
640
+ - gemfiles/chef-11.8.0.gemfile
641
+ - gemfiles/chef-master.gemfile
154
642
  - lib/chefspec.rb
155
643
  - lib/chefspec/api.rb
156
644
  - lib/chefspec/api/apt_package.rb
@@ -197,6 +685,7 @@ files:
197
685
  - lib/chefspec/api/smartos_package.rb
198
686
  - lib/chefspec/api/solaris_package.rb
199
687
  - lib/chefspec/api/state_attrs.rb
688
+ - lib/chefspec/api/subscriptions.rb
200
689
  - lib/chefspec/api/subversion.rb
201
690
  - lib/chefspec/api/template.rb
202
691
  - lib/chefspec/api/user.rb
@@ -223,6 +712,7 @@ files:
223
712
  - lib/chefspec/matchers/render_file_matcher.rb
224
713
  - lib/chefspec/matchers/resource_matcher.rb
225
714
  - lib/chefspec/matchers/state_attrs_matcher.rb
715
+ - lib/chefspec/matchers/subscribes_matcher.rb
226
716
  - lib/chefspec/mixins/normalize.rb
227
717
  - lib/chefspec/renderer.rb
228
718
  - lib/chefspec/rspec.rb
@@ -241,6 +731,32 @@ files:
241
731
  - lib/chefspec/util.rb
242
732
  - lib/chefspec/version.rb
243
733
  - locales/en.yml
734
+ - spec/spec_helper.rb
735
+ - spec/support/hash.rb
736
+ - spec/unit/api_spec.rb
737
+ - spec/unit/cacher_spec.rb
738
+ - spec/unit/expect_exception_spec.rb
739
+ - spec/unit/extensions/lwrp_base_spec.rb
740
+ - spec/unit/macros_spec.rb
741
+ - spec/unit/matchers/include_recipe_matcher_spec.rb
742
+ - spec/unit/matchers/link_to_matcher_spec.rb
743
+ - spec/unit/matchers/notifications_matcher_spec.rb
744
+ - spec/unit/matchers/render_file_matcher_spec.rb
745
+ - spec/unit/matchers/resource_matcher_spec.rb
746
+ - spec/unit/matchers/state_attrs_matcher_spec.rb
747
+ - spec/unit/matchers/subscribes_matcher_spec.rb
748
+ - spec/unit/renderer_spec.rb
749
+ - spec/unit/runner_spec.rb
750
+ - spec/unit/stubs/command_registry_spec.rb
751
+ - spec/unit/stubs/command_stub_spec.rb
752
+ - spec/unit/stubs/data_bag_item_registry_spec.rb
753
+ - spec/unit/stubs/data_bag_item_stub_spec.rb
754
+ - spec/unit/stubs/data_bag_registry_spec.rb
755
+ - spec/unit/stubs/data_bag_stub_spec.rb
756
+ - spec/unit/stubs/registry_spec.rb
757
+ - spec/unit/stubs/search_registry_spec.rb
758
+ - spec/unit/stubs/search_stub_spec.rb
759
+ - spec/unit/stubs/stub_spec.rb
244
760
  homepage: http://code.sethvargo.com/chefspec
245
761
  licenses:
246
762
  - MIT
@@ -261,9 +777,106 @@ required_rubygems_version: !ruby/object:Gem::Requirement
261
777
  version: '0'
262
778
  requirements: []
263
779
  rubyforge_project:
264
- rubygems_version: 2.2.0
780
+ rubygems_version: 2.2.1
265
781
  signing_key:
266
782
  specification_version: 4
267
783
  summary: Write RSpec examples and generate coverage reports for Chef recipes!
268
- test_files: []
784
+ test_files:
785
+ - features/apt_package.feature
786
+ - features/attributes.feature
787
+ - features/batch.feature
788
+ - features/cached.feature
789
+ - features/chef_gem.feature
790
+ - features/compile_time.feature
791
+ - features/cookbook_file.feature
792
+ - features/cron.feature
793
+ - features/custom_matcher.feature
794
+ - features/deploy.feature
795
+ - features/directory.feature
796
+ - features/dpkg_package.feature
797
+ - features/easy_install_package.feature
798
+ - features/env.feature
799
+ - features/erl_call.feature
800
+ - features/execute.feature
801
+ - features/expect_exception.feature
802
+ - features/file.feature
803
+ - features/freebsd_package.feature
804
+ - features/gem_package.feature
805
+ - features/git.feature
806
+ - features/group.feature
807
+ - features/guards.feature
808
+ - features/heavy_provider_light_resource.feature
809
+ - features/http_request.feature
810
+ - features/ifconfig.feature
811
+ - features/include_recipe.feature
812
+ - features/inherits.feature
813
+ - features/ips_package.feature
814
+ - features/link.feature
815
+ - features/log.feature
816
+ - features/macports_package.feature
817
+ - features/mdadm.feature
818
+ - features/mount.feature
819
+ - features/multiple_actions.feature
820
+ - features/multiple_run_action.feature
821
+ - features/notifications.feature
822
+ - features/ohai.feature
823
+ - features/package.feature
824
+ - features/pacman_package.feature
825
+ - features/portage_package.feature
826
+ - features/powershell_script.feature
827
+ - features/registry_key.feature
828
+ - features/remote_directory.feature
829
+ - features/remote_file.feature
830
+ - features/render_file.feature
831
+ - features/roles.feature
832
+ - features/route.feature
833
+ - features/rpm_package.feature
834
+ - features/ruby_block.feature
835
+ - features/script.feature
836
+ - features/server.feature
837
+ - features/service.feature
838
+ - features/smartos_package.feature
839
+ - features/solaris_package.feature
840
+ - features/state_attrs.feature
841
+ - features/step_definitions/background_steps.rb
842
+ - features/step_into.feature
843
+ - features/stub_command.feature
844
+ - features/stub_data_bag.feature
845
+ - features/stub_data_bag_item.feature
846
+ - features/stub_node.feature
847
+ - features/stub_search.feature
848
+ - features/subscribes.feature
849
+ - features/subversion.feature
850
+ - features/support/env.rb
851
+ - features/support/executor.rb
852
+ - features/template.feature
853
+ - features/use_inline_resources.feature
854
+ - features/user.feature
855
+ - features/yum_package.feature
856
+ - spec/spec_helper.rb
857
+ - spec/support/hash.rb
858
+ - spec/unit/api_spec.rb
859
+ - spec/unit/cacher_spec.rb
860
+ - spec/unit/expect_exception_spec.rb
861
+ - spec/unit/extensions/lwrp_base_spec.rb
862
+ - spec/unit/macros_spec.rb
863
+ - spec/unit/matchers/include_recipe_matcher_spec.rb
864
+ - spec/unit/matchers/link_to_matcher_spec.rb
865
+ - spec/unit/matchers/notifications_matcher_spec.rb
866
+ - spec/unit/matchers/render_file_matcher_spec.rb
867
+ - spec/unit/matchers/resource_matcher_spec.rb
868
+ - spec/unit/matchers/state_attrs_matcher_spec.rb
869
+ - spec/unit/matchers/subscribes_matcher_spec.rb
870
+ - spec/unit/renderer_spec.rb
871
+ - spec/unit/runner_spec.rb
872
+ - spec/unit/stubs/command_registry_spec.rb
873
+ - spec/unit/stubs/command_stub_spec.rb
874
+ - spec/unit/stubs/data_bag_item_registry_spec.rb
875
+ - spec/unit/stubs/data_bag_item_stub_spec.rb
876
+ - spec/unit/stubs/data_bag_registry_spec.rb
877
+ - spec/unit/stubs/data_bag_stub_spec.rb
878
+ - spec/unit/stubs/registry_spec.rb
879
+ - spec/unit/stubs/search_registry_spec.rb
880
+ - spec/unit/stubs/search_stub_spec.rb
881
+ - spec/unit/stubs/stub_spec.rb
269
882
  has_rdoc: