typo 5.1.3 → 5.1.98

Sign up to get free protection for your applications and to get access to all the features.
Files changed (938) hide show
  1. data/CHANGELOG +1 -0
  2. data/MAINTAINERS +5 -1
  3. data/README +3 -10
  4. data/app/apis/meta_weblog_service.rb +1 -1
  5. data/app/controllers/accounts_controller.rb +20 -9
  6. data/app/controllers/admin/base_controller.rb +21 -1
  7. data/app/controllers/admin/blacklist_controller.rb +6 -15
  8. data/app/controllers/admin/cache_controller.rb +2 -6
  9. data/app/controllers/admin/categories_controller.rb +32 -26
  10. data/app/controllers/admin/content_controller.rb +40 -54
  11. data/app/controllers/admin/dashboard_controller.rb +58 -5
  12. data/app/controllers/admin/feedback_controller.rb +88 -17
  13. data/app/controllers/admin/pages_controller.rb +9 -30
  14. data/app/controllers/admin/profiles_controller.rb +7 -10
  15. data/app/controllers/admin/resources_controller.rb +13 -12
  16. data/app/controllers/admin/settings_controller.rb +9 -42
  17. data/app/controllers/admin/sidebar_controller.rb +21 -8
  18. data/app/controllers/admin/tags_controller.rb +7 -13
  19. data/app/controllers/admin/textfilters_controller.rb +1 -99
  20. data/app/controllers/admin/themes_controller.rb +8 -5
  21. data/app/controllers/admin/users_controller.rb +13 -11
  22. data/app/controllers/application.rb +1 -0
  23. data/app/controllers/articles_controller.rb +64 -16
  24. data/app/controllers/backend_controller.rb +8 -2
  25. data/app/controllers/grouping_controller.rb +16 -10
  26. data/app/controllers/redirect_controller.rb +2 -2
  27. data/app/controllers/users_controller.rb +4 -0
  28. data/app/controllers/xml_controller.rb +3 -1
  29. data/app/helpers/admin/base_helper.rb +60 -113
  30. data/app/helpers/admin/content_helper.rb +19 -1
  31. data/app/helpers/admin/feedback_helper.rb +0 -31
  32. data/app/helpers/admin/pages_helper.rb +0 -20
  33. data/app/helpers/admin/settings_helper.rb +5 -0
  34. data/app/helpers/application_helper.rb +43 -27
  35. data/app/helpers/authors_helper.rb +1 -3
  36. data/app/helpers/content_helper.rb +1 -18
  37. data/app/helpers/sidebar_helper.rb +12 -0
  38. data/app/helpers/theme_helper.rb +0 -20
  39. data/app/helpers/xml_helper.rb +1 -9
  40. data/app/models/article.rb +73 -9
  41. data/app/models/blog.rb +24 -3
  42. data/app/models/blog_sweeper.rb +4 -13
  43. data/app/models/category.rb +1 -0
  44. data/app/models/content.rb +45 -4
  45. data/app/models/feedback/states.rb +21 -2
  46. data/app/models/feedback.rb +2 -0
  47. data/app/models/page.rb +7 -0
  48. data/app/models/page_cache.rb +1 -1
  49. data/app/models/profile.rb +2 -0
  50. data/app/models/tag.rb +3 -1
  51. data/app/models/theme.rb +1 -1
  52. data/app/models/user.rb +35 -6
  53. data/app/views/accounts/login.html.erb +7 -9
  54. data/app/views/accounts/signup.html.erb +1 -1
  55. data/app/views/admin/base/_recent_comments.html.erb +3 -3
  56. data/app/views/admin/base/_recent_trackbacks.html.erb +3 -3
  57. data/app/views/admin/blacklist/_blacklist_patterns.html.erb +2 -5
  58. data/app/views/admin/blacklist/_quick_post.html.erb +1 -1
  59. data/app/views/admin/blacklist/edit.html.erb +2 -3
  60. data/app/views/admin/blacklist/index.html.erb +2 -2
  61. data/app/views/admin/categories/_categories.html.erb +8 -10
  62. data/app/views/admin/categories/_form.html.erb +12 -3
  63. data/app/views/admin/categories/index.html.erb +1 -5
  64. data/app/views/admin/categories/new.html.erb +9 -0
  65. data/app/views/admin/content/_article_list.html.erb +16 -0
  66. data/app/views/admin/content/_drafts.html.erb +3 -3
  67. data/app/views/admin/content/_form.html.erb +29 -53
  68. data/app/views/admin/content/index.html.erb +49 -9
  69. data/app/views/admin/content/new.html.erb +1 -1
  70. data/app/views/admin/dashboard/_comments.html.erb +1 -3
  71. data/app/views/admin/dashboard/_inbound.html.erb +19 -0
  72. data/app/views/admin/dashboard/_overview.html.erb +7 -2
  73. data/app/views/admin/dashboard/_sysinfo.html.erb +5 -5
  74. data/app/views/admin/dashboard/_typo_dev.html.erb +21 -0
  75. data/app/views/admin/dashboard/_welcome.html.erb +1 -1
  76. data/app/views/admin/dashboard/index.html.erb +14 -17
  77. data/app/views/admin/feedback/_button.html.erb +5 -4
  78. data/app/views/admin/{comments → feedback}/_form.html.erb +1 -0
  79. data/app/views/admin/feedback/_item.html.erb +3 -5
  80. data/app/views/admin/feedback/article.html.erb +33 -0
  81. data/app/views/admin/feedback/edit.html.erb +10 -0
  82. data/app/views/admin/feedback/index.html.erb +21 -24
  83. data/app/views/admin/pages/_form.html.erb +20 -28
  84. data/app/views/admin/pages/_pages.html.erb +14 -25
  85. data/app/views/admin/resources/_metadata_edit.html.erb +1 -1
  86. data/app/views/admin/resources/_resources.html.erb +8 -5
  87. data/app/views/admin/resources/index.html.erb +1 -3
  88. data/app/views/admin/settings/_submit.html.erb +2 -2
  89. data/app/views/admin/settings/feedback.html.erb +86 -49
  90. data/app/views/admin/settings/index.html.erb +54 -58
  91. data/app/views/admin/settings/read.html.erb +2 -1
  92. data/app/views/admin/settings/seo.html.erb +46 -0
  93. data/app/views/admin/settings/update_database.html.erb +27 -29
  94. data/app/views/admin/settings/write.html.erb +41 -11
  95. data/app/views/admin/shared/_edit.html.erb +2 -1
  96. data/app/views/admin/sidebar/index.html.erb +4 -4
  97. data/app/views/admin/sidebar/set_active.rjs +1 -1
  98. data/app/views/admin/tags/_tags.html.erb +7 -8
  99. data/app/views/admin/tags/edit.html.erb +2 -2
  100. data/app/views/admin/tags/index.html.erb +1 -3
  101. data/app/views/admin/users/_form.html.erb +14 -3
  102. data/app/views/admin/users/edit.html.erb +1 -1
  103. data/app/views/admin/users/index.html.erb +16 -16
  104. data/app/views/admin/users/new.html.erb +1 -1
  105. data/app/views/articles/_comment_failed.html.erb +1 -0
  106. data/app/views/articles/_rss20_feed.rss.builder +1 -1
  107. data/app/views/articles/groupings.html.erb +4 -3
  108. data/app/views/articles/index.html.erb +1 -3
  109. data/app/views/articles/search.html.erb +8 -0
  110. data/app/views/layouts/accounts.html.erb +2 -3
  111. data/app/views/layouts/administration.html.erb +44 -40
  112. data/app/views/shared/_loginform.html.erb +9 -3
  113. data/app/views/shared/_search.html.erb +3 -8
  114. data/config/boot.rb +96 -32
  115. data/config/environment.rb +14 -7
  116. data/config/environments/development.rb +2 -0
  117. data/config/initializers/access_rules.rb +41 -48
  118. data/config/initializers/inflector.rb +1 -0
  119. data/config/routes.rb +11 -21
  120. data/db/migrate/001_initial_schema.rb +0 -1
  121. data/db/migrate/003_add_article_user_id.rb +11 -0
  122. data/db/migrate/020_superclass_articles.rb +4 -3
  123. data/db/migrate/021_superclass_comments.rb +2 -2
  124. data/db/migrate/022_superclass_trackbacks.rb +2 -1
  125. data/db/migrate/028_rename_redirect_to.rb +5 -1
  126. data/db/migrate/057_add_categorization_model.rb +12 -6
  127. data/db/migrate/072_add_remember_token.rb +9 -0
  128. data/db/migrate/073_add_meta_and_subcategories.rb +13 -0
  129. data/db/migrate/074_add_remember_token_expires_at.rb +9 -0
  130. data/db/migrate/075_move_editor_to_user.rb +20 -0
  131. data/db/migrate/076_fix_users_empty_email.rb +15 -0
  132. data/db/migrate/077_fix_userless_articles.rb +20 -0
  133. data/db/schema.rb +38 -38
  134. data/doc/typo-5.2-release-notes.txt +52 -0
  135. data/lang/fr_FR.rb +35 -15
  136. data/lang/he_IL.rb +715 -0
  137. data/lib/tasks/release.rake +7 -7
  138. data/lib/tasks/rspec.rake +142 -0
  139. data/lib/text_filter_plugin.rb +5 -0
  140. data/lib/typo_version.rb +1 -1
  141. data/public/images/admin/typologo.gif +0 -0
  142. data/public/javascripts/administration.js +12 -0
  143. data/public/javascripts/controls.js +1 -3
  144. data/public/javascripts/dragdrop.js +1 -3
  145. data/public/javascripts/effects.js +5 -7
  146. data/public/javascripts/fckcustom.js +9 -8
  147. data/public/javascripts/fckeditor/fckconfig.js +2 -2
  148. data/public/javascripts/fckeditor/fckeditor.js +1 -1
  149. data/public/javascripts/prototype.js +317 -167
  150. data/public/javascripts/quicktags.js +511 -0
  151. data/public/robots.txt +16 -1
  152. data/public/sources/javascripts/administration.js +12 -0
  153. data/public/sources/javascripts/application.js +2 -0
  154. data/public/sources/javascripts/codecollapse.js +8 -0
  155. data/public/sources/javascripts/controls.js +963 -0
  156. data/public/sources/javascripts/cookies.js +60 -0
  157. data/public/sources/javascripts/dragdrop.js +972 -0
  158. data/public/sources/javascripts/effects.js +1120 -0
  159. data/public/sources/javascripts/fckcustom.js +28 -0
  160. data/public/sources/javascripts/lang/default.js +21 -0
  161. data/public/sources/javascripts/lang/en_US.js +21 -0
  162. data/public/sources/javascripts/lang/fr_FR.js +21 -0
  163. data/public/sources/javascripts/lightbox.js +202 -0
  164. data/public/sources/javascripts/prototype.js +4320 -0
  165. data/public/sources/javascripts/quicktags.js +511 -0
  166. data/public/sources/javascripts/scriptaculous.js +58 -0
  167. data/public/sources/javascripts/slider.js +258 -0
  168. data/public/sources/javascripts/typo.js +136 -0
  169. data/public/sources/stylesheets/administration.css +955 -0
  170. data/public/sources/stylesheets/administration_rtl.css +1026 -0
  171. data/public/sources/stylesheets/codecollapse.css +3 -0
  172. data/public/sources/stylesheets/coderay.css +126 -0
  173. data/public/sources/stylesheets/lightbox.css +62 -0
  174. data/public/sources/stylesheets/rss.css +54 -0
  175. data/public/sources/stylesheets/textmate/dawn.css +209 -0
  176. data/public/sources/stylesheets/textmate/iplastic.css +142 -0
  177. data/public/sources/stylesheets/textmate/space_cadet.css +99 -0
  178. data/public/sources/stylesheets/textmate/textmate.css +48 -0
  179. data/public/sources/stylesheets/textmate/twilight.css +227 -0
  180. data/public/sources/stylesheets/user-styles.css +22 -0
  181. data/public/stylesheets/administration.css +146 -214
  182. data/public/stylesheets/administration_rtl.css +1026 -0
  183. data/public/stylesheets/coderay.css +128 -0
  184. data/script/autospec +5 -0
  185. data/script/dbconsole +3 -0
  186. data/script/performance/request +3 -0
  187. data/script/spec_server +18 -4
  188. data/spec/controllers/accounts_controller_spec.rb +24 -11
  189. data/spec/controllers/admin/blacklist_controller_spec.rb +4 -4
  190. data/spec/controllers/admin/cache_controller_spec.rb +32 -0
  191. data/spec/controllers/admin/categories_controller_spec.rb +8 -16
  192. data/spec/controllers/admin/content_controller_spec.rb +327 -171
  193. data/spec/controllers/admin/feedback_controller_spec.rb +278 -26
  194. data/spec/controllers/admin/pages_controller_spec.rb +0 -6
  195. data/spec/controllers/admin/resources_controller_spec.rb +3 -6
  196. data/spec/controllers/admin/settings_controller_spec.rb +21 -1
  197. data/spec/controllers/admin/tags_controller_spec.rb +35 -0
  198. data/spec/controllers/admin/textfilters_controller_spec.rb +10 -9
  199. data/spec/controllers/admin/users_controller_spec.rb +17 -18
  200. data/spec/controllers/articles_controller_spec.rb +4 -1
  201. data/spec/controllers/authors_controller_spec.rb +3 -6
  202. data/spec/controllers/backend_controller_spec.rb +26 -3
  203. data/spec/controllers/categories_controller_spec.rb +3 -6
  204. data/spec/controllers/comments_controller_spec.rb +4 -3
  205. data/spec/controllers/redirect_controller_spec.rb +5 -5
  206. data/spec/controllers/routes/articles_routing_spec.rb +31 -0
  207. data/spec/controllers/tags_controller_spec.rb +3 -6
  208. data/spec/controllers/textfilter_controller_spec.rb +37 -21
  209. data/spec/controllers/xml_controller_spec.rb +4 -1
  210. data/spec/helpers/application_helper_spec.rb +25 -0
  211. data/spec/helpers/content_helper_spec.rb +2 -0
  212. data/spec/lib/text_filter_plugin_spec.rb +15 -0
  213. data/spec/models/article_closing_spec.rb +4 -0
  214. data/spec/models/article_spec.rb +72 -3
  215. data/spec/models/blog_spec.rb +12 -0
  216. data/spec/models/comment_spec.rb +155 -127
  217. data/spec/models/metafragment_spec.rb +12 -0
  218. data/spec/models/resource_spec.rb +1 -0
  219. data/spec/models/tag_spec.rb +2 -2
  220. data/spec/models/theme_spec.rb +2 -2
  221. data/spec/models/user_spec.rb +14 -0
  222. data/spec/spec_helper.rb +1 -0
  223. data/spec/views/articles/index_spec.rb +57 -0
  224. data/test/fixtures/contents.yml +18 -0
  225. data/test/fixtures/feedback.yml +27 -0
  226. data/test/fixtures/profiles.yml +4 -0
  227. data/test/mocks/themes/typographic/views/articles/_article.html.erb +1 -1
  228. data/test/mocks/themes/typographic/views/articles/index.html.erb +1 -1
  229. data/themes/dirtylicious/layouts/default.html.erb +1 -1
  230. data/themes/dirtylicious/views/articles/index.html.erb +1 -3
  231. data/themes/scribbish/views/articles/index.html.erb +1 -3
  232. data/themes/standard_issue/views/articles/_article.html.erb +1 -1
  233. data/themes/standard_issue/views/articles/index.html.erb +1 -3
  234. data/themes/typographic/views/articles/_article.html.erb +1 -1
  235. data/themes/typographic/views/articles/index.html.erb +1 -3
  236. data/vendor/actionwebservice/CHANGELOG +63 -8
  237. data/vendor/actionwebservice/README +17 -0
  238. data/vendor/actionwebservice/Rakefile +12 -11
  239. data/vendor/actionwebservice/actionwebservice.gemspec +26 -0
  240. data/vendor/actionwebservice/generators/web_service/USAGE +28 -0
  241. data/vendor/actionwebservice/generators/web_service/templates/api_definition.rb +5 -0
  242. data/vendor/actionwebservice/generators/web_service/templates/controller.rb +8 -0
  243. data/vendor/actionwebservice/generators/web_service/templates/functional_test.rb +19 -0
  244. data/vendor/actionwebservice/generators/web_service/web_service_generator.rb +29 -0
  245. data/vendor/actionwebservice/install.rb +1 -1
  246. data/vendor/actionwebservice/lib/action_web_service/api.rb +1 -1
  247. data/vendor/actionwebservice/lib/action_web_service/casting.rb +7 -1
  248. data/vendor/actionwebservice/lib/action_web_service/dispatcher/action_controller_dispatcher.rb +2 -2
  249. data/vendor/actionwebservice/lib/action_web_service/protocol/soap_protocol/marshaler.rb +7 -0
  250. data/vendor/actionwebservice/lib/action_web_service/scaffolding.rb +8 -8
  251. data/vendor/actionwebservice/lib/action_web_service/templates/scaffolds/{layout.erb → layout.html.erb} +0 -0
  252. data/vendor/actionwebservice/lib/action_web_service/templates/scaffolds/{methods.erb → methods.html.erb} +0 -0
  253. data/vendor/actionwebservice/lib/action_web_service/templates/scaffolds/{parameters.erb → parameters.html.erb} +0 -0
  254. data/vendor/actionwebservice/lib/action_web_service/templates/scaffolds/{result.erb → result.html.erb} +0 -0
  255. data/vendor/actionwebservice/lib/action_web_service/version.rb +3 -3
  256. data/vendor/actionwebservice/lib/action_web_service.rb +3 -3
  257. data/vendor/actionwebservice/test/abstract_client.rb +1 -1
  258. data/vendor/actionwebservice/test/abstract_dispatcher.rb +0 -4
  259. data/vendor/actionwebservice/test/abstract_unit.rb +6 -18
  260. data/vendor/actionwebservice/test/client_xmlrpc_test.rb +0 -1
  261. data/vendor/actionwebservice/test/gencov +0 -0
  262. data/vendor/actionwebservice/test/run +0 -0
  263. data/vendor/actionwebservice/test/scaffolded_controller_test.rb +5 -5
  264. data/vendor/gems/coderay-0.8.260/.specification +114 -0
  265. data/vendor/gems/coderay-0.8.260/FOLDERS +53 -0
  266. data/vendor/gems/coderay-0.8.260/LICENSE +504 -0
  267. data/vendor/gems/coderay-0.8.260/README +128 -0
  268. data/vendor/gems/coderay-0.8.260/bin/coderay +82 -0
  269. data/vendor/gems/coderay-0.8.260/bin/coderay_stylesheet +4 -0
  270. data/vendor/gems/coderay-0.8.260/lib/coderay/duo.rb +87 -0
  271. data/vendor/gems/coderay-0.8.260/lib/coderay/encoder.rb +182 -0
  272. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/_map.rb +9 -0
  273. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/count.rb +21 -0
  274. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/debug.rb +49 -0
  275. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/div.rb +20 -0
  276. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/html/css.rb +70 -0
  277. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/html/numerization.rb +124 -0
  278. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/html/output.rb +197 -0
  279. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/html.rb +287 -0
  280. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/null.rb +26 -0
  281. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/page.rb +21 -0
  282. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/span.rb +20 -0
  283. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/statistic.rb +77 -0
  284. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/text.rb +32 -0
  285. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/tokens.rb +44 -0
  286. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/xml.rb +70 -0
  287. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/yaml.rb +22 -0
  288. data/vendor/gems/coderay-0.8.260/lib/coderay/for_redcloth.rb +72 -0
  289. data/vendor/gems/coderay-0.8.260/lib/coderay/helpers/file_type.rb +211 -0
  290. data/vendor/gems/coderay-0.8.260/lib/coderay/helpers/gzip_simple.rb +123 -0
  291. data/vendor/gems/coderay-0.8.260/lib/coderay/helpers/plugin.rb +333 -0
  292. data/vendor/gems/coderay-0.8.260/lib/coderay/helpers/word_list.rb +123 -0
  293. data/vendor/gems/coderay-0.8.260/lib/coderay/scanner.rb +255 -0
  294. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/_map.rb +15 -0
  295. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/c.rb +165 -0
  296. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/css.rb +181 -0
  297. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/debug.rb +61 -0
  298. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/delphi.rb +150 -0
  299. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/diff.rb +104 -0
  300. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/html.rb +177 -0
  301. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/java/builtin_types.rb +419 -0
  302. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/java.rb +179 -0
  303. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/java_script.rb +187 -0
  304. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/json.rb +106 -0
  305. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/nitro_xhtml.rb +134 -0
  306. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/plaintext.rb +18 -0
  307. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/rhtml.rb +73 -0
  308. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/ruby/patterns.rb +226 -0
  309. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/ruby.rb +381 -0
  310. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/scheme.rb +142 -0
  311. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/sql.Keith.rb +143 -0
  312. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/sql.rb +154 -0
  313. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/xml.rb +19 -0
  314. data/vendor/gems/coderay-0.8.260/lib/coderay/style.rb +20 -0
  315. data/vendor/gems/coderay-0.8.260/lib/coderay/styles/_map.rb +7 -0
  316. data/vendor/gems/coderay-0.8.260/lib/coderay/styles/cycnus.rb +146 -0
  317. data/vendor/gems/coderay-0.8.260/lib/coderay/styles/murphy.rb +132 -0
  318. data/vendor/gems/coderay-0.8.260/lib/coderay/token_classes.rb +82 -0
  319. data/vendor/gems/coderay-0.8.260/lib/coderay/tokens.rb +387 -0
  320. data/vendor/gems/coderay-0.8.260/lib/coderay.rb +321 -0
  321. data/vendor/gems/coderay-0.8.260/lib/term/ansicolor.rb +220 -0
  322. data/vendor/plugins/acts_as_tree/README +26 -0
  323. data/vendor/plugins/{classic_pagination → acts_as_tree}/Rakefile +3 -3
  324. data/vendor/plugins/acts_as_tree/init.rb +1 -0
  325. data/vendor/plugins/acts_as_tree/lib/active_record/acts/tree.rb +96 -0
  326. data/vendor/{actionwebservice/lib/action_web_service/templates/scaffolds/layout.rhtml → plugins/acts_as_tree/test/abstract_unit.rb} +0 -0
  327. data/vendor/plugins/acts_as_tree/test/acts_as_tree_test.rb +219 -0
  328. data/vendor/{actionwebservice/lib/action_web_service/templates/scaffolds/methods.rhtml → plugins/acts_as_tree/test/database.yml} +0 -0
  329. data/vendor/{actionwebservice/lib/action_web_service/templates/scaffolds/parameters.rhtml → plugins/acts_as_tree/test/fixtures/mixin.rb} +0 -0
  330. data/vendor/{actionwebservice/lib/action_web_service/templates/scaffolds/result.rhtml → plugins/acts_as_tree/test/fixtures/mixins.yml} +0 -0
  331. data/vendor/plugins/{rspec_on_rails/generators/rspec/templates/previous_failures.txt → acts_as_tree/test/schema.rb} +0 -0
  332. data/vendor/plugins/expiring_action_cache/lib/metafragment.rb +1 -1
  333. data/vendor/plugins/fckeditor/lib/fckeditor.rb +1 -1
  334. data/vendor/plugins/livesearch_sidebar/init.rb +4 -0
  335. data/vendor/plugins/livesearch_sidebar/lib/livesearch_sidebar.rb +5 -0
  336. data/vendor/plugins/livesearch_sidebar/views/content.rhtml +15 -0
  337. data/vendor/plugins/localization/bin/make_language.rb +78 -0
  338. data/vendor/plugins/localization/lib/localization.rb +14 -0
  339. data/vendor/plugins/rspec/.autotest +1 -0
  340. data/vendor/plugins/rspec/{CHANGES → History.txt} +215 -62
  341. data/vendor/plugins/rspec/{MIT-LICENSE → License.txt} +3 -1
  342. data/vendor/plugins/rspec/Manifest.txt +403 -0
  343. data/vendor/plugins/rspec/README.txt +39 -0
  344. data/vendor/plugins/rspec/Rakefile +39 -229
  345. data/vendor/plugins/rspec/TODO.txt +10 -0
  346. data/vendor/plugins/rspec/bin/autospec +4 -0
  347. data/vendor/plugins/rspec/bin/spec +1 -1
  348. data/vendor/plugins/rspec/examples/pure/autogenerated_docstrings_example.rb +4 -4
  349. data/vendor/plugins/rspec/examples/pure/partial_mock_example.rb +1 -0
  350. data/vendor/plugins/rspec/examples/pure/shared_example_group_example.rb +2 -2
  351. data/vendor/plugins/rspec/examples/pure/yielding_example.rb +33 -0
  352. data/vendor/plugins/rspec/examples/stories/calculator.rb +1 -1
  353. data/vendor/plugins/rspec/examples/stories/game-of-life/behaviour/everything.rb +1 -1
  354. data/vendor/plugins/rspec/examples/stories/game-of-life/behaviour/stories/CellsWithMoreThanThreeNeighboursDie.story +17 -17
  355. data/vendor/plugins/rspec/lib/autotest/discover.rb +1 -1
  356. data/vendor/plugins/rspec/lib/autotest/rspec.rb +10 -38
  357. data/vendor/plugins/rspec/lib/spec/adapters/ruby_engine/mri.rb +8 -0
  358. data/vendor/plugins/rspec/lib/spec/adapters/ruby_engine/rubinius.rb +8 -0
  359. data/vendor/plugins/rspec/lib/spec/adapters/ruby_engine.rb +26 -0
  360. data/vendor/plugins/rspec/lib/spec/adapters.rb +1 -0
  361. data/vendor/plugins/rspec/lib/spec/example/before_and_after_hooks.rb +93 -0
  362. data/vendor/plugins/rspec/lib/spec/example/configuration.rb +40 -17
  363. data/vendor/plugins/rspec/lib/spec/example/errors.rb +23 -2
  364. data/vendor/plugins/rspec/lib/spec/example/example_group.rb +12 -3
  365. data/vendor/plugins/rspec/lib/spec/example/example_group_factory.rb +41 -22
  366. data/vendor/plugins/rspec/lib/spec/example/example_group_methods.rb +88 -144
  367. data/vendor/plugins/rspec/lib/spec/example/example_matcher.rb +2 -0
  368. data/vendor/plugins/rspec/lib/spec/example/example_methods.rb +19 -20
  369. data/vendor/plugins/rspec/lib/spec/example/shared_example_group.rb +6 -12
  370. data/vendor/plugins/rspec/lib/spec/example.rb +1 -1
  371. data/vendor/plugins/rspec/lib/spec/expectations/differs/default.rb +1 -1
  372. data/vendor/plugins/rspec/lib/spec/expectations/extensions/object.rb +4 -12
  373. data/vendor/plugins/rspec/lib/spec/expectations/handler.rb +10 -10
  374. data/vendor/plugins/rspec/lib/spec/extensions/main.rb +3 -18
  375. data/vendor/plugins/rspec/lib/spec/extensions/metaclass.rb +7 -0
  376. data/vendor/plugins/rspec/lib/spec/extensions/object.rb +0 -4
  377. data/vendor/plugins/rspec/lib/spec/extensions.rb +1 -0
  378. data/vendor/plugins/rspec/lib/spec/interop/test/unit/testcase.rb +12 -2
  379. data/vendor/plugins/rspec/lib/spec/matchers/be.rb +18 -21
  380. data/vendor/plugins/rspec/lib/spec/matchers/be_close.rb +5 -5
  381. data/vendor/plugins/rspec/lib/spec/matchers/change.rb +45 -41
  382. data/vendor/plugins/rspec/lib/spec/matchers/eql.rb +6 -6
  383. data/vendor/plugins/rspec/lib/spec/matchers/equal.rb +6 -6
  384. data/vendor/plugins/rspec/lib/spec/matchers/exist.rb +10 -5
  385. data/vendor/plugins/rspec/lib/spec/matchers/has.rb +2 -12
  386. data/vendor/plugins/rspec/lib/spec/matchers/have.rb +25 -20
  387. data/vendor/plugins/rspec/lib/spec/matchers/include.rb +12 -5
  388. data/vendor/plugins/rspec/lib/spec/matchers/match.rb +9 -9
  389. data/vendor/plugins/rspec/lib/spec/matchers/operator_matcher.rb +25 -19
  390. data/vendor/plugins/rspec/lib/spec/matchers/raise_error.rb +60 -37
  391. data/vendor/plugins/rspec/lib/spec/matchers/respond_to.rb +5 -4
  392. data/vendor/plugins/rspec/lib/spec/matchers/satisfy.rb +5 -5
  393. data/vendor/plugins/rspec/lib/spec/matchers/simple_matcher.rb +115 -12
  394. data/vendor/plugins/rspec/lib/spec/matchers/throw_symbol.rb +3 -3
  395. data/vendor/plugins/rspec/lib/spec/matchers.rb +8 -2
  396. data/vendor/plugins/rspec/lib/spec/mocks/argument_constraints.rb +165 -0
  397. data/vendor/plugins/rspec/lib/spec/mocks/argument_expectation.rb +24 -158
  398. data/vendor/plugins/rspec/lib/spec/mocks/error_generator.rb +1 -1
  399. data/vendor/plugins/rspec/lib/spec/mocks/extensions.rb +1 -0
  400. data/vendor/plugins/rspec/lib/spec/mocks/framework.rb +15 -0
  401. data/vendor/plugins/rspec/lib/spec/mocks/message_expectation.rb +74 -10
  402. data/vendor/plugins/rspec/lib/spec/mocks/methods.rb +15 -3
  403. data/vendor/plugins/rspec/lib/spec/mocks/mock.rb +13 -7
  404. data/vendor/plugins/rspec/lib/spec/mocks/proxy.rb +71 -17
  405. data/vendor/plugins/rspec/lib/spec/mocks/spec_methods.rb +9 -1
  406. data/vendor/plugins/rspec/lib/spec/mocks.rb +1 -12
  407. data/vendor/plugins/rspec/lib/spec/rake/spectask.rb +19 -27
  408. data/vendor/plugins/rspec/lib/spec/rake/verify_rcov.rb +3 -3
  409. data/vendor/plugins/rspec/lib/spec/runner/backtrace_tweaker.rb +7 -8
  410. data/vendor/plugins/rspec/lib/spec/runner/command_line.rb +6 -17
  411. data/vendor/plugins/rspec/lib/spec/runner/drb_command_line.rb +1 -1
  412. data/vendor/plugins/rspec/lib/spec/runner/formatter/base_formatter.rb +4 -3
  413. data/vendor/plugins/rspec/lib/spec/runner/formatter/base_text_formatter.rb +5 -9
  414. data/vendor/plugins/rspec/lib/spec/runner/formatter/failing_example_groups_formatter.rb +4 -8
  415. data/vendor/plugins/rspec/lib/spec/runner/formatter/html_formatter.rb +18 -14
  416. data/vendor/plugins/rspec/lib/spec/runner/formatter/nested_text_formatter.rb +65 -0
  417. data/vendor/plugins/rspec/lib/spec/runner/formatter/profile_formatter.rb +4 -0
  418. data/vendor/plugins/rspec/lib/spec/runner/formatter/progress_bar_formatter.rb +6 -2
  419. data/vendor/plugins/rspec/lib/spec/runner/formatter/specdoc_formatter.rb +1 -1
  420. data/vendor/plugins/rspec/lib/spec/runner/formatter/story/html_formatter.rb +62 -16
  421. data/vendor/plugins/rspec/lib/spec/runner/formatter/story/plain_text_formatter.rb +81 -18
  422. data/vendor/plugins/rspec/lib/spec/runner/formatter/story/progress_bar_formatter.rb +42 -0
  423. data/vendor/plugins/rspec/lib/spec/runner/heckle_runner.rb +2 -2
  424. data/vendor/plugins/rspec/lib/spec/runner/option_parser.rb +49 -45
  425. data/vendor/plugins/rspec/lib/spec/runner/options.rb +54 -20
  426. data/vendor/plugins/rspec/lib/spec/runner/reporter.rb +36 -12
  427. data/vendor/plugins/rspec/lib/spec/runner/spec_parser.rb +1 -1
  428. data/vendor/plugins/rspec/lib/spec/runner.rb +17 -6
  429. data/vendor/plugins/rspec/lib/spec/story/extensions/regexp.rb +2 -2
  430. data/vendor/plugins/rspec/lib/spec/story/extensions/string.rb +2 -2
  431. data/vendor/plugins/rspec/lib/spec/story/runner/plain_text_story_runner.rb +2 -2
  432. data/vendor/plugins/rspec/lib/spec/story/runner/scenario_runner.rb +8 -0
  433. data/vendor/plugins/rspec/lib/spec/story/runner/story_mediator.rb +15 -1
  434. data/vendor/plugins/rspec/lib/spec/story/runner/story_parser.rb +20 -0
  435. data/vendor/plugins/rspec/lib/spec/story/runner/story_runner.rb +3 -1
  436. data/vendor/plugins/rspec/lib/spec/story/runner.rb +8 -5
  437. data/vendor/plugins/rspec/lib/spec/story/step.rb +43 -31
  438. data/vendor/plugins/rspec/lib/spec/story/step_mother.rb +2 -1
  439. data/vendor/plugins/rspec/lib/spec/story/story.rb +8 -11
  440. data/vendor/plugins/rspec/lib/spec/story/world.rb +6 -3
  441. data/vendor/plugins/rspec/lib/spec/version.rb +13 -22
  442. data/vendor/plugins/rspec/lib/spec.rb +15 -13
  443. data/vendor/plugins/rspec/plugins/mock_frameworks/rspec.rb +2 -0
  444. data/vendor/plugins/rspec/rake_tasks/failing_examples_with_html.rake +1 -1
  445. data/vendor/plugins/rspec/rake_tasks/verify_rcov.rake +2 -2
  446. data/vendor/plugins/rspec/rspec.gemspec +22 -0
  447. data/vendor/plugins/rspec/spec/{autotest_helper.rb → autotest/autotest_helper.rb} +2 -2
  448. data/vendor/plugins/rspec/spec/{autotest_matchers.rb → autotest/autotest_matchers.rb} +0 -0
  449. data/vendor/plugins/rspec/spec/autotest/discover_spec.rb +1 -1
  450. data/vendor/plugins/rspec/spec/autotest/rspec_spec.rb +94 -139
  451. data/vendor/plugins/rspec/spec/rspec_suite.rb +0 -1
  452. data/vendor/plugins/rspec/spec/spec/adapters/ruby_engine_spec.rb +16 -0
  453. data/vendor/plugins/rspec/spec/spec/example/configuration_spec.rb +229 -215
  454. data/vendor/plugins/rspec/spec/spec/example/example_group_class_definition_spec.rb +9 -9
  455. data/vendor/plugins/rspec/spec/spec/example/example_group_factory_spec.rb +137 -101
  456. data/vendor/plugins/rspec/spec/spec/example/example_group_methods_spec.rb +456 -361
  457. data/vendor/plugins/rspec/spec/spec/example/example_group_spec.rb +460 -488
  458. data/vendor/plugins/rspec/spec/spec/example/example_methods_spec.rb +117 -52
  459. data/vendor/plugins/rspec/spec/spec/example/nested_example_group_spec.rb +12 -0
  460. data/vendor/plugins/rspec/spec/spec/example/pending_module_spec.rb +114 -0
  461. data/vendor/plugins/rspec/spec/spec/example/shared_example_group_spec.rb +219 -203
  462. data/vendor/plugins/rspec/spec/spec/expectations/differs/default_spec.rb +27 -9
  463. data/vendor/plugins/rspec/spec/spec/expectations/extensions/object_spec.rb +0 -12
  464. data/vendor/plugins/rspec/spec/spec/extensions/main_spec.rb +23 -28
  465. data/vendor/plugins/rspec/spec/spec/interop/test/unit/resources/spec_with_options_hash.rb +13 -0
  466. data/vendor/plugins/rspec/spec/spec/interop/test/unit/spec_spec.rb +15 -8
  467. data/vendor/plugins/rspec/spec/spec/interop/test/unit/testcase_spec.rb +4 -0
  468. data/vendor/plugins/rspec/spec/spec/matchers/be_spec.rb +24 -0
  469. data/vendor/plugins/rspec/spec/spec/matchers/change_spec.rb +16 -6
  470. data/vendor/plugins/rspec/spec/spec/matchers/handler_spec.rb +58 -37
  471. data/vendor/plugins/rspec/spec/spec/matchers/has_spec.rb +26 -0
  472. data/vendor/plugins/rspec/spec/spec/matchers/have_spec.rb +105 -2
  473. data/vendor/plugins/rspec/spec/spec/matchers/include_spec.rb +19 -0
  474. data/vendor/plugins/rspec/spec/spec/matchers/operator_matcher_spec.rb +35 -2
  475. data/vendor/plugins/rspec/spec/spec/matchers/raise_error_spec.rb +124 -0
  476. data/vendor/plugins/rspec/spec/spec/matchers/respond_to_spec.rb +6 -6
  477. data/vendor/plugins/rspec/spec/spec/matchers/simple_matcher_spec.rb +64 -2
  478. data/vendor/plugins/rspec/spec/spec/mocks/any_number_of_times_spec.rb +7 -0
  479. data/vendor/plugins/rspec/spec/spec/mocks/{bug_report_10263.rb → bug_report_10263_spec.rb} +0 -0
  480. data/vendor/plugins/rspec/spec/spec/mocks/bug_report_11545_spec.rb +2 -0
  481. data/vendor/plugins/rspec/spec/spec/mocks/bug_report_496.rb +17 -0
  482. data/vendor/plugins/rspec/spec/spec/mocks/failing_mock_argument_constraints_spec.rb +10 -30
  483. data/vendor/plugins/rspec/spec/spec/mocks/hash_including_matcher_spec.rb +53 -0
  484. data/vendor/plugins/rspec/spec/spec/mocks/mock_spec.rb +123 -43
  485. data/vendor/plugins/rspec/spec/spec/mocks/nil_expectation_warning_spec.rb +53 -0
  486. data/vendor/plugins/rspec/spec/spec/mocks/null_object_mock_spec.rb +14 -0
  487. data/vendor/plugins/rspec/spec/spec/mocks/options_hash_spec.rb +18 -28
  488. data/vendor/plugins/rspec/spec/spec/mocks/partial_mock_spec.rb +50 -7
  489. data/vendor/plugins/rspec/spec/spec/mocks/passing_mock_argument_constraints_spec.rb +26 -50
  490. data/vendor/plugins/rspec/spec/spec/mocks/stub_spec.rb +7 -0
  491. data/vendor/plugins/rspec/spec/spec/package/bin_spec_spec.rb +8 -0
  492. data/vendor/plugins/rspec/spec/spec/runner/command_line_spec.rb +102 -108
  493. data/vendor/plugins/rspec/spec/spec/runner/drb_command_line_spec.rb +11 -6
  494. data/vendor/plugins/rspec/spec/spec/runner/formatter/base_formatter_spec.rb +112 -0
  495. data/vendor/plugins/rspec/spec/spec/runner/formatter/failing_example_groups_formatter_spec.rb +3 -2
  496. data/vendor/plugins/rspec/spec/spec/runner/formatter/html_formatted-1.8.6.html +30 -25
  497. data/vendor/plugins/rspec/spec/spec/runner/formatter/html_formatter_spec.rb +1 -6
  498. data/vendor/plugins/rspec/spec/spec/runner/formatter/nested_text_formatter_spec.rb +318 -0
  499. data/vendor/plugins/rspec/spec/spec/runner/formatter/progress_bar_formatter_spec.rb +30 -2
  500. data/vendor/plugins/rspec/spec/spec/runner/formatter/spec_mate_formatter_spec.rb +4 -4
  501. data/vendor/plugins/rspec/spec/spec/runner/formatter/specdoc_formatter_spec.rb +133 -100
  502. data/vendor/plugins/rspec/spec/spec/runner/formatter/story/html_formatter_spec.rb +76 -2
  503. data/vendor/plugins/rspec/spec/spec/runner/formatter/story/plain_text_formatter_spec.rb +266 -1
  504. data/vendor/plugins/rspec/spec/spec/runner/formatter/story/progress_bar_formatter_spec.rb +82 -0
  505. data/vendor/plugins/rspec/spec/spec/runner/formatter/text_mate_formatted-1.8.6.html +33 -28
  506. data/vendor/plugins/rspec/spec/spec/runner/heckle_runner_spec.rb +8 -8
  507. data/vendor/plugins/rspec/spec/spec/runner/option_parser_spec.rb +104 -61
  508. data/vendor/plugins/rspec/spec/spec/runner/options_spec.rb +103 -17
  509. data/vendor/plugins/rspec/spec/spec/runner/output_one_time_fixture_runner.rb +1 -1
  510. data/vendor/plugins/rspec/spec/spec/runner/quiet_backtrace_tweaker_spec.rb +6 -0
  511. data/vendor/plugins/rspec/spec/spec/runner/reporter_spec.rb +59 -10
  512. data/vendor/plugins/rspec/spec/spec/runner/spec_drb.opts +1 -0
  513. data/vendor/plugins/rspec/spec/spec/runner/spec_parser_spec.rb +10 -4
  514. data/vendor/plugins/rspec/spec/spec/story/runner/plain_text_story_runner_spec.rb +15 -17
  515. data/vendor/plugins/rspec/spec/spec/story/runner/scenario_runner_spec.rb +124 -52
  516. data/vendor/plugins/rspec/spec/spec/story/runner/story_mediator_spec.rb +12 -2
  517. data/vendor/plugins/rspec/spec/spec/story/runner/story_parser_spec.rb +23 -6
  518. data/vendor/plugins/rspec/spec/spec/story/runner/story_runner_spec.rb +43 -5
  519. data/vendor/plugins/rspec/spec/spec/story/runner_spec.rb +59 -72
  520. data/vendor/plugins/rspec/spec/spec/story/scenario_spec.rb +1 -3
  521. data/vendor/plugins/rspec/spec/spec/story/step_mother_spec.rb +12 -0
  522. data/vendor/plugins/rspec/spec/spec/story/step_spec.rb +76 -4
  523. data/vendor/plugins/rspec/spec/spec/story/story_spec.rb +3 -5
  524. data/vendor/plugins/rspec/spec/spec/story/world_spec.rb +8 -8
  525. data/vendor/plugins/rspec/spec/spec_helper.rb +40 -66
  526. data/vendor/plugins/rspec/stories/all.rb +1 -1
  527. data/vendor/plugins/rspec/stories/configuration/before_blocks.story +21 -0
  528. data/vendor/plugins/rspec/stories/configuration/stories.rb +7 -0
  529. data/vendor/plugins/rspec/stories/mock_framework_integration/stories.rb +7 -0
  530. data/vendor/plugins/rspec/stories/mock_framework_integration/use_flexmock.story +9 -0
  531. data/vendor/plugins/rspec/stories/resources/spec/before_blocks_example.rb +32 -0
  532. data/vendor/plugins/rspec/stories/resources/spec/spec_with_flexmock.rb +18 -0
  533. data/vendor/plugins/rspec/stories/stories/multiline_steps.story +23 -0
  534. data/vendor/plugins/rspec/stories/stories/steps/multiline_steps.rb +13 -0
  535. data/vendor/plugins/rspec/stories/stories/stories.rb +6 -0
  536. data/vendor/plugins/rspec-rails/History.txt +93 -0
  537. data/vendor/plugins/{rspec_on_rails/MIT-LICENSE → rspec-rails/License.txt} +7 -5
  538. data/vendor/plugins/rspec-rails/Manifest.txt +161 -0
  539. data/vendor/plugins/rspec-rails/README.txt +46 -0
  540. data/vendor/plugins/rspec-rails/Rakefile +39 -0
  541. data/vendor/plugins/rspec-rails/UPGRADE +7 -0
  542. data/vendor/plugins/{rspec_on_rails → rspec-rails}/generators/rspec/CHANGES +0 -0
  543. data/vendor/plugins/{rspec_on_rails → rspec-rails}/generators/rspec/rspec_generator.rb +9 -4
  544. data/vendor/plugins/{rspec_on_rails → rspec-rails}/generators/rspec/templates/all_stories.rb +0 -0
  545. data/vendor/plugins/{rspec_on_rails/spec_resources/views/controller_spec/_partial.rhtml → rspec-rails/generators/rspec/templates/previous_failures.txt} +0 -0
  546. data/vendor/plugins/{rspec_on_rails → rspec-rails}/generators/rspec/templates/rcov.opts +0 -0
  547. data/vendor/plugins/{rspec_on_rails/tasks → rspec-rails/generators/rspec/templates}/rspec.rake +6 -11
  548. data/vendor/plugins/rspec-rails/generators/rspec/templates/script/autospec +5 -0
  549. data/vendor/plugins/{rspec_on_rails → rspec-rails}/generators/rspec/templates/script/spec +1 -0
  550. data/vendor/plugins/{rspec_on_rails → rspec-rails}/generators/rspec/templates/script/spec_server +18 -4
  551. data/vendor/plugins/rspec-rails/generators/rspec/templates/spec.opts +4 -0
  552. data/vendor/plugins/{rspec_on_rails → rspec-rails}/generators/rspec/templates/spec_helper.rb +8 -0
  553. data/vendor/plugins/{rspec_on_rails → rspec-rails}/generators/rspec/templates/stories_helper.rb +0 -0
  554. data/vendor/plugins/{rspec_on_rails → rspec-rails}/generators/rspec_controller/USAGE +0 -0
  555. data/vendor/plugins/{rspec_on_rails → rspec-rails}/generators/rspec_controller/rspec_controller_generator.rb +0 -0
  556. data/vendor/plugins/{rspec_on_rails → rspec-rails}/generators/rspec_controller/templates/controller_spec.rb +1 -1
  557. data/vendor/plugins/rspec-rails/generators/rspec_controller/templates/helper_spec.rb +11 -0
  558. data/vendor/plugins/{rspec_on_rails → rspec-rails}/generators/rspec_controller/templates/view_spec.rb +2 -2
  559. data/vendor/plugins/rspec-rails/generators/rspec_default_values.rb +19 -0
  560. data/vendor/plugins/{rspec_on_rails → rspec-rails}/generators/rspec_model/USAGE +0 -0
  561. data/vendor/plugins/{rspec_on_rails → rspec-rails}/generators/rspec_model/rspec_model_generator.rb +7 -2
  562. data/vendor/plugins/rspec-rails/generators/rspec_model/templates/model_spec.rb +15 -0
  563. data/vendor/plugins/{rspec_on_rails → rspec-rails}/generators/rspec_scaffold/rspec_scaffold_generator.rb +2 -15
  564. data/vendor/plugins/rspec-rails/generators/rspec_scaffold/templates/controller_spec.rb +173 -0
  565. data/vendor/plugins/{rspec_on_rails → rspec-rails}/generators/rspec_scaffold/templates/edit_erb_spec.rb +8 -7
  566. data/vendor/plugins/rspec-rails/generators/rspec_scaffold/templates/helper_spec.rb +11 -0
  567. data/vendor/plugins/rspec-rails/generators/rspec_scaffold/templates/index_erb_spec.rb +27 -0
  568. data/vendor/plugins/{rspec_on_rails → rspec-rails}/generators/rspec_scaffold/templates/new_erb_spec.rb +7 -7
  569. data/vendor/plugins/{rspec_on_rails → rspec-rails}/generators/rspec_scaffold/templates/routing_spec.rb +15 -17
  570. data/vendor/plugins/rspec-rails/generators/rspec_scaffold/templates/show_erb_spec.rb +23 -0
  571. data/vendor/plugins/{rspec_on_rails → rspec-rails}/init.rb +0 -0
  572. data/vendor/plugins/{rspec_on_rails → rspec-rails}/lib/autotest/discover.rb +0 -0
  573. data/vendor/plugins/{rspec_on_rails → rspec-rails}/lib/autotest/rails_rspec.rb +1 -6
  574. data/vendor/plugins/rspec-rails/lib/spec/rails/example/assigns_hash_proxy.rb +40 -0
  575. data/vendor/plugins/{rspec_on_rails → rspec-rails}/lib/spec/rails/example/controller_example_group.rb +56 -55
  576. data/vendor/plugins/rspec-rails/lib/spec/rails/example/cookies_proxy.rb +25 -0
  577. data/vendor/plugins/{rspec_on_rails → rspec-rails}/lib/spec/rails/example/functional_example_group.rb +31 -10
  578. data/vendor/plugins/rspec-rails/lib/spec/rails/example/helper_example_group.rb +170 -0
  579. data/vendor/plugins/{rspec_on_rails → rspec-rails}/lib/spec/rails/example/model_example_group.rb +0 -0
  580. data/vendor/plugins/rspec-rails/lib/spec/rails/example/rails_example_group.rb +33 -0
  581. data/vendor/plugins/rspec-rails/lib/spec/rails/example/render_observer.rb +93 -0
  582. data/vendor/plugins/{rspec_on_rails → rspec-rails}/lib/spec/rails/example/view_example_group.rb +18 -6
  583. data/vendor/plugins/{rspec_on_rails → rspec-rails}/lib/spec/rails/example.rb +1 -1
  584. data/vendor/plugins/{rspec_on_rails → rspec-rails}/lib/spec/rails/extensions/action_controller/base.rb +0 -0
  585. data/vendor/plugins/{rspec_on_rails → rspec-rails}/lib/spec/rails/extensions/action_controller/rescue.rb +0 -0
  586. data/vendor/plugins/{rspec_on_rails → rspec-rails}/lib/spec/rails/extensions/action_controller/test_response.rb +0 -0
  587. data/vendor/plugins/{rspec_on_rails → rspec-rails}/lib/spec/rails/extensions/action_view/base.rb +8 -4
  588. data/vendor/plugins/{rspec_on_rails → rspec-rails}/lib/spec/rails/extensions/active_record/base.rb +0 -0
  589. data/vendor/plugins/{rspec_on_rails → rspec-rails}/lib/spec/rails/extensions/object.rb +0 -0
  590. data/vendor/plugins/{rspec_on_rails → rspec-rails}/lib/spec/rails/extensions/spec/example/configuration.rb +6 -1
  591. data/vendor/plugins/{rspec_on_rails → rspec-rails}/lib/spec/rails/extensions/spec/matchers/have.rb +2 -2
  592. data/vendor/plugins/{rspec_on_rails → rspec-rails}/lib/spec/rails/extensions.rb +0 -0
  593. data/vendor/plugins/rspec-rails/lib/spec/rails/interop/testcase.rb +14 -0
  594. data/vendor/plugins/{rspec_on_rails → rspec-rails}/lib/spec/rails/matchers/assert_select.rb +1 -0
  595. data/vendor/plugins/rspec-rails/lib/spec/rails/matchers/change.rb +11 -0
  596. data/vendor/plugins/{rspec_on_rails → rspec-rails}/lib/spec/rails/matchers/have_text.rb +4 -2
  597. data/vendor/plugins/rspec-rails/lib/spec/rails/matchers/include_text.rb +54 -0
  598. data/vendor/plugins/{rspec_on_rails → rspec-rails}/lib/spec/rails/matchers/redirect_to.rb +1 -1
  599. data/vendor/plugins/{rspec_on_rails → rspec-rails}/lib/spec/rails/matchers/render_template.rb +26 -6
  600. data/vendor/plugins/{rspec_on_rails → rspec-rails}/lib/spec/rails/matchers.rb +2 -0
  601. data/vendor/plugins/rspec-rails/lib/spec/rails/mocks.rb +132 -0
  602. data/vendor/plugins/{rspec_on_rails → rspec-rails}/lib/spec/rails/story_adapter.rb +11 -3
  603. data/vendor/plugins/rspec-rails/lib/spec/rails/version.rb +15 -0
  604. data/vendor/plugins/rspec-rails/lib/spec/rails.rb +15 -0
  605. data/vendor/plugins/rspec-rails/rspec-rails.gemspec +28 -0
  606. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec/rails/autotest/mappings_spec.rb +1 -1
  607. data/vendor/plugins/rspec-rails/spec/rails/example/assigns_hash_proxy_spec.rb +96 -0
  608. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec/rails/example/configuration_spec.rb +0 -0
  609. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec/rails/example/controller_isolation_spec.rb +20 -1
  610. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec/rails/example/controller_spec_spec.rb +119 -27
  611. data/vendor/plugins/rspec-rails/spec/rails/example/cookies_proxy_spec.rb +74 -0
  612. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec/rails/example/example_group_factory_spec.rb +0 -0
  613. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec/rails/example/helper_spec_spec.rb +60 -4
  614. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec/rails/example/model_spec_spec.rb +0 -0
  615. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec/rails/example/shared_behaviour_spec.rb +0 -0
  616. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec/rails/example/test_unit_assertion_accessibility_spec.rb +0 -0
  617. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec/rails/example/view_spec_spec.rb +75 -51
  618. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec/rails/extensions/action_controller_rescue_action_spec.rb +0 -0
  619. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec/rails/extensions/action_view_base_spec.rb +10 -10
  620. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec/rails/extensions/active_record_spec.rb +0 -0
  621. data/vendor/plugins/rspec-rails/spec/rails/interop/testcase_spec.rb +66 -0
  622. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec/rails/matchers/assert_select_spec.rb +34 -3
  623. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec/rails/matchers/description_generation_spec.rb +0 -0
  624. data/vendor/plugins/rspec-rails/spec/rails/matchers/errors_on_spec.rb +25 -0
  625. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec/rails/matchers/have_text_spec.rb +0 -0
  626. data/vendor/plugins/rspec-rails/spec/rails/matchers/include_text_spec.rb +64 -0
  627. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec/rails/matchers/redirect_to_spec.rb +7 -1
  628. data/vendor/plugins/{rspec_on_rails/spec/rails/matchers/render_spec.rb → rspec-rails/spec/rails/matchers/render_template_spec.rb} +21 -14
  629. data/vendor/plugins/rspec-rails/spec/rails/matchers/should_change_spec.rb +15 -0
  630. data/vendor/plugins/rspec-rails/spec/rails/mocks/ar_classes.rb +10 -0
  631. data/vendor/plugins/rspec-rails/spec/rails/mocks/mock_model_spec.rb +106 -0
  632. data/vendor/plugins/rspec-rails/spec/rails/mocks/stub_model_spec.rb +80 -0
  633. data/vendor/plugins/rspec-rails/spec/rails/sample_modified_fixture.rb +8 -0
  634. data/vendor/plugins/rspec-rails/spec/rails/sample_spec.rb +8 -0
  635. data/vendor/plugins/rspec-rails/spec/rails/spec_server_spec.rb +96 -0
  636. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec/rails/spec_spec.rb +0 -0
  637. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec/rails_suite.rb +0 -0
  638. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec/spec_helper.rb +13 -1
  639. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/controllers/action_view_base_spec_controller.rb +0 -0
  640. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/controllers/controller_spec_controller.rb +46 -3
  641. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/controllers/redirect_spec_controller.rb +0 -0
  642. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/controllers/render_spec_controller.rb +4 -0
  643. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/controllers/rjs_spec_controller.rb +0 -0
  644. data/vendor/plugins/rspec-rails/spec_resources/helpers/addition_helper.rb +5 -0
  645. data/vendor/plugins/rspec-rails/spec_resources/helpers/explicit_helper.rb +38 -0
  646. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/helpers/more_explicit_helper.rb +0 -0
  647. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/helpers/plugin_application_helper.rb +0 -0
  648. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/helpers/view_spec_helper.rb +0 -0
  649. data/vendor/plugins/{rspec_on_rails/spec_resources/views/controller_spec/action_setting_the_assigns_hash.rhtml → rspec-rails/spec_resources/views/controller_spec/_partial.rhtml} +0 -0
  650. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/controller_spec/action_setting_flash_after_session_reset.rhtml +0 -0
  651. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/controller_spec/action_setting_flash_before_session_reset.rhtml +0 -0
  652. data/vendor/plugins/{rspec_on_rails/spec_resources/views/render_spec/_a_partial.rhtml → rspec-rails/spec_resources/views/controller_spec/action_setting_the_assigns_hash.rhtml} +0 -0
  653. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/controller_spec/action_with_errors_in_template.rhtml +0 -0
  654. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/controller_spec/action_with_template.rhtml +0 -0
  655. data/vendor/plugins/{rspec_on_rails/spec_resources/views/render_spec/some_action.rhtml → rspec-rails/spec_resources/views/layouts/application.rhtml} +0 -0
  656. data/vendor/plugins/{rspec_on_rails/spec_resources/views/view_spec/_partial_used_twice.rhtml → rspec-rails/spec_resources/views/layouts/simple.rhtml} +0 -0
  657. data/vendor/plugins/rspec-rails/spec_resources/views/objects/_object.html.erb +1 -0
  658. data/vendor/plugins/rspec-rails/spec_resources/views/render_spec/_a_partial.rhtml +0 -0
  659. data/vendor/plugins/rspec-rails/spec_resources/views/render_spec/action_with_alternate_layout.rhtml +0 -0
  660. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/render_spec/some_action.js.rjs +0 -0
  661. data/vendor/plugins/rspec-rails/spec_resources/views/render_spec/some_action.rhtml +0 -0
  662. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/render_spec/some_action.rjs +0 -0
  663. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/rjs_spec/_replacement_partial.rhtml +0 -0
  664. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/rjs_spec/hide_div.rjs +0 -0
  665. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/rjs_spec/hide_page_element.rjs +0 -0
  666. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/rjs_spec/insert_html.rjs +0 -0
  667. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/rjs_spec/replace.rjs +0 -0
  668. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/rjs_spec/replace_html.rjs +0 -0
  669. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/rjs_spec/replace_html_with_partial.rjs +0 -0
  670. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/rjs_spec/visual_effect.rjs +0 -0
  671. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/rjs_spec/visual_toggle_effect.rjs +0 -0
  672. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/tag_spec/no_tags.rhtml +0 -0
  673. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/tag_spec/single_div_with_no_attributes.rhtml +0 -0
  674. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/tag_spec/single_div_with_one_attribute.rhtml +0 -0
  675. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/view_spec/_partial.rhtml +0 -0
  676. data/vendor/plugins/rspec-rails/spec_resources/views/view_spec/_partial_used_twice.rhtml +0 -0
  677. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/view_spec/_partial_with_local_variable.rhtml +0 -0
  678. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/view_spec/_partial_with_sub_partial.rhtml +0 -0
  679. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/view_spec/_spacer.rhtml +0 -0
  680. data/vendor/plugins/rspec-rails/spec_resources/views/view_spec/accessor.rhtml +5 -0
  681. data/vendor/plugins/rspec-rails/spec_resources/views/view_spec/block_helper.rhtml +3 -0
  682. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/view_spec/entry_form.rhtml +0 -0
  683. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/view_spec/explicit_helper.rhtml +0 -0
  684. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/view_spec/foo/show.rhtml +0 -0
  685. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/view_spec/implicit_helper.rhtml +0 -0
  686. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/view_spec/multiple_helpers.rhtml +0 -0
  687. data/vendor/plugins/rspec-rails/spec_resources/views/view_spec/should_not_receive.rhtml +3 -0
  688. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/view_spec/template_with_partial.rhtml +0 -0
  689. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/view_spec/template_with_partial_using_collection.rhtml +0 -0
  690. data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/view_spec/template_with_partial_with_array.rhtml +0 -0
  691. data/vendor/plugins/{rspec_on_rails → rspec-rails}/stories/all.rb +0 -0
  692. data/vendor/plugins/rspec-rails/stories/configuration/stories.rb +5 -0
  693. data/vendor/plugins/{rspec_on_rails → rspec-rails}/stories/helper.rb +1 -0
  694. data/vendor/plugins/{rspec_on_rails → rspec-rails}/stories/steps/people.rb +0 -0
  695. data/vendor/plugins/{rspec_on_rails → rspec-rails}/stories/transactions_should_rollback +0 -0
  696. data/vendor/plugins/{rspec_on_rails → rspec-rails}/stories/transactions_should_rollback.rb +0 -0
  697. data/vendor/plugins/typo_textfilter_code/lib/typo_textfilter_code.rb +25 -20
  698. data/vendor/plugins/typo_textfilter_flickr/lib/typo_textfilter_flickr.rb +1 -1
  699. data/vendor/plugins/typo_textfilter_lightbox/lib/typo_textfilter_lightbox.rb +1 -1
  700. data/vendor/plugins/will_paginate/.manifest +49 -0
  701. data/vendor/plugins/will_paginate/CHANGELOG.rdoc +110 -0
  702. data/vendor/plugins/will_paginate/LICENSE +18 -0
  703. data/vendor/plugins/will_paginate/README.rdoc +107 -0
  704. data/vendor/plugins/will_paginate/Rakefile +62 -0
  705. data/vendor/plugins/will_paginate/examples/apple-circle.gif +0 -0
  706. data/vendor/plugins/will_paginate/examples/index.haml +69 -0
  707. data/vendor/plugins/will_paginate/examples/index.html +92 -0
  708. data/vendor/plugins/will_paginate/examples/pagination.css +90 -0
  709. data/vendor/plugins/will_paginate/examples/pagination.sass +91 -0
  710. data/vendor/plugins/will_paginate/init.rb +1 -0
  711. data/vendor/plugins/will_paginate/lib/will_paginate/array.rb +16 -0
  712. data/vendor/plugins/will_paginate/lib/will_paginate/collection.rb +146 -0
  713. data/vendor/plugins/will_paginate/lib/will_paginate/core_ext.rb +32 -0
  714. data/vendor/plugins/will_paginate/lib/will_paginate/finder.rb +260 -0
  715. data/vendor/plugins/will_paginate/lib/will_paginate/named_scope.rb +170 -0
  716. data/vendor/plugins/will_paginate/lib/will_paginate/named_scope_patch.rb +37 -0
  717. data/vendor/plugins/will_paginate/lib/will_paginate/version.rb +9 -0
  718. data/vendor/plugins/will_paginate/lib/will_paginate/view_helpers.rb +383 -0
  719. data/vendor/plugins/will_paginate/lib/will_paginate.rb +82 -0
  720. data/vendor/plugins/will_paginate/test/boot.rb +21 -0
  721. data/vendor/plugins/will_paginate/test/collection_test.rb +143 -0
  722. data/vendor/plugins/will_paginate/test/console +8 -0
  723. data/vendor/plugins/will_paginate/test/database.yml +22 -0
  724. data/vendor/plugins/will_paginate/test/finder_test.rb +476 -0
  725. data/vendor/plugins/will_paginate/test/fixtures/admin.rb +3 -0
  726. data/vendor/plugins/will_paginate/test/fixtures/developer.rb +14 -0
  727. data/vendor/plugins/{classic_pagination → will_paginate}/test/fixtures/developers_projects.yml +0 -0
  728. data/vendor/plugins/will_paginate/test/fixtures/project.rb +15 -0
  729. data/vendor/plugins/{classic_pagination → will_paginate}/test/fixtures/projects.yml +3 -4
  730. data/vendor/plugins/will_paginate/test/fixtures/replies.yml +29 -0
  731. data/vendor/plugins/{classic_pagination → will_paginate}/test/fixtures/reply.rb +2 -0
  732. data/vendor/plugins/will_paginate/test/fixtures/schema.rb +38 -0
  733. data/vendor/plugins/will_paginate/test/fixtures/topic.rb +10 -0
  734. data/vendor/plugins/{classic_pagination → will_paginate}/test/fixtures/topics.yml +9 -1
  735. data/vendor/plugins/will_paginate/test/fixtures/user.rb +2 -0
  736. data/vendor/plugins/{classic_pagination/test/fixtures/developers.yml → will_paginate/test/fixtures/users.yml} +15 -1
  737. data/vendor/plugins/will_paginate/test/helper.rb +37 -0
  738. data/vendor/plugins/will_paginate/test/lib/activerecord_test_case.rb +36 -0
  739. data/vendor/plugins/will_paginate/test/lib/activerecord_test_connector.rb +73 -0
  740. data/vendor/plugins/will_paginate/test/lib/load_fixtures.rb +11 -0
  741. data/vendor/plugins/will_paginate/test/lib/view_test_process.rb +165 -0
  742. data/vendor/plugins/will_paginate/test/tasks.rake +59 -0
  743. data/vendor/plugins/will_paginate/test/view_test.rb +363 -0
  744. data/vendor/plugins/will_paginate/will_paginate.gemspec +22 -0
  745. data/vendor/plugins/xml_sidebar/views/content.rhtml +3 -3
  746. metadata +614 -542
  747. data/CHANGES-5.1.3 +0 -21
  748. data/app/controllers/admin/comments_controller.rb +0 -57
  749. data/app/controllers/admin/trackbacks_controller.rb +0 -45
  750. data/app/views/accounts/logout.html.erb +0 -12
  751. data/app/views/accounts/welcome.html.erb +0 -13
  752. data/app/views/admin/categories/_quick_post.html.erb +0 -11
  753. data/app/views/admin/categories/edit.html.erb +0 -11
  754. data/app/views/admin/comments/destroy.html.erb +0 -11
  755. data/app/views/admin/comments/edit.html.erb +0 -14
  756. data/app/views/admin/comments/index.html.erb +0 -30
  757. data/app/views/admin/comments/show.html.erb +0 -28
  758. data/app/views/admin/content/_articles.html.erb +0 -47
  759. data/app/views/admin/content/_pages.html.erb +0 -3
  760. data/app/views/admin/content/edit.html.erb +0 -3
  761. data/app/views/admin/pages/_quick_post.html.erb +0 -21
  762. data/app/views/admin/settings/podcast.html.erb +0 -44
  763. data/app/views/admin/settings/spam.html.erb +0 -42
  764. data/app/views/admin/textfilters/_form.html.erb +0 -60
  765. data/app/views/admin/textfilters/_macros.html.erb +0 -16
  766. data/app/views/admin/textfilters/_textfilters.html.erb +0 -20
  767. data/app/views/admin/textfilters/destroy.html.erb +0 -10
  768. data/app/views/admin/textfilters/edit.html.erb +0 -14
  769. data/app/views/admin/textfilters/index.html.erb +0 -12
  770. data/app/views/admin/textfilters/macro_help.html.erb +0 -3
  771. data/app/views/admin/textfilters/new.html.erb +0 -12
  772. data/app/views/admin/textfilters/preview.html.erb +0 -3
  773. data/app/views/admin/textfilters/show.html.erb +0 -29
  774. data/app/views/admin/textfilters/show_help.html.erb +0 -4
  775. data/app/views/admin/trackbacks/_form.html.erb +0 -19
  776. data/app/views/admin/trackbacks/destroy.html.erb +0 -6
  777. data/app/views/admin/trackbacks/edit.html.erb +0 -11
  778. data/app/views/admin/trackbacks/index.html.erb +0 -22
  779. data/app/views/admin/trackbacks/show.html.erb +0 -14
  780. data/app/views/admin/users/_user.html.erb +0 -20
  781. data/doc/typo-4.0-release-notes.txt +0 -135
  782. data/public/images/admin/arrow_comment_group.gif +0 -0
  783. data/public/images/admin/bc-bg.gif +0 -0
  784. data/public/images/admin/bgdivider.png +0 -0
  785. data/public/images/admin/bgoff.png +0 -0
  786. data/public/images/admin/bgover.png +0 -0
  787. data/public/images/admin/bgselected.png +0 -0
  788. data/public/images/admin/cancel.png +0 -0
  789. data/public/images/admin/checked.png +0 -0
  790. data/public/images/admin/delete.png +0 -0
  791. data/public/images/admin/edit.png +0 -0
  792. data/public/images/admin/help.png +0 -0
  793. data/public/images/admin/loginformbg.png +0 -0
  794. data/public/images/admin/show.png +0 -0
  795. data/public/images/admin/table-header-first.png +0 -0
  796. data/public/stylesheets/typo_code.css +0 -62
  797. data/spec/controllers/admin/comments_controller_spec.rb +0 -74
  798. data/spec/controllers/admin/trackbacks_controller_spec.rb +0 -57
  799. data/spec/helpers/admin_base_helper_spec.rb +0 -13
  800. data/themes/dirtylicious/views/shared/_search.html.erb +0 -16
  801. data/themes/scribbish/views/shared/_search.html.erb +0 -16
  802. data/themes/standard_issue/views/shared/_search.html.erb +0 -17
  803. data/themes/typographic/views/shared/_search.html.erb +0 -17
  804. data/vendor/plugins/classic_pagination/CHANGELOG +0 -152
  805. data/vendor/plugins/classic_pagination/README +0 -18
  806. data/vendor/plugins/classic_pagination/init.rb +0 -33
  807. data/vendor/plugins/classic_pagination/install.rb +0 -1
  808. data/vendor/plugins/classic_pagination/lib/pagination.rb +0 -405
  809. data/vendor/plugins/classic_pagination/lib/pagination_helper.rb +0 -135
  810. data/vendor/plugins/classic_pagination/test/fixtures/companies.yml +0 -24
  811. data/vendor/plugins/classic_pagination/test/fixtures/company.rb +0 -9
  812. data/vendor/plugins/classic_pagination/test/fixtures/developer.rb +0 -7
  813. data/vendor/plugins/classic_pagination/test/fixtures/project.rb +0 -3
  814. data/vendor/plugins/classic_pagination/test/fixtures/replies.yml +0 -13
  815. data/vendor/plugins/classic_pagination/test/fixtures/schema.sql +0 -42
  816. data/vendor/plugins/classic_pagination/test/fixtures/topic.rb +0 -3
  817. data/vendor/plugins/classic_pagination/test/helper.rb +0 -117
  818. data/vendor/plugins/classic_pagination/test/pagination_helper_test.rb +0 -38
  819. data/vendor/plugins/classic_pagination/test/pagination_test.rb +0 -177
  820. data/vendor/plugins/rspec/README +0 -71
  821. data/vendor/plugins/rspec/TODO +0 -2
  822. data/vendor/plugins/rspec/UPGRADE +0 -31
  823. data/vendor/plugins/rspec/autotest/discover.rb +0 -6
  824. data/vendor/plugins/rspec/autotest/rspec.rb +0 -1
  825. data/vendor/plugins/rspec/bin/spec_translator +0 -8
  826. data/vendor/plugins/rspec/lib/spec/mocks/argument_constraint_matchers.rb +0 -27
  827. data/vendor/plugins/rspec/lib/spec/translator.rb +0 -114
  828. data/vendor/plugins/rspec/pre_commit/lib/pre_commit/core.rb +0 -50
  829. data/vendor/plugins/rspec/pre_commit/lib/pre_commit/pre_commit.rb +0 -54
  830. data/vendor/plugins/rspec/pre_commit/lib/pre_commit/rspec.rb +0 -111
  831. data/vendor/plugins/rspec/pre_commit/lib/pre_commit/rspec_on_rails.rb +0 -313
  832. data/vendor/plugins/rspec/pre_commit/lib/pre_commit.rb +0 -4
  833. data/vendor/plugins/rspec/pre_commit/spec/pre_commit/pre_commit_spec.rb +0 -15
  834. data/vendor/plugins/rspec/pre_commit/spec/pre_commit/rspec_on_rails_spec.rb +0 -36
  835. data/vendor/plugins/rspec/pre_commit/spec/spec_helper.rb +0 -3
  836. data/vendor/plugins/rspec/pre_commit/spec/spec_suite.rb +0 -11
  837. data/vendor/plugins/rspec/report.html +0 -4358
  838. data/vendor/plugins/rspec/spec/spec/example/example_spec.rb +0 -53
  839. data/vendor/plugins/rspec/spec/spec/runner/execution_context_spec.rb +0 -31
  840. data/vendor/plugins/rspec/spec/spec/translator_spec.rb +0 -265
  841. data/vendor/plugins/rspec_on_rails/README +0 -3
  842. data/vendor/plugins/rspec_on_rails/Rakefile +0 -9
  843. data/vendor/plugins/rspec_on_rails/generators/rspec/templates/spec.opts +0 -6
  844. data/vendor/plugins/rspec_on_rails/generators/rspec_controller/templates/helper_spec.rb +0 -11
  845. data/vendor/plugins/rspec_on_rails/generators/rspec_model/templates/model_spec.rb +0 -11
  846. data/vendor/plugins/rspec_on_rails/generators/rspec_scaffold/templates/controller_spec.rb +0 -313
  847. data/vendor/plugins/rspec_on_rails/generators/rspec_scaffold/templates/helper_spec.rb +0 -11
  848. data/vendor/plugins/rspec_on_rails/generators/rspec_scaffold/templates/index_erb_spec.rb +0 -22
  849. data/vendor/plugins/rspec_on_rails/generators/rspec_scaffold/templates/show_erb_spec.rb +0 -22
  850. data/vendor/plugins/rspec_on_rails/lib/spec/rails/example/assigns_hash_proxy.rb +0 -42
  851. data/vendor/plugins/rspec_on_rails/lib/spec/rails/example/helper_example_group.rb +0 -82
  852. data/vendor/plugins/rspec_on_rails/lib/spec/rails/example/ivar_proxy.rb +0 -62
  853. data/vendor/plugins/rspec_on_rails/lib/spec/rails/example/rails_example_group.rb +0 -68
  854. data/vendor/plugins/rspec_on_rails/lib/spec/rails/example/render_observer.rb +0 -90
  855. data/vendor/plugins/rspec_on_rails/lib/spec/rails/version.rb +0 -23
  856. data/vendor/plugins/rspec_on_rails/lib/spec/rails.rb +0 -51
  857. data/vendor/plugins/rspec_on_rails/spec/rails/autotest/rails_rspec_spec.rb +0 -8
  858. data/vendor/plugins/rspec_on_rails/spec/rails/example/assigns_hash_proxy_spec.rb +0 -55
  859. data/vendor/plugins/rspec_on_rails/spec/rails/example/ivar_proxy_spec.rb +0 -64
  860. data/vendor/plugins/rspec_on_rails/spec/rails/matchers/errors_on_spec.rb +0 -13
  861. data/vendor/plugins/rspec_on_rails/spec/rails/mocks/mock_model_spec.rb +0 -65
  862. data/vendor/plugins/rspec_on_rails/spec/rails/sample_spec.rb +0 -7
  863. data/vendor/plugins/rspec_on_rails/spec/rails/spec_server_spec.rb +0 -89
  864. data/vendor/plugins/rspec_on_rails/spec_resources/helpers/explicit_helper.rb +0 -10
  865. data/vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/accessor.rhtml +0 -3
  866. data/vendor/syntax/LICENSE +0 -27
  867. data/vendor/syntax/NEWS +0 -16
  868. data/vendor/syntax/README +0 -38
  869. data/vendor/syntax/Rakefile +0 -194
  870. data/vendor/syntax/api/classes/Syntax/Convertors/Abstract.html +0 -159
  871. data/vendor/syntax/api/classes/Syntax/Convertors/HTML.html +0 -149
  872. data/vendor/syntax/api/classes/Syntax/Convertors.html +0 -91
  873. data/vendor/syntax/api/classes/Syntax/Default.html +0 -123
  874. data/vendor/syntax/api/classes/Syntax/Ruby.html +0 -319
  875. data/vendor/syntax/api/classes/Syntax/Token.html +0 -151
  876. data/vendor/syntax/api/classes/Syntax/Tokenizer.html +0 -324
  877. data/vendor/syntax/api/classes/Syntax/Version.html +0 -109
  878. data/vendor/syntax/api/classes/Syntax/XML.html +0 -205
  879. data/vendor/syntax/api/classes/Syntax/YAML.html +0 -189
  880. data/vendor/syntax/api/classes/Syntax.html +0 -173
  881. data/vendor/syntax/api/created.rid +0 -1
  882. data/vendor/syntax/api/files/README.html +0 -155
  883. data/vendor/syntax/api/files/lib/syntax/common_rb.html +0 -96
  884. data/vendor/syntax/api/files/lib/syntax/convertors/abstract_rb.html +0 -96
  885. data/vendor/syntax/api/files/lib/syntax/convertors/html_rb.html +0 -96
  886. data/vendor/syntax/api/files/lib/syntax/lang/ruby_rb.html +0 -96
  887. data/vendor/syntax/api/files/lib/syntax/lang/xml_rb.html +0 -96
  888. data/vendor/syntax/api/files/lib/syntax/lang/yaml_rb.html +0 -96
  889. data/vendor/syntax/api/files/lib/syntax/version_rb.html +0 -92
  890. data/vendor/syntax/api/files/lib/syntax_rb.html +0 -96
  891. data/vendor/syntax/api/fr_class_index.html +0 -56
  892. data/vendor/syntax/api/fr_file_index.html +0 -54
  893. data/vendor/syntax/api/fr_method_index.html +0 -65
  894. data/vendor/syntax/api/index.html +0 -26
  895. data/vendor/syntax/api/rdoc-style.css +0 -175
  896. data/vendor/syntax/doc/manual/chapter.erb +0 -38
  897. data/vendor/syntax/doc/manual/example.erb +0 -18
  898. data/vendor/syntax/doc/manual/index.erb +0 -29
  899. data/vendor/syntax/doc/manual/manual.rb +0 -311
  900. data/vendor/syntax/doc/manual/manual.yml +0 -43
  901. data/vendor/syntax/doc/manual/page.erb +0 -87
  902. data/vendor/syntax/doc/manual/parts/0000.txt +0 -5
  903. data/vendor/syntax/doc/manual/parts/0001.txt +0 -16
  904. data/vendor/syntax/doc/manual/parts/0002.txt +0 -24
  905. data/vendor/syntax/doc/manual/parts/0003.txt +0 -6
  906. data/vendor/syntax/doc/manual/parts/0004.txt +0 -32
  907. data/vendor/syntax/doc/manual/parts/0005.txt +0 -18
  908. data/vendor/syntax/doc/manual/parts/0006.txt +0 -62
  909. data/vendor/syntax/doc/manual/parts/0007.txt +0 -3
  910. data/vendor/syntax/doc/manual/parts/0008.txt +0 -5
  911. data/vendor/syntax/doc/manual/parts/0009.txt +0 -29
  912. data/vendor/syntax/doc/manual/parts/0010.txt +0 -21
  913. data/vendor/syntax/doc/manual/stylesheets/manual.css +0 -270
  914. data/vendor/syntax/doc/manual/stylesheets/ruby.css +0 -17
  915. data/vendor/syntax/doc/manual/tutorial.erb +0 -30
  916. data/vendor/syntax/doc/manual-html/chapter-1.html +0 -198
  917. data/vendor/syntax/doc/manual-html/chapter-2.html +0 -262
  918. data/vendor/syntax/doc/manual-html/chapter-3.html +0 -266
  919. data/vendor/syntax/doc/manual-html/chapter-4.html +0 -267
  920. data/vendor/syntax/doc/manual-html/index.html +0 -152
  921. data/vendor/syntax/doc/manual-html/stylesheets/manual.css +0 -270
  922. data/vendor/syntax/doc/manual-html/stylesheets/ruby.css +0 -17
  923. data/vendor/syntax/lib/syntax/common.rb +0 -163
  924. data/vendor/syntax/lib/syntax/convertors/abstract.rb +0 -27
  925. data/vendor/syntax/lib/syntax/convertors/html.rb +0 -51
  926. data/vendor/syntax/lib/syntax/lang/ruby.rb +0 -317
  927. data/vendor/syntax/lib/syntax/lang/xml.rb +0 -108
  928. data/vendor/syntax/lib/syntax/lang/yaml.rb +0 -105
  929. data/vendor/syntax/lib/syntax/version.rb +0 -9
  930. data/vendor/syntax/lib/syntax.rb +0 -38
  931. data/vendor/syntax/setup.rb +0 -1331
  932. data/vendor/syntax/syntax.gemspec +0 -24
  933. data/vendor/syntax/test/ALL-TESTS.rb +0 -5
  934. data/vendor/syntax/test/syntax/tc_ruby.rb +0 -871
  935. data/vendor/syntax/test/syntax/tc_xml.rb +0 -202
  936. data/vendor/syntax/test/syntax/tc_yaml.rb +0 -228
  937. data/vendor/syntax/test/syntax/tokenizer_testcase.rb +0 -40
  938. data/vendor/syntax/test/tc_syntax.rb +0 -22
@@ -1,4358 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
5
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6
- <head>
7
- <title>RSpec results</title>
8
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
- <meta http-equiv="Expires" content="-1" />
10
- <meta http-equiv="Pragma" content="no-cache" />
11
- <style type="text/css">
12
- body {
13
- margin: 0;
14
- padding: 0;
15
- background: #fff;
16
- font-size: 80%;
17
- }
18
- </style>
19
- </head>
20
- <body>
21
- <div class="rspec-report">
22
- <script type="text/javascript">
23
- // <![CDATA[
24
- function moveProgressBar(percentDone) {
25
- document.getElementById("rspec-header").style.width = percentDone +"%";
26
- }
27
- function makeRed(element_id) {
28
- document.getElementById(element_id).style.background = '#C40D0D';
29
- document.getElementById(element_id).style.color = '#FFFFFF';
30
- }
31
-
32
- function makeYellow(element_id) {
33
- if (element_id == "rspec-header" && document.getElementById(element_id).style.background != '#C40D0D')
34
- {
35
- document.getElementById(element_id).style.background = '#FAF834';
36
- document.getElementById(element_id).style.color = '#000000';
37
- }
38
- else
39
- {
40
- document.getElementById(element_id).style.background = '#FAF834';
41
- document.getElementById(element_id).style.color = '#000000';
42
- }
43
- }
44
-
45
- // ]]>
46
- </script>
47
- <style type="text/css">
48
- #rspec-header {
49
- background: #65C400; color: #fff;
50
- }
51
-
52
- .rspec-report h1 {
53
- margin: 0px 10px 0px 10px;
54
- padding: 10px;
55
- font-family: "Lucida Grande", Helvetica, sans-serif;
56
- font-size: 1.8em;
57
- }
58
-
59
- #summary {
60
- margin: 0; padding: 5px 10px;
61
- font-family: "Lucida Grande", Helvetica, sans-serif;
62
- text-align: right;
63
- position: absolute;
64
- top: 0px;
65
- right: 0px;
66
- }
67
-
68
- #summary p {
69
- margin: 0 0 0 2px;
70
- }
71
-
72
- #summary #totals {
73
- font-size: 1.2em;
74
- }
75
-
76
- .example_group {
77
- margin: 0 10px 5px;
78
- background: #fff;
79
- }
80
-
81
- dl {
82
- margin: 0; padding: 0 0 5px;
83
- font: normal 11px "Lucida Grande", Helvetica, sans-serif;
84
- }
85
-
86
- dt {
87
- padding: 3px;
88
- background: #65C400;
89
- color: #fff;
90
- font-weight: bold;
91
- }
92
-
93
- dd {
94
- margin: 5px 0 5px 5px;
95
- padding: 3px 3px 3px 18px;
96
- }
97
-
98
- dd.spec.passed {
99
- border-left: 5px solid #65C400;
100
- border-bottom: 1px solid #65C400;
101
- background: #DBFFB4; color: #3D7700;
102
- }
103
-
104
- dd.spec.failed {
105
- border-left: 5px solid #C20000;
106
- border-bottom: 1px solid #C20000;
107
- color: #C20000; background: #FFFBD3;
108
- }
109
-
110
- dd.spec.not_implemented {
111
- border-left: 5px solid #FAF834;
112
- border-bottom: 1px solid #FAF834;
113
- background: #FCFB98; color: #131313;
114
- }
115
-
116
- dd.spec.pending_fixed {
117
- border-left: 5px solid #0000C2;
118
- border-bottom: 1px solid #0000C2;
119
- color: #0000C2; background: #D3FBFF;
120
- }
121
-
122
- .backtrace {
123
- color: #000;
124
- font-size: 12px;
125
- }
126
-
127
- a {
128
- color: #BE5C00;
129
- }
130
-
131
- /* Ruby code, style similar to vibrant ink */
132
- .ruby {
133
- font-size: 12px;
134
- font-family: monospace;
135
- color: white;
136
- background-color: black;
137
- padding: 0.1em 0 0.2em 0;
138
- }
139
-
140
- .ruby .keyword { color: #FF6600; }
141
- .ruby .constant { color: #339999; }
142
- .ruby .attribute { color: white; }
143
- .ruby .global { color: white; }
144
- .ruby .module { color: white; }
145
- .ruby .class { color: white; }
146
- .ruby .string { color: #66FF00; }
147
- .ruby .ident { color: white; }
148
- .ruby .method { color: #FFCC00; }
149
- .ruby .number { color: white; }
150
- .ruby .char { color: white; }
151
- .ruby .comment { color: #9933CC; }
152
- .ruby .symbol { color: white; }
153
- .ruby .regex { color: #44B4CC; }
154
- .ruby .punct { color: white; }
155
- .ruby .escape { color: white; }
156
- .ruby .interp { color: white; }
157
- .ruby .expr { color: white; }
158
-
159
- .ruby .offending { background-color: gray; }
160
- .ruby .linenum {
161
- width: 75px;
162
- padding: 0.1em 1em 0.2em 0;
163
- color: #000000;
164
- background-color: #FFFBD3;
165
- }
166
-
167
- </style>
168
-
169
- <div id="rspec-header">
170
- <h1>RSpec Results</h1>
171
-
172
- <div id="summary">
173
- <p id="totals">&nbsp;</p>
174
- <p id="duration">&nbsp;</p>
175
- </div>
176
- </div>
177
-
178
- <div class="results">
179
- <div class="example_group">
180
- <dl>
181
- <dt id="example_group_1">Autotest::Rspec discovery</dt>
182
- <script type="text/javascript">moveProgressBar('0.0');</script>
183
- <dd class="spec passed"><span class="passed_spec_name">should add the rspec autotest plugin</span></dd>
184
- </dl>
185
- </div>
186
- <div class="example_group">
187
- <dl>
188
- <dt id="example_group_2">Autotest::Rspec rspec_commands</dt>
189
- <script type="text/javascript">moveProgressBar('0.1');</script>
190
- <dd class="spec passed"><span class="passed_spec_name">should contain the various commands, ordered by preference</span></dd>
191
- </dl>
192
- </div>
193
- <div class="example_group">
194
- <dl>
195
- <dt id="example_group_3">Autotest::Rspec selection of rspec command</dt>
196
- <script type="text/javascript">moveProgressBar('0.2');</script>
197
- <dd class="spec passed"><span class="passed_spec_name">should try to find the spec command if it exists in ./bin and use it above everything else</span></dd>
198
- <script type="text/javascript">moveProgressBar('0.3');</script>
199
- <dd class="spec passed"><span class="passed_spec_name">should otherwise select the default spec command in gem_dir/bin/spec</span></dd>
200
- <script type="text/javascript">moveProgressBar('0.4');</script>
201
- <dd class="spec passed"><span class="passed_spec_name">should raise an error if no spec command is found at all</span></dd>
202
- </dl>
203
- </div>
204
- <div class="example_group">
205
- <dl>
206
- <dt id="example_group_4">Autotest::Rspec selection of rspec command (windows compatibility issues)</dt>
207
- <script type="text/javascript">makeYellow('rspec-header');</script>
208
- <script type="text/javascript">makeYellow('example_group_4');</script>
209
- <script type="text/javascript">moveProgressBar('0.4');</script>
210
- <dd class="spec not_implemented"><span class="not_implemented_spec_name">should use the ALT_SEPARATOR if it is non-nil (PENDING: autotest got re-worked so this is failing for the moment)</span></dd>
211
- <script type="text/javascript">moveProgressBar('0.5');</script>
212
- <dd class="spec passed"><span class="passed_spec_name">should not use the ALT_SEPATOR if it is nil</span></dd>
213
- </dl>
214
- </div>
215
- <div class="example_group">
216
- <dl>
217
- <dt id="example_group_5">Autotest::Rspec adding spec.opts --options</dt>
218
- <script type="text/javascript">moveProgressBar('0.6');</script>
219
- <dd class="spec passed"><span class="passed_spec_name">should return the command line option to add spec.opts if the options file exists</span></dd>
220
- <script type="text/javascript">moveProgressBar('0.7');</script>
221
- <dd class="spec passed"><span class="passed_spec_name">should return an empty string if no spec.opts exists</span></dd>
222
- </dl>
223
- </div>
224
- <div class="example_group">
225
- <dl>
226
- <dt id="example_group_6">Autotest::Rspec</dt>
227
- <script type="text/javascript">moveProgressBar('0.8');</script>
228
- <dd class="spec passed"><span class="passed_spec_name">should make the apropriate test command</span></dd>
229
- </dl>
230
- </div>
231
- <div class="example_group">
232
- <dl>
233
- <dt id="example_group_7">Autotest::Rspec test mappings</dt>
234
- <script type="text/javascript">moveProgressBar('0.8');</script>
235
- <dd class="spec passed"><span class="passed_spec_name">should map all filenames in spec/ which end in .rb</span></dd>
236
- <script type="text/javascript">moveProgressBar('0.9');</script>
237
- <dd class="spec passed"><span class="passed_spec_name">should map all names in lib which end in .rb to the corresponding ones in spec/</span></dd>
238
- <script type="text/javascript">moveProgressBar('1.0');</script>
239
- <dd class="spec passed"><span class="passed_spec_name">should find all files in spec/shares/* and the spec helper in spec/spec_helper</span></dd>
240
- </dl>
241
- </div>
242
- <div class="example_group">
243
- <dl>
244
- <dt id="example_group_8">Autotest::Rspec handling results</dt>
245
- <script type="text/javascript">moveProgressBar('1.1');</script>
246
- <dd class="spec passed"><span class="passed_spec_name">should call hook(:red) if there are failures</span></dd>
247
- <script type="text/javascript">moveProgressBar('1.2');</script>
248
- <dd class="spec passed"><span class="passed_spec_name">should call hook(:green) if there are no failures</span></dd>
249
- </dl>
250
- </div>
251
- <div class="example_group">
252
- <dl>
253
- <dt id="example_group_9">Autotest::Rspec handling failed results</dt>
254
- <script type="text/javascript">moveProgressBar('1.2');</script>
255
- <dd class="spec passed"><span class="passed_spec_name">should scan the output into a multi-dimensional array,
256
- consisting of the failing spec's name as the first element,
257
- and the failure as the second</span></dd>
258
- </dl>
259
- </div>
260
- <div class="example_group">
261
- <dl>
262
- <dt id="example_group_10">Autotest::Rspec specs for a given file</dt>
263
- <script type="text/javascript">moveProgressBar('1.3');</script>
264
- <dd class="spec passed"><span class="passed_spec_name">should find the spec file for a given lib file</span></dd>
265
- <script type="text/javascript">moveProgressBar('1.4');</script>
266
- <dd class="spec passed"><span class="passed_spec_name">should find the spec file if given a spec file</span></dd>
267
- <script type="text/javascript">moveProgressBar('1.5');</script>
268
- <dd class="spec passed"><span class="passed_spec_name">should only find the file if the file is being tracked (in @file)</span></dd>
269
- </dl>
270
- </div>
271
- <div class="example_group">
272
- <dl>
273
- <dt id="example_group_11">Autotest::Rspec consolidating failures</dt>
274
- <script type="text/javascript">moveProgressBar('1.6');</script>
275
- <dd class="spec passed"><span class="passed_spec_name">should return no failures if no failures were given in the output</span></dd>
276
- <script type="text/javascript">moveProgressBar('1.6');</script>
277
- <dd class="spec passed"><span class="passed_spec_name">should return a hash with the spec filename =&gt; spec name for each failure or error</span></dd>
278
- </dl>
279
- </div>
280
- <div class="example_group">
281
- <dl>
282
- <dt id="example_group_12">Spec::Example::Configuration#mock_with</dt>
283
- <script type="text/javascript">moveProgressBar('1.7');</script>
284
- <dd class="spec passed"><span class="passed_spec_name">should default mock framework to rspec</span></dd>
285
- <script type="text/javascript">moveProgressBar('1.8');</script>
286
- <dd class="spec passed"><span class="passed_spec_name">should let you set rspec mocking explicitly</span></dd>
287
- <script type="text/javascript">moveProgressBar('1.9');</script>
288
- <dd class="spec passed"><span class="passed_spec_name">should let you set mocha</span></dd>
289
- <script type="text/javascript">moveProgressBar('2.0');</script>
290
- <dd class="spec passed"><span class="passed_spec_name">should let you set flexmock</span></dd>
291
- <script type="text/javascript">moveProgressBar('2.1');</script>
292
- <dd class="spec passed"><span class="passed_spec_name">should let you set rr</span></dd>
293
- <script type="text/javascript">moveProgressBar('2.1');</script>
294
- <dd class="spec passed"><span class="passed_spec_name">should let you set an arbitrary adapter module</span></dd>
295
- </dl>
296
- </div>
297
- <div class="example_group">
298
- <dl>
299
- <dt id="example_group_13">Spec::Example::Configuration#include</dt>
300
- <script type="text/javascript">moveProgressBar('2.2');</script>
301
- <dd class="spec passed"><span class="passed_spec_name">should include the submitted module in ExampleGroup subclasses</span></dd>
302
- <script type="text/javascript">moveProgressBar('2.3');</script>
303
- <dd class="spec passed"><span class="passed_spec_name">should let you define modules to be included for a specific type</span></dd>
304
- <script type="text/javascript">moveProgressBar('2.4');</script>
305
- <dd class="spec passed"><span class="passed_spec_name">should not include modules in a type they are not intended for</span></dd>
306
- </dl>
307
- </div>
308
- <div class="example_group">
309
- <dl>
310
- <dt id="example_group_14">Spec::Example::Configuration#prepend_before</dt>
311
- </dl>
312
- </div>
313
- <div class="example_group">
314
- <dl>
315
- <dt id="example_group_15">Special Example Group</dt>
316
- <script type="text/javascript">moveProgressBar('2.5');</script>
317
- <dd class="spec passed"><span class="passed_spec_name">calls prepend_before</span></dd>
318
- <script type="text/javascript">moveProgressBar('2.5');</script>
319
- <dd class="spec passed"><span class="passed_spec_name">prepends the before block on all instances of the passed in type</span></dd>
320
- </dl>
321
- </div>
322
- <div class="example_group">
323
- <dl>
324
- <dt id="example_group_16">Spec::Example::Configuration#append_before</dt>
325
- </dl>
326
- </div>
327
- <div class="example_group">
328
- <dl>
329
- <dt id="example_group_17">Special Example Group</dt>
330
- <script type="text/javascript">moveProgressBar('2.7');</script>
331
- <dd class="spec passed"><span class="passed_spec_name">calls append_before</span></dd>
332
- <script type="text/javascript">moveProgressBar('2.7');</script>
333
- <dd class="spec passed"><span class="passed_spec_name">calls append_before on the type</span></dd>
334
- </dl>
335
- </div>
336
- <div class="example_group">
337
- <dl>
338
- <dt id="example_group_18">Spec::Example::Configuration#prepend_after</dt>
339
- </dl>
340
- </div>
341
- <div class="example_group">
342
- <dl>
343
- <dt id="example_group_19">Special Example Group</dt>
344
- <script type="text/javascript">moveProgressBar('2.9');</script>
345
- <dd class="spec passed"><span class="passed_spec_name">calls prepend_after</span></dd>
346
- <script type="text/javascript">moveProgressBar('2.9');</script>
347
- <dd class="spec passed"><span class="passed_spec_name">prepends the after block on all instances of the passed in type</span></dd>
348
- </dl>
349
- </div>
350
- <div class="example_group">
351
- <dl>
352
- <dt id="example_group_20">Spec::Example::Configuration#append_after</dt>
353
- </dl>
354
- </div>
355
- <div class="example_group">
356
- <dl>
357
- <dt id="example_group_21">Special Example Group</dt>
358
- <script type="text/javascript">moveProgressBar('3.0');</script>
359
- <dd class="spec passed"><span class="passed_spec_name">calls append_after</span></dd>
360
- <script type="text/javascript">moveProgressBar('3.0');</script>
361
- <dd class="spec passed"><span class="passed_spec_name">calls append_after on the type</span></dd>
362
- </dl>
363
- </div>
364
- <div class="example_group">
365
- <dl>
366
- <dt id="example_group_22">Spec::Example::ExampleGroupSubclass</dt>
367
- <script type="text/javascript">moveProgressBar('3.1');</script>
368
- <dd class="spec passed"><span class="passed_spec_name">should run</span></dd>
369
- <script type="text/javascript">moveProgressBar('3.2');</script>
370
- <dd class="spec passed"><span class="passed_spec_name">should have access to instance variables</span></dd>
371
- <script type="text/javascript">moveProgressBar('3.3');</script>
372
- <dd class="spec passed"><span class="passed_spec_name">should have access to class variables</span></dd>
373
- <script type="text/javascript">moveProgressBar('3.3');</script>
374
- <dd class="spec passed"><span class="passed_spec_name">should have access to constants</span></dd>
375
- <script type="text/javascript">moveProgressBar('3.4');</script>
376
- <dd class="spec passed"><span class="passed_spec_name">should have access to methods defined in the Example Group</span></dd>
377
- </dl>
378
- </div>
379
- <div class="example_group">
380
- <dl>
381
- <dt id="example_group_23">Spec::Example::ExampleGroupSubclass</dt>
382
- <script type="text/javascript">moveProgressBar('3.5');</script>
383
- <dd class="spec passed"><span class="passed_spec_name">should run</span></dd>
384
- </dl>
385
- </div>
386
- <div class="example_group">
387
- <dl>
388
- <dt id="example_group_24">Spec::Example::ExampleGroupFactory with :foobar registered as custom type</dt>
389
- <script type="text/javascript">moveProgressBar('3.6');</script>
390
- <dd class="spec passed"><span class="passed_spec_name">should #get the default ExampleGroup type when passed nil</span></dd>
391
- <script type="text/javascript">moveProgressBar('3.7');</script>
392
- <dd class="spec passed"><span class="passed_spec_name">should #get the default ExampleGroup for unregistered non-nil values</span></dd>
393
- <script type="text/javascript">moveProgressBar('3.7');</script>
394
- <dd class="spec passed"><span class="passed_spec_name">should #get custom type for :foobar</span></dd>
395
- <script type="text/javascript">moveProgressBar('3.8');</script>
396
- <dd class="spec passed"><span class="passed_spec_name">should #get the actual type when that is passed in</span></dd>
397
- </dl>
398
- </div>
399
- <div class="example_group">
400
- <dl>
401
- <dt id="example_group_25">Spec::Example::ExampleGroupFactory#create_example_group</dt>
402
- <script type="text/javascript">moveProgressBar('3.9');</script>
403
- <dd class="spec passed"><span class="passed_spec_name">should create a uniquely named class</span></dd>
404
- <script type="text/javascript">moveProgressBar('4.0');</script>
405
- <dd class="spec passed"><span class="passed_spec_name">should create a Spec::Example::Example subclass by default</span></dd>
406
- <script type="text/javascript">moveProgressBar('4.1');</script>
407
- <dd class="spec passed"><span class="passed_spec_name">should create a Spec::Example::Example when :type =&gt; :default</span></dd>
408
- <script type="text/javascript">moveProgressBar('4.2');</script>
409
- <dd class="spec passed"><span class="passed_spec_name">should create a Spec::Example::Example when :type =&gt; :default</span></dd>
410
- <script type="text/javascript">moveProgressBar('4.2');</script>
411
- <dd class="spec passed"><span class="passed_spec_name">should create specified type when :type =&gt; :something_other_than_default</span></dd>
412
- <script type="text/javascript">moveProgressBar('4.3');</script>
413
- <dd class="spec passed"><span class="passed_spec_name">should create a type indicated by :spec_path</span></dd>
414
- <script type="text/javascript">moveProgressBar('4.4');</script>
415
- <dd class="spec passed"><span class="passed_spec_name">should create a type indicated by :spec_path (with spec_path generated by caller on windows)</span></dd>
416
- <script type="text/javascript">moveProgressBar('4.5');</script>
417
- <dd class="spec passed"><span class="passed_spec_name">should create and register a Spec::Example::Example if :shared =&gt; true</span></dd>
418
- <script type="text/javascript">moveProgressBar('4.6');</script>
419
- <dd class="spec passed"><span class="passed_spec_name">should favor the :type over the :spec_path</span></dd>
420
- <script type="text/javascript">moveProgressBar('4.6');</script>
421
- <dd class="spec passed"><span class="passed_spec_name">should register ExampleGroup by default</span></dd>
422
- <script type="text/javascript">moveProgressBar('4.7');</script>
423
- <dd class="spec passed"><span class="passed_spec_name">should enable unregistering of ExampleGroups</span></dd>
424
- </dl>
425
- </div>
426
- <div class="example_group">
427
- <dl>
428
- <dt id="example_group_26">ExampleGroupMethods#describe</dt>
429
- <script type="text/javascript">moveProgressBar('4.8');</script>
430
- <dd class="spec passed"><span class="passed_spec_name">should create a subclass of the ExampleGroup when passed a block</span></dd>
431
- <script type="text/javascript">moveProgressBar('4.9');</script>
432
- <dd class="spec passed"><span class="passed_spec_name">should not inherit examples</span></dd>
433
- </dl>
434
- </div>
435
- <div class="example_group">
436
- <dl>
437
- <dt id="example_group_27">ExampleGroupMethods#it</dt>
438
- <script type="text/javascript">moveProgressBar('5.0');</script>
439
- <dd class="spec passed"><span class="passed_spec_name">should should create an example instance</span></dd>
440
- </dl>
441
- </div>
442
- <div class="example_group">
443
- <dl>
444
- <dt id="example_group_28">ExampleGroupMethods#xit</dt>
445
- <script type="text/javascript">moveProgressBar('5.0');</script>
446
- <dd class="spec passed"><span class="passed_spec_name">should NOT should create an example instance</span></dd>
447
- <script type="text/javascript">moveProgressBar('5.1');</script>
448
- <dd class="spec passed"><span class="passed_spec_name">should warn that it is disabled</span></dd>
449
- </dl>
450
- </div>
451
- <div class="example_group">
452
- <dl>
453
- <dt id="example_group_29">ExampleGroupMethods#examples</dt>
454
- <script type="text/javascript">moveProgressBar('5.2');</script>
455
- <dd class="spec passed"><span class="passed_spec_name">should have Examples</span></dd>
456
- <script type="text/javascript">moveProgressBar('5.3');</script>
457
- <dd class="spec passed"><span class="passed_spec_name">should not include methods that begin with test (only when TU interop is loaded)</span></dd>
458
- <script type="text/javascript">moveProgressBar('5.4');</script>
459
- <dd class="spec passed"><span class="passed_spec_name">should include methods that begin with should and has an arity of 0 in suite</span></dd>
460
- <script type="text/javascript">moveProgressBar('5.4');</script>
461
- <dd class="spec passed"><span class="passed_spec_name">should not include methods that begin with test_ and has an arity &gt; 0 in suite</span></dd>
462
- <script type="text/javascript">moveProgressBar('5.5');</script>
463
- <dd class="spec passed"><span class="passed_spec_name">should not include methods that begin with should_ and has an arity &gt; 0 in suite</span></dd>
464
- <script type="text/javascript">moveProgressBar('5.6');</script>
465
- <dd class="spec passed"><span class="passed_spec_name">should run should_methods</span></dd>
466
- </dl>
467
- </div>
468
- <div class="example_group">
469
- <dl>
470
- <dt id="example_group_30">ExampleGroupMethods#set_description#set_description(String)</dt>
471
- <script type="text/javascript">moveProgressBar('5.7');</script>
472
- <dd class="spec passed"><span class="passed_spec_name">.description should return the String passed into .set_description</span></dd>
473
- <script type="text/javascript">moveProgressBar('5.8');</script>
474
- <dd class="spec passed"><span class="passed_spec_name">.described_type should provide nil as its type</span></dd>
475
- </dl>
476
- </div>
477
- <div class="example_group">
478
- <dl>
479
- <dt id="example_group_31">ExampleGroupMethods#set_description#set_description(Type)</dt>
480
- <script type="text/javascript">moveProgressBar('5.8');</script>
481
- <dd class="spec passed"><span class="passed_spec_name">.description should return a String representation of that type (fully qualified) as its name</span></dd>
482
- <script type="text/javascript">moveProgressBar('5.9');</script>
483
- <dd class="spec passed"><span class="passed_spec_name">.described_type should return the passed in type</span></dd>
484
- </dl>
485
- </div>
486
- <div class="example_group">
487
- <dl>
488
- <dt id="example_group_32">ExampleGroupMethods#set_description#set_description(String, Type)</dt>
489
- <script type="text/javascript">moveProgressBar('6.0');</script>
490
- <dd class="spec passed"><span class="passed_spec_name">.description should return String then space then Type</span></dd>
491
- <script type="text/javascript">moveProgressBar('6.1');</script>
492
- <dd class="spec passed"><span class="passed_spec_name">.described_type should return the passed in type</span></dd>
493
- </dl>
494
- </div>
495
- <div class="example_group">
496
- <dl>
497
- <dt id="example_group_33">ExampleGroupMethods#set_description#set_description(Type, String not starting with a space)</dt>
498
- <script type="text/javascript">moveProgressBar('6.2');</script>
499
- <dd class="spec passed"><span class="passed_spec_name">.description should return the Type then space then String</span></dd>
500
- </dl>
501
- </div>
502
- <div class="example_group">
503
- <dl>
504
- <dt id="example_group_34">ExampleGroupMethods#set_description#set_description(Type, String starting with .)</dt>
505
- <script type="text/javascript">moveProgressBar('6.3');</script>
506
- <dd class="spec passed"><span class="passed_spec_name">.description should return the Type then String</span></dd>
507
- </dl>
508
- </div>
509
- <div class="example_group">
510
- <dl>
511
- <dt id="example_group_35">ExampleGroupMethods#set_description#set_description(Type, String containing .)</dt>
512
- <script type="text/javascript">moveProgressBar('6.3');</script>
513
- <dd class="spec passed"><span class="passed_spec_name">.description should return the Type then space then String</span></dd>
514
- </dl>
515
- </div>
516
- <div class="example_group">
517
- <dl>
518
- <dt id="example_group_36">ExampleGroupMethods#set_description#set_description(Type, String starting with .)</dt>
519
- <script type="text/javascript">moveProgressBar('6.4');</script>
520
- <dd class="spec passed"><span class="passed_spec_name">should return the Type then String</span></dd>
521
- </dl>
522
- </div>
523
- <div class="example_group">
524
- <dl>
525
- <dt id="example_group_37">ExampleGroupMethods#set_description#set_description(Type, String containing .)</dt>
526
- <script type="text/javascript">moveProgressBar('6.5');</script>
527
- <dd class="spec passed"><span class="passed_spec_name">.description should return the Type then space then String</span></dd>
528
- </dl>
529
- </div>
530
- <div class="example_group">
531
- <dl>
532
- <dt id="example_group_38">ExampleGroupMethods#set_description#set_description(String, Type, String)</dt>
533
- <script type="text/javascript">moveProgressBar('6.6');</script>
534
- <dd class="spec passed"><span class="passed_spec_name">.description should return the first String then space then Type then second String</span></dd>
535
- </dl>
536
- </div>
537
- <div class="example_group">
538
- <dl>
539
- <dt id="example_group_39">ExampleGroupMethods#set_description#set_description(Hash representing options)</dt>
540
- <script type="text/javascript">moveProgressBar('6.7');</script>
541
- <dd class="spec passed"><span class="passed_spec_name">.spec_path should expand the passed in :spec_path option passed into the constructor</span></dd>
542
- <script type="text/javascript">moveProgressBar('6.7');</script>
543
- <dd class="spec passed"><span class="passed_spec_name">.description_options should return all the options passed in</span></dd>
544
- </dl>
545
- </div>
546
- <div class="example_group">
547
- <dl>
548
- <dt id="example_group_40">ExampleGroupMethods#description</dt>
549
- <script type="text/javascript">moveProgressBar('6.8');</script>
550
- <dd class="spec passed"><span class="passed_spec_name">should return the same description instance for each call</span></dd>
551
- <script type="text/javascript">moveProgressBar('6.9');</script>
552
- <dd class="spec passed"><span class="passed_spec_name">should not add a space when description_text begins with #</span></dd>
553
- <script type="text/javascript">moveProgressBar('7.0');</script>
554
- <dd class="spec passed"><span class="passed_spec_name">should not add a space when description_text begins with .</span></dd>
555
- <script type="text/javascript">moveProgressBar('7.1');</script>
556
- <dd class="spec passed"><span class="passed_spec_name">should return the class name if nil</span></dd>
557
- <script type="text/javascript">moveProgressBar('7.1');</script>
558
- <dd class="spec passed"><span class="passed_spec_name">should return the class name if nil</span></dd>
559
- </dl>
560
- </div>
561
- <div class="example_group">
562
- <dl>
563
- <dt id="example_group_41">ExampleGroupMethods#description_parts</dt>
564
- <script type="text/javascript">moveProgressBar('7.2');</script>
565
- <dd class="spec passed"><span class="passed_spec_name">should return an Array of the current class description args</span></dd>
566
- <script type="text/javascript">moveProgressBar('7.3');</script>
567
- <dd class="spec passed"><span class="passed_spec_name">should return an Array of the description args from each class in the hierarchy</span></dd>
568
- </dl>
569
- </div>
570
- <div class="example_group">
571
- <dl>
572
- <dt id="example_group_42">ExampleGroupMethods#described_type</dt>
573
- <script type="text/javascript">moveProgressBar('7.4');</script>
574
- <dd class="spec passed"><span class="passed_spec_name">should return passed in type</span></dd>
575
- <script type="text/javascript">moveProgressBar('7.5');</script>
576
- <dd class="spec passed"><span class="passed_spec_name">should return #described_type of superclass when no passed in type</span></dd>
577
- </dl>
578
- </div>
579
- <div class="example_group">
580
- <dl>
581
- <dt id="example_group_43">ExampleGroupMethods#remove_after</dt>
582
- <script type="text/javascript">moveProgressBar('7.5');</script>
583
- <dd class="spec passed"><span class="passed_spec_name">should unregister a given after(:each) block</span></dd>
584
- </dl>
585
- </div>
586
- <div class="example_group">
587
- <dl>
588
- <dt id="example_group_44">ExampleGroupMethods#include</dt>
589
- <script type="text/javascript">moveProgressBar('7.6');</script>
590
- <dd class="spec passed"><span class="passed_spec_name">should have accessible class methods from included module</span></dd>
591
- </dl>
592
- </div>
593
- <div class="example_group">
594
- <dl>
595
- <dt id="example_group_45">ExampleGroupMethods#number_of_examples</dt>
596
- <script type="text/javascript">moveProgressBar('7.7');</script>
597
- <dd class="spec passed"><span class="passed_spec_name">should count number of specs</span></dd>
598
- </dl>
599
- </div>
600
- <div class="example_group">
601
- <dl>
602
- <dt id="example_group_46">ExampleGroupMethods#class_eval</dt>
603
- <script type="text/javascript">moveProgressBar('7.8');</script>
604
- <dd class="spec passed"><span class="passed_spec_name">should allow constants to be defined</span></dd>
605
- </dl>
606
- </div>
607
- <div class="example_group">
608
- <dl>
609
- <dt id="example_group_47">ExampleGroupMethods#register</dt>
610
- <script type="text/javascript">moveProgressBar('7.9');</script>
611
- <dd class="spec passed"><span class="passed_spec_name">should add ExampleGroup to set of ExampleGroups to be run</span></dd>
612
- </dl>
613
- </div>
614
- <div class="example_group">
615
- <dl>
616
- <dt id="example_group_48">ExampleGroupMethods#unregister</dt>
617
- <script type="text/javascript">moveProgressBar('7.9');</script>
618
- <dd class="spec passed"><span class="passed_spec_name">should remove ExampleGroup from set of ExampleGroups to be run</span></dd>
619
- </dl>
620
- </div>
621
- <div class="example_group">
622
- <dl>
623
- <dt id="example_group_49">Spec::Example::ExampleGroup via a class definition</dt>
624
- <script type="text/javascript">moveProgressBar('8.0');</script>
625
- <dd class="spec passed"><span class="passed_spec_name">should understand module scoping</span></dd>
626
- <script type="text/javascript">moveProgressBar('8.1');</script>
627
- <dd class="spec passed"><span class="passed_spec_name">should allow class variables to be defined</span></dd>
628
- </dl>
629
- </div>
630
- <div class="example_group">
631
- <dl>
632
- <dt id="example_group_50">Spec::Example::ExampleGroup via a class definition without a class variable</dt>
633
- <script type="text/javascript">moveProgressBar('8.2');</script>
634
- <dd class="spec passed"><span class="passed_spec_name">should not retain class variables from other Example classes</span></dd>
635
- </dl>
636
- </div>
637
- <div class="example_group">
638
- <dl>
639
- <dt id="example_group_51">Spec::Example::ExampleGroup#pending</dt>
640
- <script type="text/javascript">moveProgressBar('8.3');</script>
641
- <dd class="spec passed"><span class="passed_spec_name">should raise a Pending error when its block fails</span></dd>
642
- <script type="text/javascript">moveProgressBar('8.4');</script>
643
- <dd class="spec passed"><span class="passed_spec_name">should raise Spec::Example::PendingExampleFixedError when its block does not fail</span></dd>
644
- </dl>
645
- </div>
646
- <div class="example_group">
647
- <dl>
648
- <dt id="example_group_52">Spec::Example::ExampleGroup#run</dt>
649
- <script type="text/javascript">moveProgressBar('8.4');</script>
650
- <dd class="spec passed"><span class="passed_spec_name">should not run when there are no examples</span></dd>
651
- </dl>
652
- </div>
653
- <div class="example_group">
654
- <dl>
655
- <dt id="example_group_53">Spec::Example::ExampleGroup#run when before_each fails</dt>
656
- <script type="text/javascript">moveProgressBar('8.5');</script>
657
- <dd class="spec passed"><span class="passed_spec_name">should not run example block</span></dd>
658
- <script type="text/javascript">moveProgressBar('8.6');</script>
659
- <dd class="spec passed"><span class="passed_spec_name">should run after_each</span></dd>
660
- <script type="text/javascript">moveProgressBar('8.7');</script>
661
- <dd class="spec passed"><span class="passed_spec_name">should report failure location when in before_each</span></dd>
662
- </dl>
663
- </div>
664
- <div class="example_group">
665
- <dl>
666
- <dt id="example_group_54">Spec::Example::ExampleGroup#run Spec::Example::ExampleGroup#run on dry run</dt>
667
- <script type="text/javascript">moveProgressBar('8.8');</script>
668
- <dd class="spec passed"><span class="passed_spec_name">should not run before(:all) or after(:all)</span></dd>
669
- <script type="text/javascript">moveProgressBar('8.8');</script>
670
- <dd class="spec passed"><span class="passed_spec_name">should not run example</span></dd>
671
- </dl>
672
- </div>
673
- <div class="example_group">
674
- <dl>
675
- <dt id="example_group_55">Spec::Example::ExampleGroup#run Spec::Example::ExampleGroup#run with specified examples when specified_examples matches entire ExampleGroup</dt>
676
- <script type="text/javascript">moveProgressBar('8.9');</script>
677
- <dd class="spec passed"><span class="passed_spec_name">should not run the Examples in the ExampleGroup</span></dd>
678
- </dl>
679
- </div>
680
- <div class="example_group">
681
- <dl>
682
- <dt id="example_group_56">Spec::Example::ExampleGroup#run Spec::Example::ExampleGroup#run with specified examples Spec::Example::ExampleGroup#run when specified_examples matches only Example description</dt>
683
- <script type="text/javascript">moveProgressBar('9.0');</script>
684
- <dd class="spec passed"><span class="passed_spec_name">should not run the example</span></dd>
685
- </dl>
686
- </div>
687
- <div class="example_group">
688
- <dl>
689
- <dt id="example_group_57">Spec::Example::ExampleGroup#run Spec::Example::ExampleGroup#run with specified examples Spec::Example::ExampleGroup#run when specified_examples does not match an Example description</dt>
690
- <script type="text/javascript">moveProgressBar('9.1');</script>
691
- <dd class="spec passed"><span class="passed_spec_name">should not run the example</span></dd>
692
- </dl>
693
- </div>
694
- <div class="example_group">
695
- <dl>
696
- <dt id="example_group_58">Spec::Example::ExampleGroup#run Spec::Example::ExampleGroup#run with specified examples Spec::Example::ExampleGroup#run when specified_examples matches an Example description</dt>
697
- <script type="text/javascript">moveProgressBar('9.2');</script>
698
- <dd class="spec passed"><span class="passed_spec_name">should run only the example, when there in only one</span></dd>
699
- <script type="text/javascript">moveProgressBar('9.2');</script>
700
- <dd class="spec passed"><span class="passed_spec_name">should run only the one example</span></dd>
701
- </dl>
702
- </div>
703
- <div class="example_group">
704
- <dl>
705
- <dt id="example_group_59">Spec::Example::ExampleGroup#run Spec::Example::ExampleGroup#run with success</dt>
706
- <script type="text/javascript">moveProgressBar('9.3');</script>
707
- <dd class="spec passed"><span class="passed_spec_name">should send reporter add_example_group</span></dd>
708
- <script type="text/javascript">moveProgressBar('9.4');</script>
709
- <dd class="spec passed"><span class="passed_spec_name">should run example on run</span></dd>
710
- <script type="text/javascript">moveProgressBar('9.5');</script>
711
- <dd class="spec passed"><span class="passed_spec_name">should run before(:all) block only once</span></dd>
712
- <script type="text/javascript">moveProgressBar('9.6');</script>
713
- <dd class="spec passed"><span class="passed_spec_name">should run after(:all) block only once</span></dd>
714
- <script type="text/javascript">moveProgressBar('9.6');</script>
715
- <dd class="spec passed"><span class="passed_spec_name">after(:all) should have access to all instance variables defined in before(:all)</span></dd>
716
- <script type="text/javascript">moveProgressBar('9.7');</script>
717
- <dd class="spec passed"><span class="passed_spec_name">should copy instance variables from before(:all)'s execution context into spec's execution context</span></dd>
718
- <script type="text/javascript">moveProgressBar('9.8');</script>
719
- <dd class="spec passed"><span class="passed_spec_name">should not add global before callbacks for untargetted example_group</span></dd>
720
- <script type="text/javascript">moveProgressBar('9.9');</script>
721
- <dd class="spec passed"><span class="passed_spec_name">should add global before callbacks for targetted example_groups</span></dd>
722
- <script type="text/javascript">moveProgressBar('10.0');</script>
723
- <dd class="spec passed"><span class="passed_spec_name">should order before callbacks from global to local</span></dd>
724
- <script type="text/javascript">moveProgressBar('10.0');</script>
725
- <dd class="spec passed"><span class="passed_spec_name">should order after callbacks from local to global</span></dd>
726
- <script type="text/javascript">moveProgressBar('10.1');</script>
727
- <dd class="spec passed"><span class="passed_spec_name">should have accessible instance methods from included module</span></dd>
728
- <script type="text/javascript">moveProgressBar('10.2');</script>
729
- <dd class="spec passed"><span class="passed_spec_name">should include targetted modules included using configuration</span></dd>
730
- <script type="text/javascript">moveProgressBar('10.3');</script>
731
- <dd class="spec passed"><span class="passed_spec_name">should include any predicate_matchers included using configuration</span></dd>
732
- <script type="text/javascript">moveProgressBar('10.4');</script>
733
- <dd class="spec passed"><span class="passed_spec_name">should use a mock framework set up in config</span></dd>
734
- </dl>
735
- </div>
736
- <div class="example_group">
737
- <dl>
738
- <dt id="example_group_60">Spec::Example::ExampleGroup#run Spec::Example::ExampleGroup#run with pending example that has a failing assertion</dt>
739
- <script type="text/javascript">moveProgressBar('10.5');</script>
740
- <dd class="spec passed"><span class="passed_spec_name">should send example_pending to formatter</span></dd>
741
- </dl>
742
- </div>
743
- <div class="example_group">
744
- <dl>
745
- <dt id="example_group_61">Spec::Example::ExampleGroup#run Spec::Example::ExampleGroup#run with pending example that does not have a failing assertion</dt>
746
- <script type="text/javascript">moveProgressBar('10.5');</script>
747
- <dd class="spec passed"><span class="passed_spec_name">should add an example failure to the TestResult</span></dd>
748
- <script type="text/javascript">moveProgressBar('10.6');</script>
749
- <dd class="spec passed"><span class="passed_spec_name">should send example_pending to formatter</span></dd>
750
- </dl>
751
- </div>
752
- <div class="example_group">
753
- <dl>
754
- <dt id="example_group_62">Spec::Example::ExampleGroup#run Spec::Example::ExampleGroup#run when before(:all) fails</dt>
755
- <script type="text/javascript">moveProgressBar('10.7');</script>
756
- <dd class="spec passed"><span class="passed_spec_name">should add an example failure to the TestResult</span></dd>
757
- <script type="text/javascript">moveProgressBar('10.8');</script>
758
- <dd class="spec passed"><span class="passed_spec_name">should not run any example</span></dd>
759
- <script type="text/javascript">moveProgressBar('10.9');</script>
760
- <dd class="spec passed"><span class="passed_spec_name">should run ExampleGroup after(:all)</span></dd>
761
- <script type="text/javascript">moveProgressBar('10.9');</script>
762
- <dd class="spec passed"><span class="passed_spec_name">should run example_group after(:all)</span></dd>
763
- <script type="text/javascript">moveProgressBar('11.0');</script>
764
- <dd class="spec passed"><span class="passed_spec_name">should supply before(:all) as description</span></dd>
765
- </dl>
766
- </div>
767
- <div class="example_group">
768
- <dl>
769
- <dt id="example_group_63">Spec::Example::ExampleGroup#run Spec::Example::ExampleGroup#run when before(:each) fails</dt>
770
- <script type="text/javascript">moveProgressBar('11.1');</script>
771
- <dd class="spec passed"><span class="passed_spec_name">should add an example failure to the TestResult</span></dd>
772
- <script type="text/javascript">moveProgressBar('11.2');</script>
773
- <dd class="spec passed"><span class="passed_spec_name">should run after(:all)</span></dd>
774
- </dl>
775
- </div>
776
- <div class="example_group">
777
- <dl>
778
- <dt id="example_group_64">Spec::Example::ExampleGroup#run Spec::Example::ExampleGroup#run when any example fails</dt>
779
- <script type="text/javascript">moveProgressBar('11.3');</script>
780
- <dd class="spec passed"><span class="passed_spec_name">should add an example failure to the TestResult</span></dd>
781
- <script type="text/javascript">moveProgressBar('11.3');</script>
782
- <dd class="spec passed"><span class="passed_spec_name">should run after(:all)</span></dd>
783
- </dl>
784
- </div>
785
- <div class="example_group">
786
- <dl>
787
- <dt id="example_group_65">Spec::Example::ExampleGroup#run Spec::Example::ExampleGroup#run when first after(:each) block fails</dt>
788
- <script type="text/javascript">moveProgressBar('11.4');</script>
789
- <dd class="spec passed"><span class="passed_spec_name">should add an example failure to the TestResult</span></dd>
790
- <script type="text/javascript">moveProgressBar('11.5');</script>
791
- <dd class="spec passed"><span class="passed_spec_name">should run second after(:each) block</span></dd>
792
- </dl>
793
- </div>
794
- <div class="example_group">
795
- <dl>
796
- <dt id="example_group_66">Spec::Example::ExampleGroup#run Spec::Example::ExampleGroup#run when first before(:each) block fails</dt>
797
- <script type="text/javascript">moveProgressBar('11.6');</script>
798
- <dd class="spec passed"><span class="passed_spec_name">should add an example failure to the TestResult</span></dd>
799
- <script type="text/javascript">moveProgressBar('11.7');</script>
800
- <dd class="spec passed"><span class="passed_spec_name">should not run second before(:each)</span></dd>
801
- </dl>
802
- </div>
803
- <div class="example_group">
804
- <dl>
805
- <dt id="example_group_67">Spec::Example::ExampleGroup#run Spec::Example::ExampleGroup#run when failure in after(:all)</dt>
806
- <script type="text/javascript">moveProgressBar('11.7');</script>
807
- <dd class="spec passed"><span class="passed_spec_name">should add an example failure to the TestResult</span></dd>
808
- <script type="text/javascript">moveProgressBar('11.8');</script>
809
- <dd class="spec passed"><span class="passed_spec_name">should return false</span></dd>
810
- </dl>
811
- </div>
812
- <div class="example_group">
813
- <dl>
814
- <dt id="example_group_68">Spec::Example::ExampleGroup subclasses</dt>
815
- <script type="text/javascript">moveProgressBar('11.9');</script>
816
- <dd class="spec passed"><span class="passed_spec_name">should have access to the described_type</span></dd>
817
- <script type="text/javascript">moveProgressBar('12.0');</script>
818
- <dd class="spec passed"><span class="passed_spec_name">should concat descriptions when nested</span></dd>
819
- </dl>
820
- </div>
821
- <div class="example_group">
822
- <dl>
823
- <dt id="example_group_69">Enumerable</dt>
824
- <script type="text/javascript">moveProgressBar('12.1');</script>
825
- <dd class="spec passed"><span class="passed_spec_name">should be included in examples because it is a module</span></dd>
826
- </dl>
827
- </div>
828
- <div class="example_group">
829
- <dl>
830
- <dt id="example_group_70">An Enumerable as a second argument</dt>
831
- <script type="text/javascript">moveProgressBar('12.1');</script>
832
- <dd class="spec passed"><span class="passed_spec_name">should be included in examples because it is a module</span></dd>
833
- </dl>
834
- </div>
835
- <div class="example_group">
836
- <dl>
837
- <dt id="example_group_71">Enumerable as the parent of nested example groups</dt>
838
- <script type="text/javascript">makeYellow('rspec-header');</script>
839
- <script type="text/javascript">makeYellow('example_group_71');</script>
840
- <script type="text/javascript">moveProgressBar('12.2');</script>
841
- <dd class="spec not_implemented"><span class="not_implemented_spec_name">should be included in examples because it is a module (PENDING: need to make sure nested groups know the described type)</span></dd>
842
- </dl>
843
- </div>
844
- <div class="example_group">
845
- <dl>
846
- <dt id="example_group_72">String</dt>
847
- <script type="text/javascript">moveProgressBar('12.3');</script>
848
- <dd class="spec passed"><span class="passed_spec_name">should not be included in examples because it is not a module</span></dd>
849
- </dl>
850
- </div>
851
- <div class="example_group">
852
- <dl>
853
- <dt id="example_group_73">Spec::Example::ExampleMatcher#matches?</dt>
854
- <script type="text/javascript">moveProgressBar('12.4');</script>
855
- <dd class="spec passed"><span class="passed_spec_name">should match correct example_group and example</span></dd>
856
- <script type="text/javascript">moveProgressBar('12.5');</script>
857
- <dd class="spec passed"><span class="passed_spec_name">should not match wrong example</span></dd>
858
- <script type="text/javascript">moveProgressBar('12.6');</script>
859
- <dd class="spec passed"><span class="passed_spec_name">should not match wrong example_group</span></dd>
860
- <script type="text/javascript">moveProgressBar('12.6');</script>
861
- <dd class="spec passed"><span class="passed_spec_name">should match example only</span></dd>
862
- <script type="text/javascript">moveProgressBar('12.7');</script>
863
- <dd class="spec passed"><span class="passed_spec_name">should match example_group only</span></dd>
864
- <script type="text/javascript">moveProgressBar('12.8');</script>
865
- <dd class="spec passed"><span class="passed_spec_name">should match example_group ending with before(:all)</span></dd>
866
- <script type="text/javascript">moveProgressBar('12.9');</script>
867
- <dd class="spec passed"><span class="passed_spec_name">should escape regexp chars</span></dd>
868
- <script type="text/javascript">moveProgressBar('13.0');</script>
869
- <dd class="spec passed"><span class="passed_spec_name">should match when example_group is modularized</span></dd>
870
- </dl>
871
- </div>
872
- <div class="example_group">
873
- <dl>
874
- <dt id="example_group_74">Spec::Example::ExampleMatcher#matches? normal case</dt>
875
- <script type="text/javascript">moveProgressBar('13.0');</script>
876
- <dd class="spec passed"><span class="passed_spec_name">matches when passed in example matches</span></dd>
877
- <script type="text/javascript">moveProgressBar('13.1');</script>
878
- <dd class="spec passed"><span class="passed_spec_name">does not match when no passed in examples match</span></dd>
879
- </dl>
880
- </div>
881
- <div class="example_group">
882
- <dl>
883
- <dt id="example_group_75">Spec::Example::ExampleMatcher#matches? where description has '::' in it</dt>
884
- <script type="text/javascript">moveProgressBar('13.2');</script>
885
- <dd class="spec passed"><span class="passed_spec_name">matches when passed in example matches</span></dd>
886
- <script type="text/javascript">moveProgressBar('13.3');</script>
887
- <dd class="spec passed"><span class="passed_spec_name">does not match when no passed in examples match</span></dd>
888
- </dl>
889
- </div>
890
- <div class="example_group">
891
- <dl>
892
- <dt id="example_group_76">ExampleMethods with an included module that is reopened</dt>
893
- <script type="text/javascript">moveProgressBar('13.4');</script>
894
- <dd class="spec passed"><span class="passed_spec_name">should have repoened methods</span></dd>
895
- </dl>
896
- </div>
897
- <div class="example_group">
898
- <dl>
899
- <dt id="example_group_77">Spec::Example::ExampleMethods lifecycle</dt>
900
- </dl>
901
- </div>
902
- <div class="example_group">
903
- <dl>
904
- <dt id="example_group_78">#&lt;Class:0x11c6ff0&gt;</dt>
905
- <script type="text/javascript">moveProgressBar('13.5');</script>
906
- <dd class="spec passed"><span class="passed_spec_name">should use ExampleMethods callbacks</span></dd>
907
- <script type="text/javascript">moveProgressBar('13.5');</script>
908
- <dd class="spec passed"><span class="passed_spec_name">should pass before and after callbacks to all ExampleGroup subclasses</span></dd>
909
- </dl>
910
- </div>
911
- <div class="example_group">
912
- <dl>
913
- <dt id="example_group_79">Spec::Example::ExampleMethods lifecycle run_with_description_capturing</dt>
914
- <script type="text/javascript">moveProgressBar('13.6');</script>
915
- <dd class="spec passed"><span class="passed_spec_name">should provide the generated description</span></dd>
916
- <script type="text/javascript">moveProgressBar('13.7');</script>
917
- <dd class="spec passed"><span class="passed_spec_name">should clear the global generated_description</span></dd>
918
- </dl>
919
- </div>
920
- <div class="example_group">
921
- <dl>
922
- <dt id="example_group_80">Nested Example Groups</dt>
923
- <script type="text/javascript">moveProgressBar('13.8');</script>
924
- <dd class="spec passed"><span class="passed_spec_name">should run before(:all), before(:each), example, after(:each), after(:all) in order</span></dd>
925
- </dl>
926
- </div>
927
- <div class="example_group">
928
- <dl>
929
- <dt id="example_group_81">Nested Example Groups nested example group</dt>
930
- <script type="text/javascript">moveProgressBar('13.8');</script>
931
- <dd class="spec passed"><span class="passed_spec_name">should run all before and after callbacks</span></dd>
932
- </dl>
933
- </div>
934
- <div class="example_group">
935
- <dl>
936
- <dt id="example_group_82">Spec::Example::Pending</dt>
937
- <script type="text/javascript">moveProgressBar('13.9');</script>
938
- <dd class="spec passed"><span class="passed_spec_name">should raise an ExamplePendingError if no block is supplied</span></dd>
939
- <script type="text/javascript">moveProgressBar('14.0');</script>
940
- <dd class="spec passed"><span class="passed_spec_name">should raise an ExamplePendingError if a supplied block fails as expected</span></dd>
941
- <script type="text/javascript">moveProgressBar('14.1');</script>
942
- <dd class="spec passed"><span class="passed_spec_name">should raise a PendingExampleFixedError if a supplied block starts working</span></dd>
943
- </dl>
944
- </div>
945
- <div class="example_group">
946
- <dl>
947
- <dt id="example_group_83">predicate_matcher[method_on_object] = matcher_method</dt>
948
- <script type="text/javascript">moveProgressBar('14.2');</script>
949
- <dd class="spec passed"><span class="passed_spec_name">should match matcher_method if method_on_object returns true</span></dd>
950
- <script type="text/javascript">moveProgressBar('14.2');</script>
951
- <dd class="spec passed"><span class="passed_spec_name">should not match matcher_method if method_on_object returns false</span></dd>
952
- </dl>
953
- </div>
954
- <div class="example_group">
955
- <dl>
956
- <dt id="example_group_84">Spec::Example::ExampleGroup with :shared =&gt; true</dt>
957
- <script type="text/javascript">moveProgressBar('14.3');</script>
958
- <dd class="spec passed"><span class="passed_spec_name">should accept an optional options hash</span></dd>
959
- <script type="text/javascript">moveProgressBar('14.4');</script>
960
- <dd class="spec passed"><span class="passed_spec_name">should return all shared example_groups</span></dd>
961
- <script type="text/javascript">moveProgressBar('14.5');</script>
962
- <dd class="spec passed"><span class="passed_spec_name">should register as shared example_group</span></dd>
963
- <script type="text/javascript">moveProgressBar('14.6');</script>
964
- <dd class="spec passed"><span class="passed_spec_name">should not be shared when not configured as shared</span></dd>
965
- <script type="text/javascript">moveProgressBar('14.7');</script>
966
- <dd class="spec passed"><span class="passed_spec_name">should complain when adding a second shared example_group with the same description</span></dd>
967
- <script type="text/javascript">moveProgressBar('14.7');</script>
968
- <dd class="spec passed"><span class="passed_spec_name">should NOT complain when adding the same shared example_group instance again</span></dd>
969
- <script type="text/javascript">moveProgressBar('14.8');</script>
970
- <dd class="spec passed"><span class="passed_spec_name">should NOT complain when adding the same shared example_group again (i.e. file gets reloaded)</span></dd>
971
- <script type="text/javascript">moveProgressBar('14.9');</script>
972
- <dd class="spec passed"><span class="passed_spec_name">should NOT complain when adding the same shared example_group in same file with different absolute path</span></dd>
973
- <script type="text/javascript">moveProgressBar('15.0');</script>
974
- <dd class="spec passed"><span class="passed_spec_name">should complain when adding a different shared example_group with the same name in a different file with the same basename</span></dd>
975
- <script type="text/javascript">moveProgressBar('15.1');</script>
976
- <dd class="spec passed"><span class="passed_spec_name">should add examples to current example_group using it_should_behave_like</span></dd>
977
- <script type="text/javascript">moveProgressBar('15.1');</script>
978
- <dd class="spec passed"><span class="passed_spec_name">should add examples to current example_group using include</span></dd>
979
- <script type="text/javascript">moveProgressBar('15.2');</script>
980
- <dd class="spec passed"><span class="passed_spec_name">should add examples to current example_group using it_should_behave_like with a module</span></dd>
981
- <script type="text/javascript">moveProgressBar('15.3');</script>
982
- <dd class="spec passed"><span class="passed_spec_name">should run shared examples</span></dd>
983
- <script type="text/javascript">moveProgressBar('15.4');</script>
984
- <dd class="spec passed"><span class="passed_spec_name">should run setup and teardown from shared example_group</span></dd>
985
- <script type="text/javascript">moveProgressBar('15.5');</script>
986
- <dd class="spec passed"><span class="passed_spec_name">should run before(:all) and after(:all) only once from shared example_group</span></dd>
987
- <script type="text/javascript">moveProgressBar('15.5');</script>
988
- <dd class="spec passed"><span class="passed_spec_name">should include modules, included into shared example_group, into current example_group</span></dd>
989
- <script type="text/javascript">moveProgressBar('15.6');</script>
990
- <dd class="spec passed"><span class="passed_spec_name">should make methods defined in the shared example_group available in consuming example_group</span></dd>
991
- <script type="text/javascript">moveProgressBar('15.7');</script>
992
- <dd class="spec passed"><span class="passed_spec_name">should raise when named shared example_group can not be found</span></dd>
993
- </dl>
994
- </div>
995
- <div class="example_group">
996
- <dl>
997
- <dt id="example_group_85">Grandparent ExampleGroup Parent ExampleGroup</dt>
998
- <script type="text/javascript">moveProgressBar('15.8');</script>
999
- <dd class="spec passed"><span class="passed_spec_name">should bar</span></dd>
1000
- </dl>
1001
- </div>
1002
- <div class="example_group">
1003
- <dl>
1004
- <dt id="example_group_86">Grandparent ExampleGroup Parent ExampleGroup Child ExampleGroup</dt>
1005
- <script type="text/javascript">moveProgressBar('15.9');</script>
1006
- <dd class="spec passed"><span class="passed_spec_name">should bam</span></dd>
1007
- </dl>
1008
- </div>
1009
- <div class="example_group">
1010
- <dl>
1011
- <dt id="example_group_87">Diff</dt>
1012
- <script type="text/javascript">moveProgressBar('15.9');</script>
1013
- <dd class="spec passed"><span class="passed_spec_name">should output unified diff of two strings</span></dd>
1014
- <script type="text/javascript">moveProgressBar('16.0');</script>
1015
- <dd class="spec passed"><span class="passed_spec_name">should output unified diff message of two arrays</span></dd>
1016
- <script type="text/javascript">moveProgressBar('16.1');</script>
1017
- <dd class="spec passed"><span class="passed_spec_name">should output unified diff message of two objects</span></dd>
1018
- </dl>
1019
- </div>
1020
- <div class="example_group">
1021
- <dl>
1022
- <dt id="example_group_88">Diff in context format</dt>
1023
- <script type="text/javascript">moveProgressBar('16.2');</script>
1024
- <dd class="spec passed"><span class="passed_spec_name">should output unified diff message of two objects</span></dd>
1025
- </dl>
1026
- </div>
1027
- <div class="example_group">
1028
- <dl>
1029
- <dt id="example_group_89">Object#should</dt>
1030
- <script type="text/javascript">moveProgressBar('16.3');</script>
1031
- <dd class="spec passed"><span class="passed_spec_name">should accept and interact with a matcher</span></dd>
1032
- <script type="text/javascript">moveProgressBar('16.3');</script>
1033
- <dd class="spec passed"><span class="passed_spec_name">should ask for a failure_message when matches? returns false</span></dd>
1034
- <script type="text/javascript">moveProgressBar('16.4');</script>
1035
- <dd class="spec passed"><span class="passed_spec_name">should raise error if it receives false directly</span></dd>
1036
- <script type="text/javascript">moveProgressBar('16.5');</script>
1037
- <dd class="spec passed"><span class="passed_spec_name">should raise error if it receives false (evaluated)</span></dd>
1038
- <script type="text/javascript">moveProgressBar('16.6');</script>
1039
- <dd class="spec passed"><span class="passed_spec_name">should raise error if it receives true</span></dd>
1040
- <script type="text/javascript">moveProgressBar('16.7');</script>
1041
- <dd class="spec passed"><span class="passed_spec_name">should raise error if it receives nil</span></dd>
1042
- <script type="text/javascript">makeYellow('rspec-header');</script>
1043
- <script type="text/javascript">makeYellow('example_group_89');</script>
1044
- <script type="text/javascript">moveProgressBar('16.8');</script>
1045
- <dd class="spec not_implemented"><span class="not_implemented_spec_name">should raise error if it receives no argument and it is not used as a left side of an operator (PENDING: Is it even possible to catch this?)</span></dd>
1046
- </dl>
1047
- </div>
1048
- <div class="example_group">
1049
- <dl>
1050
- <dt id="example_group_90">Object#should_not</dt>
1051
- <script type="text/javascript">moveProgressBar('16.8');</script>
1052
- <dd class="spec passed"><span class="passed_spec_name">should accept and interact with a matcher</span></dd>
1053
- <script type="text/javascript">moveProgressBar('16.9');</script>
1054
- <dd class="spec passed"><span class="passed_spec_name">should ask for a negative_failure_message when matches? returns true</span></dd>
1055
- <script type="text/javascript">moveProgressBar('17.0');</script>
1056
- <dd class="spec passed"><span class="passed_spec_name">should raise error if it receives false directly</span></dd>
1057
- <script type="text/javascript">moveProgressBar('17.1');</script>
1058
- <dd class="spec passed"><span class="passed_spec_name">should raise error if it receives false (evaluated)</span></dd>
1059
- <script type="text/javascript">moveProgressBar('17.2');</script>
1060
- <dd class="spec passed"><span class="passed_spec_name">should raise error if it receives true</span></dd>
1061
- <script type="text/javascript">moveProgressBar('17.2');</script>
1062
- <dd class="spec passed"><span class="passed_spec_name">should raise error if it receives nil</span></dd>
1063
- <script type="text/javascript">makeYellow('rspec-header');</script>
1064
- <script type="text/javascript">makeYellow('example_group_90');</script>
1065
- <script type="text/javascript">moveProgressBar('17.3');</script>
1066
- <dd class="spec not_implemented"><span class="not_implemented_spec_name">should raise error if it receives no argument and it is not used as a left side of an operator (PENDING: Is it even possible to catch this?)</span></dd>
1067
- </dl>
1068
- </div>
1069
- <div class="example_group">
1070
- <dl>
1071
- <dt id="example_group_91">Spec::Expectations#fail_with with no diff</dt>
1072
- <script type="text/javascript">moveProgressBar('17.4');</script>
1073
- <dd class="spec passed"><span class="passed_spec_name">should handle just a message</span></dd>
1074
- <script type="text/javascript">moveProgressBar('17.5');</script>
1075
- <dd class="spec passed"><span class="passed_spec_name">should handle an Array</span></dd>
1076
- </dl>
1077
- </div>
1078
- <div class="example_group">
1079
- <dl>
1080
- <dt id="example_group_92">Spec::Expectations#fail_with with diff</dt>
1081
- <script type="text/javascript">moveProgressBar('17.6');</script>
1082
- <dd class="spec passed"><span class="passed_spec_name">should not call differ if no expected/actual</span></dd>
1083
- <script type="text/javascript">moveProgressBar('17.6');</script>
1084
- <dd class="spec passed"><span class="passed_spec_name">should call differ if expected/actual are presented separately</span></dd>
1085
- <script type="text/javascript">moveProgressBar('17.7');</script>
1086
- <dd class="spec passed"><span class="passed_spec_name">should call differ if expected/actual are not strings</span></dd>
1087
- <script type="text/javascript">moveProgressBar('17.8');</script>
1088
- <dd class="spec passed"><span class="passed_spec_name">should not call differ if expected or actual are procs</span></dd>
1089
- <script type="text/javascript">moveProgressBar('17.9');</script>
1090
- <dd class="spec passed"><span class="passed_spec_name">should call differ if expected/actual are presented in an Array with message</span></dd>
1091
- </dl>
1092
- </div>
1093
- <div class="example_group">
1094
- <dl>
1095
- <dt id="example_group_93">Spec::Extensions::Main</dt>
1096
- <script type="text/javascript">moveProgressBar('18.0');</script>
1097
- <dd class="spec passed"><span class="passed_spec_name">should create an Options object</span></dd>
1098
- <script type="text/javascript">moveProgressBar('18.0');</script>
1099
- <dd class="spec passed"><span class="passed_spec_name">should respond to #describe</span></dd>
1100
- <script type="text/javascript">moveProgressBar('18.1');</script>
1101
- <dd class="spec passed"><span class="passed_spec_name">should respond to #context</span></dd>
1102
- <script type="text/javascript">moveProgressBar('18.2');</script>
1103
- <dd class="spec passed"><span class="passed_spec_name">should raise when no block given to describe</span></dd>
1104
- <script type="text/javascript">moveProgressBar('18.3');</script>
1105
- <dd class="spec passed"><span class="passed_spec_name">should raise when no description given to describe</span></dd>
1106
- <script type="text/javascript">moveProgressBar('18.4');</script>
1107
- <dd class="spec passed"><span class="passed_spec_name">should registered ExampleGroups by default</span></dd>
1108
- <script type="text/javascript">moveProgressBar('18.4');</script>
1109
- <dd class="spec passed"><span class="passed_spec_name">should not run unregistered ExampleGroups</span></dd>
1110
- <script type="text/javascript">moveProgressBar('18.5');</script>
1111
- <dd class="spec passed"><span class="passed_spec_name">should create a shared ExampleGroup with share_examples_for</span></dd>
1112
- </dl>
1113
- </div>
1114
- <div class="example_group">
1115
- <dl>
1116
- <dt id="example_group_94">Spec::Extensions::Main#share_as</dt>
1117
- <script type="text/javascript">moveProgressBar('18.6');</script>
1118
- <dd class="spec passed"><span class="passed_spec_name">should create a shared ExampleGroup</span></dd>
1119
- <script type="text/javascript">moveProgressBar('18.7');</script>
1120
- <dd class="spec passed"><span class="passed_spec_name">should create a constant that points to a Module</span></dd>
1121
- <script type="text/javascript">moveProgressBar('18.8');</script>
1122
- <dd class="spec passed"><span class="passed_spec_name">should bark if you pass it something not-constantizable</span></dd>
1123
- </dl>
1124
- </div>
1125
- <div class="example_group">
1126
- <dl>
1127
- <dt id="example_group_95">ExampleGroup with test/unit/interop with passing examples</dt>
1128
- <script type="text/javascript">moveProgressBar('18.9');</script>
1129
- <dd class="spec passed"><span class="passed_spec_name">should output 0 failures</span></dd>
1130
- <script type="text/javascript">moveProgressBar('18.9');</script>
1131
- <dd class="spec passed"><span class="passed_spec_name">should return an exit code of 0</span></dd>
1132
- </dl>
1133
- </div>
1134
- <div class="example_group">
1135
- <dl>
1136
- <dt id="example_group_96">ExampleGroup with test/unit/interop with failing examples</dt>
1137
- <script type="text/javascript">moveProgressBar('19.0');</script>
1138
- <dd class="spec passed"><span class="passed_spec_name">should output 1 failure</span></dd>
1139
- <script type="text/javascript">moveProgressBar('19.1');</script>
1140
- <dd class="spec passed"><span class="passed_spec_name">should return an exit code of 256</span></dd>
1141
- </dl>
1142
- </div>
1143
- <div class="example_group">
1144
- <dl>
1145
- <dt id="example_group_97">ExampleGroup with test/unit/interop with example that raises an error</dt>
1146
- <script type="text/javascript">moveProgressBar('19.2');</script>
1147
- <dd class="spec passed"><span class="passed_spec_name">should output 1 failure</span></dd>
1148
- <script type="text/javascript">moveProgressBar('19.3');</script>
1149
- <dd class="spec passed"><span class="passed_spec_name">should return an exit code of 256</span></dd>
1150
- </dl>
1151
- </div>
1152
- <div class="example_group">
1153
- <dl>
1154
- <dt id="example_group_98">Test::Unit::TestCase with passing test case</dt>
1155
- <script type="text/javascript">moveProgressBar('19.3');</script>
1156
- <dd class="spec passed"><span class="passed_spec_name">should output 0 failures</span></dd>
1157
- <script type="text/javascript">moveProgressBar('19.4');</script>
1158
- <dd class="spec passed"><span class="passed_spec_name">should return an exit code of 0</span></dd>
1159
- </dl>
1160
- </div>
1161
- <div class="example_group">
1162
- <dl>
1163
- <dt id="example_group_99">Test::Unit::TestCase with failing test case</dt>
1164
- <script type="text/javascript">moveProgressBar('19.5');</script>
1165
- <dd class="spec passed"><span class="passed_spec_name">should output 1 failure</span></dd>
1166
- <script type="text/javascript">moveProgressBar('19.6');</script>
1167
- <dd class="spec passed"><span class="passed_spec_name">should return an exit code of 256</span></dd>
1168
- </dl>
1169
- </div>
1170
- <div class="example_group">
1171
- <dl>
1172
- <dt id="example_group_100">Test::Unit::TestCase with test case that raises an error</dt>
1173
- <script type="text/javascript">moveProgressBar('19.7');</script>
1174
- <dd class="spec passed"><span class="passed_spec_name">should output 1 failure</span></dd>
1175
- <script type="text/javascript">moveProgressBar('19.7');</script>
1176
- <dd class="spec passed"><span class="passed_spec_name">should return an exit code of 256</span></dd>
1177
- </dl>
1178
- </div>
1179
- <div class="example_group">
1180
- <dl>
1181
- <dt id="example_group_101">TestSuiteAdapter</dt>
1182
- <script type="text/javascript">moveProgressBar('19.8');</script>
1183
- <dd class="spec passed"><span class="passed_spec_name">should pass</span></dd>
1184
- </dl>
1185
- </div>
1186
- <div class="example_group">
1187
- <dl>
1188
- <dt id="example_group_102">Spec::Matchers::BeClose</dt>
1189
- <script type="text/javascript">moveProgressBar('19.9');</script>
1190
- <dd class="spec passed"><span class="passed_spec_name">should match when value == target</span></dd>
1191
- <script type="text/javascript">moveProgressBar('20.0');</script>
1192
- <dd class="spec passed"><span class="passed_spec_name">should match when value &lt; (target + delta)</span></dd>
1193
- <script type="text/javascript">moveProgressBar('20.1');</script>
1194
- <dd class="spec passed"><span class="passed_spec_name">should match when value &gt; (target - delta)</span></dd>
1195
- <script type="text/javascript">moveProgressBar('20.1');</script>
1196
- <dd class="spec passed"><span class="passed_spec_name">should not match when value == (target - delta)</span></dd>
1197
- <script type="text/javascript">moveProgressBar('20.2');</script>
1198
- <dd class="spec passed"><span class="passed_spec_name">should not match when value &lt; (target - delta)</span></dd>
1199
- <script type="text/javascript">moveProgressBar('20.3');</script>
1200
- <dd class="spec passed"><span class="passed_spec_name">should not match when value == (target + delta)</span></dd>
1201
- <script type="text/javascript">moveProgressBar('20.4');</script>
1202
- <dd class="spec passed"><span class="passed_spec_name">should not match when value &gt; (target + delta)</span></dd>
1203
- <script type="text/javascript">moveProgressBar('20.5');</script>
1204
- <dd class="spec passed"><span class="passed_spec_name">should provide a useful failure message</span></dd>
1205
- <script type="text/javascript">moveProgressBar('20.5');</script>
1206
- <dd class="spec passed"><span class="passed_spec_name">should describe itself</span></dd>
1207
- </dl>
1208
- </div>
1209
- <div class="example_group">
1210
- <dl>
1211
- <dt id="example_group_103">should be_predicate</dt>
1212
- <script type="text/javascript">moveProgressBar('20.6');</script>
1213
- <dd class="spec passed"><span class="passed_spec_name">should pass when actual returns true for :predicate?</span></dd>
1214
- <script type="text/javascript">moveProgressBar('20.7');</script>
1215
- <dd class="spec passed"><span class="passed_spec_name">should pass when actual returns true for :predicates? (present tense)</span></dd>
1216
- <script type="text/javascript">moveProgressBar('20.8');</script>
1217
- <dd class="spec passed"><span class="passed_spec_name">should fail when actual returns false for :predicate?</span></dd>
1218
- <script type="text/javascript">moveProgressBar('20.9');</script>
1219
- <dd class="spec passed"><span class="passed_spec_name">should fail when actual does not respond to :predicate?</span></dd>
1220
- </dl>
1221
- </div>
1222
- <div class="example_group">
1223
- <dl>
1224
- <dt id="example_group_104">should_not be_predicate</dt>
1225
- <script type="text/javascript">moveProgressBar('21.0');</script>
1226
- <dd class="spec passed"><span class="passed_spec_name">should pass when actual returns false for :sym?</span></dd>
1227
- <script type="text/javascript">moveProgressBar('21.0');</script>
1228
- <dd class="spec passed"><span class="passed_spec_name">should fail when actual returns true for :sym?</span></dd>
1229
- <script type="text/javascript">moveProgressBar('21.1');</script>
1230
- <dd class="spec passed"><span class="passed_spec_name">should fail when actual does not respond to :sym?</span></dd>
1231
- </dl>
1232
- </div>
1233
- <div class="example_group">
1234
- <dl>
1235
- <dt id="example_group_105">should be_predicate(*args)</dt>
1236
- <script type="text/javascript">moveProgressBar('21.2');</script>
1237
- <dd class="spec passed"><span class="passed_spec_name">should pass when actual returns true for :predicate?(*args)</span></dd>
1238
- <script type="text/javascript">moveProgressBar('21.3');</script>
1239
- <dd class="spec passed"><span class="passed_spec_name">should fail when actual returns false for :predicate?(*args)</span></dd>
1240
- <script type="text/javascript">moveProgressBar('21.4');</script>
1241
- <dd class="spec passed"><span class="passed_spec_name">should fail when actual does not respond to :predicate?</span></dd>
1242
- </dl>
1243
- </div>
1244
- <div class="example_group">
1245
- <dl>
1246
- <dt id="example_group_106">should_not be_predicate(*args)</dt>
1247
- <script type="text/javascript">moveProgressBar('21.4');</script>
1248
- <dd class="spec passed"><span class="passed_spec_name">should pass when actual returns false for :predicate?(*args)</span></dd>
1249
- <script type="text/javascript">moveProgressBar('21.5');</script>
1250
- <dd class="spec passed"><span class="passed_spec_name">should fail when actual returns true for :predicate?(*args)</span></dd>
1251
- <script type="text/javascript">moveProgressBar('21.6');</script>
1252
- <dd class="spec passed"><span class="passed_spec_name">should fail when actual does not respond to :predicate?</span></dd>
1253
- </dl>
1254
- </div>
1255
- <div class="example_group">
1256
- <dl>
1257
- <dt id="example_group_107">should be_true</dt>
1258
- <script type="text/javascript">moveProgressBar('21.7');</script>
1259
- <dd class="spec passed"><span class="passed_spec_name">should pass when actual equal(true)</span></dd>
1260
- <script type="text/javascript">moveProgressBar('21.8');</script>
1261
- <dd class="spec passed"><span class="passed_spec_name">should fail when actual equal(false)</span></dd>
1262
- </dl>
1263
- </div>
1264
- <div class="example_group">
1265
- <dl>
1266
- <dt id="example_group_108">should be_false</dt>
1267
- <script type="text/javascript">moveProgressBar('21.8');</script>
1268
- <dd class="spec passed"><span class="passed_spec_name">should pass when actual equal(false)</span></dd>
1269
- <script type="text/javascript">moveProgressBar('21.9');</script>
1270
- <dd class="spec passed"><span class="passed_spec_name">should fail when actual equal(true)</span></dd>
1271
- </dl>
1272
- </div>
1273
- <div class="example_group">
1274
- <dl>
1275
- <dt id="example_group_109">should be_nil</dt>
1276
- <script type="text/javascript">moveProgressBar('22.0');</script>
1277
- <dd class="spec passed"><span class="passed_spec_name">should pass when actual is nil</span></dd>
1278
- <script type="text/javascript">moveProgressBar('22.1');</script>
1279
- <dd class="spec passed"><span class="passed_spec_name">should fail when actual is not nil</span></dd>
1280
- </dl>
1281
- </div>
1282
- <div class="example_group">
1283
- <dl>
1284
- <dt id="example_group_110">should_not be_nil</dt>
1285
- <script type="text/javascript">moveProgressBar('22.2');</script>
1286
- <dd class="spec passed"><span class="passed_spec_name">should pass when actual is not nil</span></dd>
1287
- <script type="text/javascript">moveProgressBar('22.2');</script>
1288
- <dd class="spec passed"><span class="passed_spec_name">should fail when actual is nil</span></dd>
1289
- </dl>
1290
- </div>
1291
- <div class="example_group">
1292
- <dl>
1293
- <dt id="example_group_111">should be &lt;</dt>
1294
- <script type="text/javascript">moveProgressBar('22.3');</script>
1295
- <dd class="spec passed"><span class="passed_spec_name">should pass when &lt; operator returns true</span></dd>
1296
- <script type="text/javascript">moveProgressBar('22.4');</script>
1297
- <dd class="spec passed"><span class="passed_spec_name">should fail when &lt; operator returns false</span></dd>
1298
- </dl>
1299
- </div>
1300
- <div class="example_group">
1301
- <dl>
1302
- <dt id="example_group_112">should be &lt;=</dt>
1303
- <script type="text/javascript">moveProgressBar('22.5');</script>
1304
- <dd class="spec passed"><span class="passed_spec_name">should pass when &lt;= operator returns true</span></dd>
1305
- <script type="text/javascript">moveProgressBar('22.6');</script>
1306
- <dd class="spec passed"><span class="passed_spec_name">should fail when &lt;= operator returns false</span></dd>
1307
- </dl>
1308
- </div>
1309
- <div class="example_group">
1310
- <dl>
1311
- <dt id="example_group_113">should be &gt;=</dt>
1312
- <script type="text/javascript">moveProgressBar('22.6');</script>
1313
- <dd class="spec passed"><span class="passed_spec_name">should pass when &gt;= operator returns true</span></dd>
1314
- <script type="text/javascript">moveProgressBar('22.7');</script>
1315
- <dd class="spec passed"><span class="passed_spec_name">should fail when &gt;= operator returns false</span></dd>
1316
- </dl>
1317
- </div>
1318
- <div class="example_group">
1319
- <dl>
1320
- <dt id="example_group_114">should be &gt;</dt>
1321
- <script type="text/javascript">moveProgressBar('22.8');</script>
1322
- <dd class="spec passed"><span class="passed_spec_name">should pass when &gt; operator returns true</span></dd>
1323
- <script type="text/javascript">moveProgressBar('22.9');</script>
1324
- <dd class="spec passed"><span class="passed_spec_name">should fail when &gt; operator returns false</span></dd>
1325
- </dl>
1326
- </div>
1327
- <div class="example_group">
1328
- <dl>
1329
- <dt id="example_group_115">should be ==</dt>
1330
- <script type="text/javascript">moveProgressBar('23.0');</script>
1331
- <dd class="spec passed"><span class="passed_spec_name">should pass when == operator returns true</span></dd>
1332
- <script type="text/javascript">moveProgressBar('23.1');</script>
1333
- <dd class="spec passed"><span class="passed_spec_name">should fail when == operator returns false</span></dd>
1334
- </dl>
1335
- </div>
1336
- <div class="example_group">
1337
- <dl>
1338
- <dt id="example_group_116">should be ===</dt>
1339
- <script type="text/javascript">moveProgressBar('23.1');</script>
1340
- <dd class="spec passed"><span class="passed_spec_name">should pass when === operator returns true</span></dd>
1341
- <script type="text/javascript">moveProgressBar('23.2');</script>
1342
- <dd class="spec passed"><span class="passed_spec_name">should fail when === operator returns false</span></dd>
1343
- </dl>
1344
- </div>
1345
- <div class="example_group">
1346
- <dl>
1347
- <dt id="example_group_117">should be</dt>
1348
- <script type="text/javascript">moveProgressBar('23.3');</script>
1349
- <dd class="spec passed"><span class="passed_spec_name">should pass if actual is true or a set value</span></dd>
1350
- <script type="text/javascript">moveProgressBar('23.4');</script>
1351
- <dd class="spec passed"><span class="passed_spec_name">should fail if actual is false</span></dd>
1352
- <script type="text/javascript">moveProgressBar('23.5');</script>
1353
- <dd class="spec passed"><span class="passed_spec_name">should fail if actual is nil</span></dd>
1354
- </dl>
1355
- </div>
1356
- <div class="example_group">
1357
- <dl>
1358
- <dt id="example_group_118">should be(value)</dt>
1359
- <script type="text/javascript">moveProgressBar('23.5');</script>
1360
- <dd class="spec passed"><span class="passed_spec_name">should pass if actual.equal?(value)</span></dd>
1361
- <script type="text/javascript">moveProgressBar('23.6');</script>
1362
- <dd class="spec passed"><span class="passed_spec_name">should fail if !actual.equal?(value)</span></dd>
1363
- </dl>
1364
- </div>
1365
- <div class="example_group">
1366
- <dl>
1367
- <dt id="example_group_119">should change(actual, message)</dt>
1368
- <script type="text/javascript">moveProgressBar('23.7');</script>
1369
- <dd class="spec passed"><span class="passed_spec_name">should pass when actual is modified by the block</span></dd>
1370
- <script type="text/javascript">moveProgressBar('23.8');</script>
1371
- <dd class="spec passed"><span class="passed_spec_name">should fail when actual is not modified by the block</span></dd>
1372
- </dl>
1373
- </div>
1374
- <div class="example_group">
1375
- <dl>
1376
- <dt id="example_group_120">should_not change(actual, message)</dt>
1377
- <script type="text/javascript">moveProgressBar('23.9');</script>
1378
- <dd class="spec passed"><span class="passed_spec_name">should pass when actual is not modified by the block</span></dd>
1379
- <script type="text/javascript">moveProgressBar('23.9');</script>
1380
- <dd class="spec passed"><span class="passed_spec_name">should fail when actual is not modified by the block</span></dd>
1381
- </dl>
1382
- </div>
1383
- <div class="example_group">
1384
- <dl>
1385
- <dt id="example_group_121">should change { block }</dt>
1386
- <script type="text/javascript">moveProgressBar('24.0');</script>
1387
- <dd class="spec passed"><span class="passed_spec_name">should pass when actual is modified by the block</span></dd>
1388
- <script type="text/javascript">moveProgressBar('24.1');</script>
1389
- <dd class="spec passed"><span class="passed_spec_name">should fail when actual is not modified by the block</span></dd>
1390
- <script type="text/javascript">moveProgressBar('24.2');</script>
1391
- <dd class="spec passed"><span class="passed_spec_name">should warn if passed a block using do/end</span></dd>
1392
- </dl>
1393
- </div>
1394
- <div class="example_group">
1395
- <dl>
1396
- <dt id="example_group_122">should_not change { block }</dt>
1397
- <script type="text/javascript">moveProgressBar('24.3');</script>
1398
- <dd class="spec passed"><span class="passed_spec_name">should pass when actual is modified by the block</span></dd>
1399
- <script type="text/javascript">moveProgressBar('24.3');</script>
1400
- <dd class="spec passed"><span class="passed_spec_name">should fail when actual is not modified by the block</span></dd>
1401
- <script type="text/javascript">moveProgressBar('24.4');</script>
1402
- <dd class="spec passed"><span class="passed_spec_name">should warn if passed a block using do/end</span></dd>
1403
- </dl>
1404
- </div>
1405
- <div class="example_group">
1406
- <dl>
1407
- <dt id="example_group_123">should change(actual, message).by(expected)</dt>
1408
- <script type="text/javascript">moveProgressBar('24.5');</script>
1409
- <dd class="spec passed"><span class="passed_spec_name">should pass when attribute is changed by expected amount</span></dd>
1410
- <script type="text/javascript">moveProgressBar('24.6');</script>
1411
- <dd class="spec passed"><span class="passed_spec_name">should fail when the attribute is changed by unexpected amount</span></dd>
1412
- <script type="text/javascript">moveProgressBar('24.7');</script>
1413
- <dd class="spec passed"><span class="passed_spec_name">should fail when the attribute is changed by unexpected amount in the opposite direction</span></dd>
1414
- </dl>
1415
- </div>
1416
- <div class="example_group">
1417
- <dl>
1418
- <dt id="example_group_124">should change{ block }.by(expected)</dt>
1419
- <script type="text/javascript">moveProgressBar('24.7');</script>
1420
- <dd class="spec passed"><span class="passed_spec_name">should pass when attribute is changed by expected amount</span></dd>
1421
- <script type="text/javascript">moveProgressBar('24.8');</script>
1422
- <dd class="spec passed"><span class="passed_spec_name">should fail when the attribute is changed by unexpected amount</span></dd>
1423
- <script type="text/javascript">moveProgressBar('24.9');</script>
1424
- <dd class="spec passed"><span class="passed_spec_name">should fail when the attribute is changed by unexpected amount in the opposite direction</span></dd>
1425
- </dl>
1426
- </div>
1427
- <div class="example_group">
1428
- <dl>
1429
- <dt id="example_group_125">should change(actual, message).by_at_least(expected)</dt>
1430
- <script type="text/javascript">moveProgressBar('25.0');</script>
1431
- <dd class="spec passed"><span class="passed_spec_name">should pass when attribute is changed by greater than the expected amount</span></dd>
1432
- <script type="text/javascript">moveProgressBar('25.1');</script>
1433
- <dd class="spec passed"><span class="passed_spec_name">should pass when attribute is changed by the expected amount</span></dd>
1434
- <script type="text/javascript">moveProgressBar('25.2');</script>
1435
- <dd class="spec passed"><span class="passed_spec_name">should fail when the attribute is changed by less than the expected amount</span></dd>
1436
- </dl>
1437
- </div>
1438
- <div class="example_group">
1439
- <dl>
1440
- <dt id="example_group_126">should change{ block }.by_at_least(expected)</dt>
1441
- <script type="text/javascript">moveProgressBar('25.2');</script>
1442
- <dd class="spec passed"><span class="passed_spec_name">should pass when attribute is changed by greater than expected amount</span></dd>
1443
- <script type="text/javascript">moveProgressBar('25.3');</script>
1444
- <dd class="spec passed"><span class="passed_spec_name">should pass when attribute is changed by the expected amount</span></dd>
1445
- <script type="text/javascript">moveProgressBar('25.4');</script>
1446
- <dd class="spec passed"><span class="passed_spec_name">should fail when the attribute is changed by less than the unexpected amount</span></dd>
1447
- </dl>
1448
- </div>
1449
- <div class="example_group">
1450
- <dl>
1451
- <dt id="example_group_127">should change(actual, message).by_at_most(expected)</dt>
1452
- <script type="text/javascript">moveProgressBar('25.5');</script>
1453
- <dd class="spec passed"><span class="passed_spec_name">should pass when attribute is changed by less than the expected amount</span></dd>
1454
- <script type="text/javascript">moveProgressBar('25.6');</script>
1455
- <dd class="spec passed"><span class="passed_spec_name">should pass when attribute is changed by the expected amount</span></dd>
1456
- <script type="text/javascript">moveProgressBar('25.6');</script>
1457
- <dd class="spec passed"><span class="passed_spec_name">should fail when the attribute is changed by greater than the expected amount</span></dd>
1458
- </dl>
1459
- </div>
1460
- <div class="example_group">
1461
- <dl>
1462
- <dt id="example_group_128">should change{ block }.by_at_most(expected)</dt>
1463
- <script type="text/javascript">moveProgressBar('25.7');</script>
1464
- <dd class="spec passed"><span class="passed_spec_name">should pass when attribute is changed by less than expected amount</span></dd>
1465
- <script type="text/javascript">moveProgressBar('25.8');</script>
1466
- <dd class="spec passed"><span class="passed_spec_name">should pass when attribute is changed by the expected amount</span></dd>
1467
- <script type="text/javascript">moveProgressBar('25.9');</script>
1468
- <dd class="spec passed"><span class="passed_spec_name">should fail when the attribute is changed by greater than the unexpected amount</span></dd>
1469
- </dl>
1470
- </div>
1471
- <div class="example_group">
1472
- <dl>
1473
- <dt id="example_group_129">should change(actual, message).from(old)</dt>
1474
- <script type="text/javascript">moveProgressBar('26.0');</script>
1475
- <dd class="spec passed"><span class="passed_spec_name">should pass when attribute is == to expected value before executing block</span></dd>
1476
- <script type="text/javascript">moveProgressBar('26.0');</script>
1477
- <dd class="spec passed"><span class="passed_spec_name">should fail when attribute is not == to expected value before executing block</span></dd>
1478
- </dl>
1479
- </div>
1480
- <div class="example_group">
1481
- <dl>
1482
- <dt id="example_group_130">should change{ block }.from(old)</dt>
1483
- <script type="text/javascript">moveProgressBar('26.1');</script>
1484
- <dd class="spec passed"><span class="passed_spec_name">should pass when attribute is == to expected value before executing block</span></dd>
1485
- <script type="text/javascript">moveProgressBar('26.2');</script>
1486
- <dd class="spec passed"><span class="passed_spec_name">should fail when attribute is not == to expected value before executing block</span></dd>
1487
- </dl>
1488
- </div>
1489
- <div class="example_group">
1490
- <dl>
1491
- <dt id="example_group_131">should change(actual, message).to(new)</dt>
1492
- <script type="text/javascript">moveProgressBar('26.3');</script>
1493
- <dd class="spec passed"><span class="passed_spec_name">should pass when attribute is == to expected value after executing block</span></dd>
1494
- <script type="text/javascript">moveProgressBar('26.4');</script>
1495
- <dd class="spec passed"><span class="passed_spec_name">should fail when attribute is not == to expected value after executing block</span></dd>
1496
- </dl>
1497
- </div>
1498
- <div class="example_group">
1499
- <dl>
1500
- <dt id="example_group_132">should change{ block }.to(new)</dt>
1501
- <script type="text/javascript">moveProgressBar('26.4');</script>
1502
- <dd class="spec passed"><span class="passed_spec_name">should pass when attribute is == to expected value after executing block</span></dd>
1503
- <script type="text/javascript">moveProgressBar('26.5');</script>
1504
- <dd class="spec passed"><span class="passed_spec_name">should fail when attribute is not == to expected value after executing block</span></dd>
1505
- </dl>
1506
- </div>
1507
- <div class="example_group">
1508
- <dl>
1509
- <dt id="example_group_133">should change(actual, message).from(old).to(new)</dt>
1510
- <script type="text/javascript">moveProgressBar('26.6');</script>
1511
- <dd class="spec passed"><span class="passed_spec_name">should pass when #to comes before #from</span></dd>
1512
- <script type="text/javascript">moveProgressBar('26.7');</script>
1513
- <dd class="spec passed"><span class="passed_spec_name">should pass when #from comes before #to</span></dd>
1514
- </dl>
1515
- </div>
1516
- <div class="example_group">
1517
- <dl>
1518
- <dt id="example_group_134">should change{ block }.from(old).to(new)</dt>
1519
- <script type="text/javascript">moveProgressBar('26.8');</script>
1520
- <dd class="spec passed"><span class="passed_spec_name">should pass when #to comes before #from</span></dd>
1521
- <script type="text/javascript">moveProgressBar('26.8');</script>
1522
- <dd class="spec passed"><span class="passed_spec_name">should pass when #from comes before #to</span></dd>
1523
- </dl>
1524
- </div>
1525
- <div class="example_group">
1526
- <dl>
1527
- <dt id="example_group_135">Matchers should be able to generate their own descriptions</dt>
1528
- <script type="text/javascript">moveProgressBar('26.9');</script>
1529
- <dd class="spec passed"><span class="passed_spec_name">should == expected</span></dd>
1530
- <script type="text/javascript">moveProgressBar('27.0');</script>
1531
- <dd class="spec passed"><span class="passed_spec_name">should not == expected</span></dd>
1532
- <script type="text/javascript">moveProgressBar('27.1');</script>
1533
- <dd class="spec passed"><span class="passed_spec_name">should be empty (arbitrary predicate)</span></dd>
1534
- <script type="text/javascript">moveProgressBar('27.2');</script>
1535
- <dd class="spec passed"><span class="passed_spec_name">should not be empty (arbitrary predicate)</span></dd>
1536
- <script type="text/javascript">moveProgressBar('27.3');</script>
1537
- <dd class="spec passed"><span class="passed_spec_name">should be true</span></dd>
1538
- <script type="text/javascript">moveProgressBar('27.3');</script>
1539
- <dd class="spec passed"><span class="passed_spec_name">should be false</span></dd>
1540
- <script type="text/javascript">moveProgressBar('27.4');</script>
1541
- <dd class="spec passed"><span class="passed_spec_name">should be nil</span></dd>
1542
- <script type="text/javascript">moveProgressBar('27.5');</script>
1543
- <dd class="spec passed"><span class="passed_spec_name">should be &gt; n</span></dd>
1544
- <script type="text/javascript">moveProgressBar('27.6');</script>
1545
- <dd class="spec passed"><span class="passed_spec_name">should be predicate arg1, arg2 and arg3</span></dd>
1546
- <script type="text/javascript">moveProgressBar('27.7');</script>
1547
- <dd class="spec passed"><span class="passed_spec_name">should be_few_words predicate should be transformed to 'be few words'</span></dd>
1548
- <script type="text/javascript">moveProgressBar('27.7');</script>
1549
- <dd class="spec passed"><span class="passed_spec_name">should preserve a proper prefix for be predicate</span></dd>
1550
- <script type="text/javascript">moveProgressBar('27.8');</script>
1551
- <dd class="spec passed"><span class="passed_spec_name">should equal</span></dd>
1552
- <script type="text/javascript">moveProgressBar('27.9');</script>
1553
- <dd class="spec passed"><span class="passed_spec_name">should_not equal</span></dd>
1554
- <script type="text/javascript">moveProgressBar('28.0');</script>
1555
- <dd class="spec passed"><span class="passed_spec_name">should eql</span></dd>
1556
- <script type="text/javascript">moveProgressBar('28.1');</script>
1557
- <dd class="spec passed"><span class="passed_spec_name">should not eql</span></dd>
1558
- <script type="text/javascript">moveProgressBar('28.1');</script>
1559
- <dd class="spec passed"><span class="passed_spec_name">should have_key</span></dd>
1560
- <script type="text/javascript">moveProgressBar('28.2');</script>
1561
- <dd class="spec passed"><span class="passed_spec_name">should have n items</span></dd>
1562
- <script type="text/javascript">moveProgressBar('28.3');</script>
1563
- <dd class="spec passed"><span class="passed_spec_name">should have at least n items</span></dd>
1564
- <script type="text/javascript">moveProgressBar('28.4');</script>
1565
- <dd class="spec passed"><span class="passed_spec_name">should have at most n items</span></dd>
1566
- <script type="text/javascript">moveProgressBar('28.5');</script>
1567
- <dd class="spec passed"><span class="passed_spec_name">should include</span></dd>
1568
- <script type="text/javascript">moveProgressBar('28.5');</script>
1569
- <dd class="spec passed"><span class="passed_spec_name">should match</span></dd>
1570
- <script type="text/javascript">moveProgressBar('28.6');</script>
1571
- <dd class="spec passed"><span class="passed_spec_name">should raise_error</span></dd>
1572
- <script type="text/javascript">moveProgressBar('28.7');</script>
1573
- <dd class="spec passed"><span class="passed_spec_name">should raise_error with type</span></dd>
1574
- <script type="text/javascript">moveProgressBar('28.8');</script>
1575
- <dd class="spec passed"><span class="passed_spec_name">should raise_error with type and message</span></dd>
1576
- <script type="text/javascript">moveProgressBar('28.9');</script>
1577
- <dd class="spec passed"><span class="passed_spec_name">should respond_to</span></dd>
1578
- <script type="text/javascript">moveProgressBar('28.9');</script>
1579
- <dd class="spec passed"><span class="passed_spec_name">should throw symbol</span></dd>
1580
- <script type="text/javascript">moveProgressBar('29.0');</script>
1581
- <dd class="spec passed"><span class="passed_spec_name">should throw symbol (with named symbol)</span></dd>
1582
- </dl>
1583
- </div>
1584
- <div class="example_group">
1585
- <dl>
1586
- <dt id="example_group_136">Spec::Matchers::Eql</dt>
1587
- <script type="text/javascript">moveProgressBar('29.1');</script>
1588
- <dd class="spec passed"><span class="passed_spec_name">should match when actual.eql?(expected)</span></dd>
1589
- <script type="text/javascript">moveProgressBar('29.2');</script>
1590
- <dd class="spec passed"><span class="passed_spec_name">should not match when !actual.eql?(expected)</span></dd>
1591
- <script type="text/javascript">moveProgressBar('29.3');</script>
1592
- <dd class="spec passed"><span class="passed_spec_name">should describe itself</span></dd>
1593
- <script type="text/javascript">moveProgressBar('29.4');</script>
1594
- <dd class="spec passed"><span class="passed_spec_name">should provide message, expected and actual on #failure_message</span></dd>
1595
- <script type="text/javascript">moveProgressBar('29.4');</script>
1596
- <dd class="spec passed"><span class="passed_spec_name">should provide message, expected and actual on #negative_failure_message</span></dd>
1597
- </dl>
1598
- </div>
1599
- <div class="example_group">
1600
- <dl>
1601
- <dt id="example_group_137">Spec::Matchers::Equal</dt>
1602
- <script type="text/javascript">moveProgressBar('29.5');</script>
1603
- <dd class="spec passed"><span class="passed_spec_name">should match when actual.equal?(expected)</span></dd>
1604
- <script type="text/javascript">moveProgressBar('29.6');</script>
1605
- <dd class="spec passed"><span class="passed_spec_name">should not match when !actual.equal?(expected)</span></dd>
1606
- <script type="text/javascript">moveProgressBar('29.7');</script>
1607
- <dd class="spec passed"><span class="passed_spec_name">should describe itself</span></dd>
1608
- <script type="text/javascript">moveProgressBar('29.8');</script>
1609
- <dd class="spec passed"><span class="passed_spec_name">should provide message, expected and actual on #failure_message</span></dd>
1610
- <script type="text/javascript">moveProgressBar('29.8');</script>
1611
- <dd class="spec passed"><span class="passed_spec_name">should provide message, expected and actual on #negative_failure_message</span></dd>
1612
- </dl>
1613
- </div>
1614
- <div class="example_group">
1615
- <dl>
1616
- <dt id="example_group_138">should exist, within an example group</dt>
1617
- <script type="text/javascript">moveProgressBar('29.9');</script>
1618
- <dd class="spec passed"><span class="passed_spec_name">should pass if target exists</span></dd>
1619
- <script type="text/javascript">moveProgressBar('30.0');</script>
1620
- <dd class="spec passed"><span class="passed_spec_name">should fail if target does not exist</span></dd>
1621
- <script type="text/javascript">moveProgressBar('30.1');</script>
1622
- <dd class="spec passed"><span class="passed_spec_name">should pass if target doesn't exist</span></dd>
1623
- </dl>
1624
- </div>
1625
- <div class="example_group">
1626
- <dl>
1627
- <dt id="example_group_139">should exist, outside of an example group</dt>
1628
- <script type="text/javascript">moveProgressBar('30.2');</script>
1629
- <dd class="spec passed"><span class="passed_spec_name">should pass if target exists</span></dd>
1630
- </dl>
1631
- </div>
1632
- <div class="example_group">
1633
- <dl>
1634
- <dt id="example_group_140">Spec::Expectations::ExpectationMatcherHandler.handle_matcher</dt>
1635
- <script type="text/javascript">moveProgressBar('30.2');</script>
1636
- <dd class="spec passed"><span class="passed_spec_name">should ask the matcher if it matches</span></dd>
1637
- <script type="text/javascript">moveProgressBar('30.3');</script>
1638
- <dd class="spec passed"><span class="passed_spec_name">should explain when the matcher parameter is not a matcher</span></dd>
1639
- </dl>
1640
- </div>
1641
- <div class="example_group">
1642
- <dl>
1643
- <dt id="example_group_141">Spec::Expectations::NegativeExpectationMatcherHandler.handle_matcher</dt>
1644
- <script type="text/javascript">moveProgressBar('30.4');</script>
1645
- <dd class="spec passed"><span class="passed_spec_name">should explain when matcher does not support should_not</span></dd>
1646
- <script type="text/javascript">moveProgressBar('30.5');</script>
1647
- <dd class="spec passed"><span class="passed_spec_name">should ask the matcher if it matches</span></dd>
1648
- <script type="text/javascript">moveProgressBar('30.6');</script>
1649
- <dd class="spec passed"><span class="passed_spec_name">should explain when the matcher parameter is not a matcher</span></dd>
1650
- </dl>
1651
- </div>
1652
- <div class="example_group">
1653
- <dl>
1654
- <dt id="example_group_142">Spec::Expectations::ExpectationMatcherHandler</dt>
1655
- <script type="text/javascript">moveProgressBar('30.6');</script>
1656
- <dd class="spec passed"><span class="passed_spec_name">should handle submitted args</span></dd>
1657
- <script type="text/javascript">moveProgressBar('30.7');</script>
1658
- <dd class="spec passed"><span class="passed_spec_name">should handle the submitted block</span></dd>
1659
- <script type="text/javascript">moveProgressBar('30.8');</script>
1660
- <dd class="spec passed"><span class="passed_spec_name">should explain when matcher does not support should_not</span></dd>
1661
- </dl>
1662
- </div>
1663
- <div class="example_group">
1664
- <dl>
1665
- <dt id="example_group_143">should have_sym(*args)</dt>
1666
- <script type="text/javascript">moveProgressBar('30.9');</script>
1667
- <dd class="spec passed"><span class="passed_spec_name">should pass if #has_sym?(*args) returns true</span></dd>
1668
- <script type="text/javascript">moveProgressBar('31.0');</script>
1669
- <dd class="spec passed"><span class="passed_spec_name">should fail if #has_sym?(*args) returns false</span></dd>
1670
- <script type="text/javascript">moveProgressBar('31.0');</script>
1671
- <dd class="spec passed"><span class="passed_spec_name">should fail if target does not respond to #has_sym?</span></dd>
1672
- </dl>
1673
- </div>
1674
- <div class="example_group">
1675
- <dl>
1676
- <dt id="example_group_144">should_not have_sym(*args)</dt>
1677
- <script type="text/javascript">moveProgressBar('31.1');</script>
1678
- <dd class="spec passed"><span class="passed_spec_name">should pass if #has_sym?(*args) returns false</span></dd>
1679
- <script type="text/javascript">moveProgressBar('31.2');</script>
1680
- <dd class="spec passed"><span class="passed_spec_name">should fail if #has_sym?(*args) returns true</span></dd>
1681
- <script type="text/javascript">moveProgressBar('31.3');</script>
1682
- <dd class="spec passed"><span class="passed_spec_name">should fail if target does not respond to #has_sym?</span></dd>
1683
- </dl>
1684
- </div>
1685
- <div class="example_group">
1686
- <dl>
1687
- <dt id="example_group_145">should have(n).items</dt>
1688
- <script type="text/javascript">moveProgressBar('31.4');</script>
1689
- <dd class="spec passed"><span class="passed_spec_name">should pass if target has a collection of items with n members</span></dd>
1690
- <script type="text/javascript">moveProgressBar('31.5');</script>
1691
- <dd class="spec passed"><span class="passed_spec_name">should convert :no to 0</span></dd>
1692
- <script type="text/javascript">moveProgressBar('31.5');</script>
1693
- <dd class="spec passed"><span class="passed_spec_name">should fail if target has a collection of items with &lt; n members</span></dd>
1694
- <script type="text/javascript">moveProgressBar('31.6');</script>
1695
- <dd class="spec passed"><span class="passed_spec_name">should fail if target has a collection of items with &gt; n members</span></dd>
1696
- </dl>
1697
- </div>
1698
- <div class="example_group">
1699
- <dl>
1700
- <dt id="example_group_146">should have(1).item when Inflector is defined</dt>
1701
- <script type="text/javascript">moveProgressBar('31.7');</script>
1702
- <dd class="spec passed"><span class="passed_spec_name">should pluralize the collection name</span></dd>
1703
- </dl>
1704
- </div>
1705
- <div class="example_group">
1706
- <dl>
1707
- <dt id="example_group_147">should have(n).items where result responds to items but returns something other than a collection</dt>
1708
- <script type="text/javascript">moveProgressBar('31.8');</script>
1709
- <dd class="spec passed"><span class="passed_spec_name">should provide a meaningful error</span></dd>
1710
- </dl>
1711
- </div>
1712
- <div class="example_group">
1713
- <dl>
1714
- <dt id="example_group_148">should_not have(n).items</dt>
1715
- <script type="text/javascript">moveProgressBar('31.9');</script>
1716
- <dd class="spec passed"><span class="passed_spec_name">should pass if target has a collection of items with &lt; n members</span></dd>
1717
- <script type="text/javascript">moveProgressBar('31.9');</script>
1718
- <dd class="spec passed"><span class="passed_spec_name">should pass if target has a collection of items with &gt; n members</span></dd>
1719
- <script type="text/javascript">moveProgressBar('32.0');</script>
1720
- <dd class="spec passed"><span class="passed_spec_name">should fail if target has a collection of items with n members</span></dd>
1721
- </dl>
1722
- </div>
1723
- <div class="example_group">
1724
- <dl>
1725
- <dt id="example_group_149">should have_exactly(n).items</dt>
1726
- <script type="text/javascript">moveProgressBar('32.1');</script>
1727
- <dd class="spec passed"><span class="passed_spec_name">should pass if target has a collection of items with n members</span></dd>
1728
- <script type="text/javascript">moveProgressBar('32.2');</script>
1729
- <dd class="spec passed"><span class="passed_spec_name">should convert :no to 0</span></dd>
1730
- <script type="text/javascript">moveProgressBar('32.3');</script>
1731
- <dd class="spec passed"><span class="passed_spec_name">should fail if target has a collection of items with &lt; n members</span></dd>
1732
- <script type="text/javascript">moveProgressBar('32.3');</script>
1733
- <dd class="spec passed"><span class="passed_spec_name">should fail if target has a collection of items with &gt; n members</span></dd>
1734
- </dl>
1735
- </div>
1736
- <div class="example_group">
1737
- <dl>
1738
- <dt id="example_group_150">should have_at_least(n).items</dt>
1739
- <script type="text/javascript">moveProgressBar('32.4');</script>
1740
- <dd class="spec passed"><span class="passed_spec_name">should pass if target has a collection of items with n members</span></dd>
1741
- <script type="text/javascript">moveProgressBar('32.5');</script>
1742
- <dd class="spec passed"><span class="passed_spec_name">should pass if target has a collection of items with &gt; n members</span></dd>
1743
- <script type="text/javascript">moveProgressBar('32.6');</script>
1744
- <dd class="spec passed"><span class="passed_spec_name">should fail if target has a collection of items with &lt; n members</span></dd>
1745
- <script type="text/javascript">moveProgressBar('32.7');</script>
1746
- <dd class="spec passed"><span class="passed_spec_name">should provide educational negative failure messages</span></dd>
1747
- </dl>
1748
- </div>
1749
- <div class="example_group">
1750
- <dl>
1751
- <dt id="example_group_151">should have_at_most(n).items</dt>
1752
- <script type="text/javascript">moveProgressBar('32.7');</script>
1753
- <dd class="spec passed"><span class="passed_spec_name">should pass if target has a collection of items with n members</span></dd>
1754
- <script type="text/javascript">moveProgressBar('32.8');</script>
1755
- <dd class="spec passed"><span class="passed_spec_name">should fail if target has a collection of items with &gt; n members</span></dd>
1756
- <script type="text/javascript">moveProgressBar('32.9');</script>
1757
- <dd class="spec passed"><span class="passed_spec_name">should pass if target has a collection of items with &lt; n members</span></dd>
1758
- <script type="text/javascript">moveProgressBar('33.0');</script>
1759
- <dd class="spec passed"><span class="passed_spec_name">should provide educational negative failure messages</span></dd>
1760
- </dl>
1761
- </div>
1762
- <div class="example_group">
1763
- <dl>
1764
- <dt id="example_group_152">have(n).items(args, block)</dt>
1765
- <script type="text/javascript">moveProgressBar('33.1');</script>
1766
- <dd class="spec passed"><span class="passed_spec_name">should pass args to target</span></dd>
1767
- <script type="text/javascript">moveProgressBar('33.1');</script>
1768
- <dd class="spec passed"><span class="passed_spec_name">should pass block to target</span></dd>
1769
- </dl>
1770
- </div>
1771
- <div class="example_group">
1772
- <dl>
1773
- <dt id="example_group_153">have(n).items where target IS a collection</dt>
1774
- <script type="text/javascript">moveProgressBar('33.2');</script>
1775
- <dd class="spec passed"><span class="passed_spec_name">should reference the number of items IN the collection</span></dd>
1776
- <script type="text/javascript">moveProgressBar('33.3');</script>
1777
- <dd class="spec passed"><span class="passed_spec_name">should fail when the number of items IN the collection is not as expected</span></dd>
1778
- </dl>
1779
- </div>
1780
- <div class="example_group">
1781
- <dl>
1782
- <dt id="example_group_154">have(n).characters where target IS a String</dt>
1783
- <script type="text/javascript">moveProgressBar('33.4');</script>
1784
- <dd class="spec passed"><span class="passed_spec_name">should pass if the length is correct</span></dd>
1785
- <script type="text/javascript">moveProgressBar('33.5');</script>
1786
- <dd class="spec passed"><span class="passed_spec_name">should fail if the length is incorrect</span></dd>
1787
- </dl>
1788
- </div>
1789
- <div class="example_group">
1790
- <dl>
1791
- <dt id="example_group_155">have(n).things on an object which is not a collection nor contains one</dt>
1792
- <script type="text/javascript">moveProgressBar('33.6');</script>
1793
- <dd class="spec passed"><span class="passed_spec_name">should fail</span></dd>
1794
- </dl>
1795
- </div>
1796
- <div class="example_group">
1797
- <dl>
1798
- <dt id="example_group_156">should include(expected)</dt>
1799
- <script type="text/javascript">moveProgressBar('33.6');</script>
1800
- <dd class="spec passed"><span class="passed_spec_name">should pass if target includes expected</span></dd>
1801
- <script type="text/javascript">moveProgressBar('33.7');</script>
1802
- <dd class="spec passed"><span class="passed_spec_name">should fail if target does not include expected</span></dd>
1803
- </dl>
1804
- </div>
1805
- <div class="example_group">
1806
- <dl>
1807
- <dt id="example_group_157">should include(with, multiple, args)</dt>
1808
- <script type="text/javascript">moveProgressBar('33.8');</script>
1809
- <dd class="spec passed"><span class="passed_spec_name">should pass if target includes all items</span></dd>
1810
- <script type="text/javascript">moveProgressBar('33.9');</script>
1811
- <dd class="spec passed"><span class="passed_spec_name">should fail if target does not include any one of the items</span></dd>
1812
- </dl>
1813
- </div>
1814
- <div class="example_group">
1815
- <dl>
1816
- <dt id="example_group_158">should_not include(expected)</dt>
1817
- <script type="text/javascript">moveProgressBar('34.0');</script>
1818
- <dd class="spec passed"><span class="passed_spec_name">should pass if target does not include expected</span></dd>
1819
- <script type="text/javascript">moveProgressBar('34.0');</script>
1820
- <dd class="spec passed"><span class="passed_spec_name">should fail if target includes expected</span></dd>
1821
- </dl>
1822
- </div>
1823
- <div class="example_group">
1824
- <dl>
1825
- <dt id="example_group_159">should match(expected)</dt>
1826
- <script type="text/javascript">moveProgressBar('34.1');</script>
1827
- <dd class="spec passed"><span class="passed_spec_name">should pass when target (String) matches expected (Regexp)</span></dd>
1828
- <script type="text/javascript">moveProgressBar('34.2');</script>
1829
- <dd class="spec passed"><span class="passed_spec_name">should fail when target (String) does not match expected (Regexp)</span></dd>
1830
- <script type="text/javascript">moveProgressBar('34.3');</script>
1831
- <dd class="spec passed"><span class="passed_spec_name">should provide message, expected and actual on failure</span></dd>
1832
- </dl>
1833
- </div>
1834
- <div class="example_group">
1835
- <dl>
1836
- <dt id="example_group_160">should_not match(expected)</dt>
1837
- <script type="text/javascript">moveProgressBar('34.4');</script>
1838
- <dd class="spec passed"><span class="passed_spec_name">should pass when target (String) matches does not match (Regexp)</span></dd>
1839
- <script type="text/javascript">moveProgressBar('34.4');</script>
1840
- <dd class="spec passed"><span class="passed_spec_name">should fail when target (String) matches expected (Regexp)</span></dd>
1841
- <script type="text/javascript">moveProgressBar('34.5');</script>
1842
- <dd class="spec passed"><span class="passed_spec_name">should provide message, expected and actual on failure</span></dd>
1843
- </dl>
1844
- </div>
1845
- <div class="example_group">
1846
- <dl>
1847
- <dt id="example_group_161">The Spec::Matchers module gets included in the execution context of every spec.
1848
- This module should provide the following methods, each of which returns a Matcher object.</dt>
1849
- <script type="text/javascript">moveProgressBar('34.6');</script>
1850
- <dd class="spec passed"><span class="passed_spec_name">be_true</span></dd>
1851
- <script type="text/javascript">moveProgressBar('34.7');</script>
1852
- <dd class="spec passed"><span class="passed_spec_name">be_false</span></dd>
1853
- <script type="text/javascript">moveProgressBar('34.8');</script>
1854
- <dd class="spec passed"><span class="passed_spec_name">be_nil</span></dd>
1855
- <script type="text/javascript">moveProgressBar('34.8');</script>
1856
- <dd class="spec passed"><span class="passed_spec_name">be_arbitrary_predicate</span></dd>
1857
- <script type="text/javascript">moveProgressBar('34.9');</script>
1858
- <dd class="spec passed"><span class="passed_spec_name">be_close</span></dd>
1859
- <script type="text/javascript">moveProgressBar('35.0');</script>
1860
- <dd class="spec passed"><span class="passed_spec_name">change</span></dd>
1861
- <script type="text/javascript">moveProgressBar('35.1');</script>
1862
- <dd class="spec passed"><span class="passed_spec_name">eql</span></dd>
1863
- <script type="text/javascript">moveProgressBar('35.2');</script>
1864
- <dd class="spec passed"><span class="passed_spec_name">equal</span></dd>
1865
- <script type="text/javascript">moveProgressBar('35.2');</script>
1866
- <dd class="spec passed"><span class="passed_spec_name">have</span></dd>
1867
- <script type="text/javascript">moveProgressBar('35.3');</script>
1868
- <dd class="spec passed"><span class="passed_spec_name">have_exactly</span></dd>
1869
- <script type="text/javascript">moveProgressBar('35.4');</script>
1870
- <dd class="spec passed"><span class="passed_spec_name">have_at_least</span></dd>
1871
- <script type="text/javascript">moveProgressBar('35.5');</script>
1872
- <dd class="spec passed"><span class="passed_spec_name">have_at_most</span></dd>
1873
- <script type="text/javascript">moveProgressBar('35.6');</script>
1874
- <dd class="spec passed"><span class="passed_spec_name">include</span></dd>
1875
- <script type="text/javascript">moveProgressBar('35.7');</script>
1876
- <dd class="spec passed"><span class="passed_spec_name">match</span></dd>
1877
- <script type="text/javascript">moveProgressBar('35.7');</script>
1878
- <dd class="spec passed"><span class="passed_spec_name">raise_error</span></dd>
1879
- <script type="text/javascript">moveProgressBar('35.8');</script>
1880
- <dd class="spec passed"><span class="passed_spec_name">satisfy</span></dd>
1881
- <script type="text/javascript">moveProgressBar('35.9');</script>
1882
- <dd class="spec passed"><span class="passed_spec_name">throw_symbol</span></dd>
1883
- <script type="text/javascript">moveProgressBar('36.0');</script>
1884
- <dd class="spec passed"><span class="passed_spec_name">respond_to</span></dd>
1885
- </dl>
1886
- </div>
1887
- <div class="example_group">
1888
- <dl>
1889
- <dt id="example_group_162">Spec::Matchers#method_missing</dt>
1890
- <script type="text/javascript">moveProgressBar('36.1');</script>
1891
- <dd class="spec passed"><span class="passed_spec_name">should convert be_xyz to Be(:be_xyz)</span></dd>
1892
- <script type="text/javascript">moveProgressBar('36.1');</script>
1893
- <dd class="spec passed"><span class="passed_spec_name">should convert have_xyz to Has(:have_xyz)</span></dd>
1894
- </dl>
1895
- </div>
1896
- <div class="example_group">
1897
- <dl>
1898
- <dt id="example_group_163">The anything() mock argument constraint matcher</dt>
1899
- <script type="text/javascript">moveProgressBar('36.2');</script>
1900
- <dd class="spec passed"><span class="passed_spec_name">should == #&lt;Object:0x1838988&gt;</span></dd>
1901
- <script type="text/javascript">moveProgressBar('36.3');</script>
1902
- <dd class="spec passed"><span class="passed_spec_name">should == Class</span></dd>
1903
- <script type="text/javascript">moveProgressBar('36.4');</script>
1904
- <dd class="spec passed"><span class="passed_spec_name">should == 1</span></dd>
1905
- <script type="text/javascript">moveProgressBar('36.5');</script>
1906
- <dd class="spec passed"><span class="passed_spec_name">should == &quot;a string&quot;</span></dd>
1907
- <script type="text/javascript">moveProgressBar('36.5');</script>
1908
- <dd class="spec passed"><span class="passed_spec_name">should == :a_symbol</span></dd>
1909
- </dl>
1910
- </div>
1911
- <div class="example_group">
1912
- <dl>
1913
- <dt id="example_group_164">The boolean() mock argument constraint matcher</dt>
1914
- <script type="text/javascript">moveProgressBar('36.6');</script>
1915
- <dd class="spec passed"><span class="passed_spec_name">should == true</span></dd>
1916
- <script type="text/javascript">moveProgressBar('36.7');</script>
1917
- <dd class="spec passed"><span class="passed_spec_name">should == false</span></dd>
1918
- <script type="text/javascript">moveProgressBar('36.8');</script>
1919
- <dd class="spec passed"><span class="passed_spec_name">should not == #&lt;Object:0x182e834&gt;</span></dd>
1920
- <script type="text/javascript">moveProgressBar('36.9');</script>
1921
- <dd class="spec passed"><span class="passed_spec_name">should not == Class</span></dd>
1922
- <script type="text/javascript">moveProgressBar('36.9');</script>
1923
- <dd class="spec passed"><span class="passed_spec_name">should not == 1</span></dd>
1924
- <script type="text/javascript">moveProgressBar('37.0');</script>
1925
- <dd class="spec passed"><span class="passed_spec_name">should not == &quot;a string&quot;</span></dd>
1926
- <script type="text/javascript">moveProgressBar('37.1');</script>
1927
- <dd class="spec passed"><span class="passed_spec_name">should not == :a_symbol</span></dd>
1928
- </dl>
1929
- </div>
1930
- <div class="example_group">
1931
- <dl>
1932
- <dt id="example_group_165">The an_instance_of() mock argument constraint matcher</dt>
1933
- <script type="text/javascript">moveProgressBar('37.2');</script>
1934
- <dd class="spec passed"><span class="passed_spec_name">should == &quot;string&quot;</span></dd>
1935
- </dl>
1936
- </div>
1937
- <div class="example_group">
1938
- <dl>
1939
- <dt id="example_group_166">should ==</dt>
1940
- <script type="text/javascript">moveProgressBar('37.3');</script>
1941
- <dd class="spec passed"><span class="passed_spec_name">should delegate message to target</span></dd>
1942
- <script type="text/javascript">moveProgressBar('37.3');</script>
1943
- <dd class="spec passed"><span class="passed_spec_name">should fail when target.==(actual) returns false</span></dd>
1944
- </dl>
1945
- </div>
1946
- <div class="example_group">
1947
- <dl>
1948
- <dt id="example_group_167">should_not ==</dt>
1949
- <script type="text/javascript">moveProgressBar('37.4');</script>
1950
- <dd class="spec passed"><span class="passed_spec_name">should delegate message to target</span></dd>
1951
- <script type="text/javascript">moveProgressBar('37.5');</script>
1952
- <dd class="spec passed"><span class="passed_spec_name">should fail when target.==(actual) returns false</span></dd>
1953
- </dl>
1954
- </div>
1955
- <div class="example_group">
1956
- <dl>
1957
- <dt id="example_group_168">should ===</dt>
1958
- <script type="text/javascript">moveProgressBar('37.6');</script>
1959
- <dd class="spec passed"><span class="passed_spec_name">should delegate message to target</span></dd>
1960
- <script type="text/javascript">moveProgressBar('37.7');</script>
1961
- <dd class="spec passed"><span class="passed_spec_name">should fail when target.===(actual) returns false</span></dd>
1962
- </dl>
1963
- </div>
1964
- <div class="example_group">
1965
- <dl>
1966
- <dt id="example_group_169">should_not ===</dt>
1967
- <script type="text/javascript">moveProgressBar('37.8');</script>
1968
- <dd class="spec passed"><span class="passed_spec_name">should delegate message to target</span></dd>
1969
- <script type="text/javascript">moveProgressBar('37.8');</script>
1970
- <dd class="spec passed"><span class="passed_spec_name">should fail when target.===(actual) returns false</span></dd>
1971
- </dl>
1972
- </div>
1973
- <div class="example_group">
1974
- <dl>
1975
- <dt id="example_group_170">should =~</dt>
1976
- <script type="text/javascript">moveProgressBar('37.9');</script>
1977
- <dd class="spec passed"><span class="passed_spec_name">should delegate message to target</span></dd>
1978
- <script type="text/javascript">moveProgressBar('38.0');</script>
1979
- <dd class="spec passed"><span class="passed_spec_name">should fail when target.=~(actual) returns false</span></dd>
1980
- </dl>
1981
- </div>
1982
- <div class="example_group">
1983
- <dl>
1984
- <dt id="example_group_171">should_not =~</dt>
1985
- <script type="text/javascript">moveProgressBar('38.1');</script>
1986
- <dd class="spec passed"><span class="passed_spec_name">should delegate message to target</span></dd>
1987
- <script type="text/javascript">moveProgressBar('38.2');</script>
1988
- <dd class="spec passed"><span class="passed_spec_name">should fail when target.=~(actual) returns false</span></dd>
1989
- </dl>
1990
- </div>
1991
- <div class="example_group">
1992
- <dl>
1993
- <dt id="example_group_172">should &gt;</dt>
1994
- <script type="text/javascript">moveProgressBar('38.2');</script>
1995
- <dd class="spec passed"><span class="passed_spec_name">should pass if &gt; passes</span></dd>
1996
- <script type="text/javascript">moveProgressBar('38.3');</script>
1997
- <dd class="spec passed"><span class="passed_spec_name">should fail if &gt; fails</span></dd>
1998
- </dl>
1999
- </div>
2000
- <div class="example_group">
2001
- <dl>
2002
- <dt id="example_group_173">should &gt;=</dt>
2003
- <script type="text/javascript">moveProgressBar('38.4');</script>
2004
- <dd class="spec passed"><span class="passed_spec_name">should pass if &gt;= passes</span></dd>
2005
- <script type="text/javascript">moveProgressBar('38.5');</script>
2006
- <dd class="spec passed"><span class="passed_spec_name">should fail if &gt; fails</span></dd>
2007
- </dl>
2008
- </div>
2009
- <div class="example_group">
2010
- <dl>
2011
- <dt id="example_group_174">should &lt;</dt>
2012
- <script type="text/javascript">moveProgressBar('38.6');</script>
2013
- <dd class="spec passed"><span class="passed_spec_name">should pass if &lt; passes</span></dd>
2014
- <script type="text/javascript">moveProgressBar('38.6');</script>
2015
- <dd class="spec passed"><span class="passed_spec_name">should fail if &gt; fails</span></dd>
2016
- </dl>
2017
- </div>
2018
- <div class="example_group">
2019
- <dl>
2020
- <dt id="example_group_175">should &lt;=</dt>
2021
- <script type="text/javascript">moveProgressBar('38.7');</script>
2022
- <dd class="spec passed"><span class="passed_spec_name">should pass if &lt;= passes</span></dd>
2023
- <script type="text/javascript">moveProgressBar('38.8');</script>
2024
- <dd class="spec passed"><span class="passed_spec_name">should fail if &gt; fails</span></dd>
2025
- </dl>
2026
- </div>
2027
- <div class="example_group">
2028
- <dl>
2029
- <dt id="example_group_176">should raise_error</dt>
2030
- <script type="text/javascript">moveProgressBar('38.9');</script>
2031
- <dd class="spec passed"><span class="passed_spec_name">should pass if anything is raised</span></dd>
2032
- <script type="text/javascript">moveProgressBar('39.0');</script>
2033
- <dd class="spec passed"><span class="passed_spec_name">should fail if nothing is raised</span></dd>
2034
- </dl>
2035
- </div>
2036
- <div class="example_group">
2037
- <dl>
2038
- <dt id="example_group_177">should_not raise_error</dt>
2039
- <script type="text/javascript">moveProgressBar('39.0');</script>
2040
- <dd class="spec passed"><span class="passed_spec_name">should pass if nothing is raised</span></dd>
2041
- <script type="text/javascript">moveProgressBar('39.1');</script>
2042
- <dd class="spec passed"><span class="passed_spec_name">should fail if anything is raised</span></dd>
2043
- </dl>
2044
- </div>
2045
- <div class="example_group">
2046
- <dl>
2047
- <dt id="example_group_178">should raise_error(message)</dt>
2048
- <script type="text/javascript">moveProgressBar('39.2');</script>
2049
- <dd class="spec passed"><span class="passed_spec_name">should pass if RuntimeError is raised with the right message</span></dd>
2050
- <script type="text/javascript">moveProgressBar('39.3');</script>
2051
- <dd class="spec passed"><span class="passed_spec_name">should pass if any other error is raised with the right message</span></dd>
2052
- <script type="text/javascript">moveProgressBar('39.4');</script>
2053
- <dd class="spec passed"><span class="passed_spec_name">should fail if RuntimeError error is raised with the wrong message</span></dd>
2054
- <script type="text/javascript">moveProgressBar('39.4');</script>
2055
- <dd class="spec passed"><span class="passed_spec_name">should fail if any other error is raised with the wrong message</span></dd>
2056
- </dl>
2057
- </div>
2058
- <div class="example_group">
2059
- <dl>
2060
- <dt id="example_group_179">should_not raise_error(message)</dt>
2061
- <script type="text/javascript">moveProgressBar('39.5');</script>
2062
- <dd class="spec passed"><span class="passed_spec_name">should pass if RuntimeError error is raised with the different message</span></dd>
2063
- <script type="text/javascript">moveProgressBar('39.6');</script>
2064
- <dd class="spec passed"><span class="passed_spec_name">should pass if any other error is raised with the wrong message</span></dd>
2065
- <script type="text/javascript">moveProgressBar('39.7');</script>
2066
- <dd class="spec passed"><span class="passed_spec_name">should fail if RuntimeError is raised with message</span></dd>
2067
- <script type="text/javascript">moveProgressBar('39.8');</script>
2068
- <dd class="spec passed"><span class="passed_spec_name">should fail if any other error is raised with message</span></dd>
2069
- </dl>
2070
- </div>
2071
- <div class="example_group">
2072
- <dl>
2073
- <dt id="example_group_180">should raise_error(NamedError)</dt>
2074
- <script type="text/javascript">moveProgressBar('39.9');</script>
2075
- <dd class="spec passed"><span class="passed_spec_name">should pass if named error is raised</span></dd>
2076
- <script type="text/javascript">moveProgressBar('39.9');</script>
2077
- <dd class="spec passed"><span class="passed_spec_name">should fail if nothing is raised</span></dd>
2078
- <script type="text/javascript">moveProgressBar('40.0');</script>
2079
- <dd class="spec passed"><span class="passed_spec_name">should fail if another error is raised</span></dd>
2080
- </dl>
2081
- </div>
2082
- <div class="example_group">
2083
- <dl>
2084
- <dt id="example_group_181">should_not raise_error(NamedError)</dt>
2085
- <script type="text/javascript">moveProgressBar('40.1');</script>
2086
- <dd class="spec passed"><span class="passed_spec_name">should pass if nothing is raised</span></dd>
2087
- <script type="text/javascript">moveProgressBar('40.2');</script>
2088
- <dd class="spec passed"><span class="passed_spec_name">should pass if another error is raised</span></dd>
2089
- <script type="text/javascript">moveProgressBar('40.3');</script>
2090
- <dd class="spec passed"><span class="passed_spec_name">should fail if named error is raised</span></dd>
2091
- </dl>
2092
- </div>
2093
- <div class="example_group">
2094
- <dl>
2095
- <dt id="example_group_182">should raise_error(NamedError, error_message) with String</dt>
2096
- <script type="text/javascript">moveProgressBar('40.3');</script>
2097
- <dd class="spec passed"><span class="passed_spec_name">should pass if named error is raised with same message</span></dd>
2098
- <script type="text/javascript">moveProgressBar('40.4');</script>
2099
- <dd class="spec passed"><span class="passed_spec_name">should fail if nothing is raised</span></dd>
2100
- <script type="text/javascript">moveProgressBar('40.5');</script>
2101
- <dd class="spec passed"><span class="passed_spec_name">should fail if incorrect error is raised</span></dd>
2102
- <script type="text/javascript">moveProgressBar('40.6');</script>
2103
- <dd class="spec passed"><span class="passed_spec_name">should fail if correct error is raised with incorrect message</span></dd>
2104
- </dl>
2105
- </div>
2106
- <div class="example_group">
2107
- <dl>
2108
- <dt id="example_group_183">should_not raise_error(NamedError, error_message) with String</dt>
2109
- <script type="text/javascript">moveProgressBar('40.7');</script>
2110
- <dd class="spec passed"><span class="passed_spec_name">should pass if nothing is raised</span></dd>
2111
- <script type="text/javascript">moveProgressBar('40.7');</script>
2112
- <dd class="spec passed"><span class="passed_spec_name">should pass if a different error is raised</span></dd>
2113
- <script type="text/javascript">moveProgressBar('40.8');</script>
2114
- <dd class="spec passed"><span class="passed_spec_name">should pass if same error is raised with different message</span></dd>
2115
- <script type="text/javascript">moveProgressBar('40.9');</script>
2116
- <dd class="spec passed"><span class="passed_spec_name">should fail if named error is raised with same message</span></dd>
2117
- </dl>
2118
- </div>
2119
- <div class="example_group">
2120
- <dl>
2121
- <dt id="example_group_184">should raise_error(NamedError, error_message) with Regexp</dt>
2122
- <script type="text/javascript">moveProgressBar('41.0');</script>
2123
- <dd class="spec passed"><span class="passed_spec_name">should pass if named error is raised with matching message</span></dd>
2124
- <script type="text/javascript">moveProgressBar('41.1');</script>
2125
- <dd class="spec passed"><span class="passed_spec_name">should fail if nothing is raised</span></dd>
2126
- <script type="text/javascript">moveProgressBar('41.1');</script>
2127
- <dd class="spec passed"><span class="passed_spec_name">should fail if incorrect error is raised</span></dd>
2128
- <script type="text/javascript">moveProgressBar('41.2');</script>
2129
- <dd class="spec passed"><span class="passed_spec_name">should fail if correct error is raised with incorrect message</span></dd>
2130
- </dl>
2131
- </div>
2132
- <div class="example_group">
2133
- <dl>
2134
- <dt id="example_group_185">should_not raise_error(NamedError, error_message) with Regexp</dt>
2135
- <script type="text/javascript">moveProgressBar('41.3');</script>
2136
- <dd class="spec passed"><span class="passed_spec_name">should pass if nothing is raised</span></dd>
2137
- <script type="text/javascript">moveProgressBar('41.4');</script>
2138
- <dd class="spec passed"><span class="passed_spec_name">should pass if a different error is raised</span></dd>
2139
- <script type="text/javascript">moveProgressBar('41.5');</script>
2140
- <dd class="spec passed"><span class="passed_spec_name">should pass if same error is raised with non-matching message</span></dd>
2141
- <script type="text/javascript">moveProgressBar('41.5');</script>
2142
- <dd class="spec passed"><span class="passed_spec_name">should fail if named error is raised with matching message</span></dd>
2143
- </dl>
2144
- </div>
2145
- <div class="example_group">
2146
- <dl>
2147
- <dt id="example_group_186">should respond_to(:sym)</dt>
2148
- <script type="text/javascript">moveProgressBar('41.6');</script>
2149
- <dd class="spec passed"><span class="passed_spec_name">should pass if target responds to :sym</span></dd>
2150
- <script type="text/javascript">moveProgressBar('41.7');</script>
2151
- <dd class="spec passed"><span class="passed_spec_name">should fail target does not respond to :sym</span></dd>
2152
- </dl>
2153
- </div>
2154
- <div class="example_group">
2155
- <dl>
2156
- <dt id="example_group_187">should respond_to(message1, message2)</dt>
2157
- <script type="text/javascript">moveProgressBar('41.8');</script>
2158
- <dd class="spec passed"><span class="passed_spec_name">should pass if target responds to both messages</span></dd>
2159
- <script type="text/javascript">moveProgressBar('41.9');</script>
2160
- <dd class="spec passed"><span class="passed_spec_name">should fail target does not respond to first message</span></dd>
2161
- <script type="text/javascript">moveProgressBar('42.0');</script>
2162
- <dd class="spec passed"><span class="passed_spec_name">should fail target does not respond to second message</span></dd>
2163
- <script type="text/javascript">moveProgressBar('42.0');</script>
2164
- <dd class="spec passed"><span class="passed_spec_name">should fail target does not respond to either message</span></dd>
2165
- </dl>
2166
- </div>
2167
- <div class="example_group">
2168
- <dl>
2169
- <dt id="example_group_188">should_not respond_to(:sym)</dt>
2170
- <script type="text/javascript">moveProgressBar('42.1');</script>
2171
- <dd class="spec passed"><span class="passed_spec_name">should pass if target does not respond to :sym</span></dd>
2172
- <script type="text/javascript">moveProgressBar('42.2');</script>
2173
- <dd class="spec passed"><span class="passed_spec_name">should fail target responds to :sym</span></dd>
2174
- </dl>
2175
- </div>
2176
- <div class="example_group">
2177
- <dl>
2178
- <dt id="example_group_189">should satisfy { block }</dt>
2179
- <script type="text/javascript">moveProgressBar('42.3');</script>
2180
- <dd class="spec passed"><span class="passed_spec_name">should pass if block returns true</span></dd>
2181
- <script type="text/javascript">moveProgressBar('42.4');</script>
2182
- <dd class="spec passed"><span class="passed_spec_name">should fail if block returns false</span></dd>
2183
- </dl>
2184
- </div>
2185
- <div class="example_group">
2186
- <dl>
2187
- <dt id="example_group_190">should_not satisfy { block }</dt>
2188
- <script type="text/javascript">moveProgressBar('42.4');</script>
2189
- <dd class="spec passed"><span class="passed_spec_name">should pass if block returns false</span></dd>
2190
- <script type="text/javascript">moveProgressBar('42.5');</script>
2191
- <dd class="spec passed"><span class="passed_spec_name">should fail if block returns true</span></dd>
2192
- </dl>
2193
- </div>
2194
- <div class="example_group">
2195
- <dl>
2196
- <dt id="example_group_191">Spec::Matchers::SimpleMatcher</dt>
2197
- <script type="text/javascript">moveProgressBar('42.6');</script>
2198
- <dd class="spec passed"><span class="passed_spec_name">should match pass match arg to block</span></dd>
2199
- <script type="text/javascript">moveProgressBar('42.7');</script>
2200
- <dd class="spec passed"><span class="passed_spec_name">should provide a stock failure message</span></dd>
2201
- <script type="text/javascript">moveProgressBar('42.8');</script>
2202
- <dd class="spec passed"><span class="passed_spec_name">should provide a stock negative failure message</span></dd>
2203
- <script type="text/javascript">moveProgressBar('42.8');</script>
2204
- <dd class="spec passed"><span class="passed_spec_name">should provide a description</span></dd>
2205
- </dl>
2206
- </div>
2207
- <div class="example_group">
2208
- <dl>
2209
- <dt id="example_group_192">Spec::Matchers::ThrowSymbol (constructed with no Symbol)</dt>
2210
- <script type="text/javascript">moveProgressBar('42.9');</script>
2211
- <dd class="spec passed"><span class="passed_spec_name">should match if any Symbol is thrown</span></dd>
2212
- <script type="text/javascript">moveProgressBar('43.0');</script>
2213
- <dd class="spec passed"><span class="passed_spec_name">should not match if no Symbol is thrown</span></dd>
2214
- <script type="text/javascript">moveProgressBar('43.1');</script>
2215
- <dd class="spec passed"><span class="passed_spec_name">should provide a failure message</span></dd>
2216
- <script type="text/javascript">moveProgressBar('43.2');</script>
2217
- <dd class="spec passed"><span class="passed_spec_name">should provide a negative failure message</span></dd>
2218
- </dl>
2219
- </div>
2220
- <div class="example_group">
2221
- <dl>
2222
- <dt id="example_group_193">Spec::Matchers::ThrowSymbol (constructed with a Symbol)</dt>
2223
- <script type="text/javascript">moveProgressBar('43.2');</script>
2224
- <dd class="spec passed"><span class="passed_spec_name">should match if correct Symbol is thrown</span></dd>
2225
- <script type="text/javascript">moveProgressBar('43.3');</script>
2226
- <dd class="spec passed"><span class="passed_spec_name">should not match if no Symbol is thrown</span></dd>
2227
- <script type="text/javascript">moveProgressBar('43.4');</script>
2228
- <dd class="spec passed"><span class="passed_spec_name">should not match if correct Symbol is thrown</span></dd>
2229
- <script type="text/javascript">moveProgressBar('43.5');</script>
2230
- <dd class="spec passed"><span class="passed_spec_name">should provide a failure message when no Symbol is thrown</span></dd>
2231
- <script type="text/javascript">moveProgressBar('43.6');</script>
2232
- <dd class="spec passed"><span class="passed_spec_name">should provide a failure message when wrong Symbol is thrown</span></dd>
2233
- <script type="text/javascript">moveProgressBar('43.6');</script>
2234
- <dd class="spec passed"><span class="passed_spec_name">should provide a negative failure message</span></dd>
2235
- <script type="text/javascript">moveProgressBar('43.7');</script>
2236
- <dd class="spec passed"><span class="passed_spec_name">should only match NameErrors raised by uncaught throws</span></dd>
2237
- </dl>
2238
- </div>
2239
- <div class="example_group">
2240
- <dl>
2241
- <dt id="example_group_194">AnyNumberOfTimes</dt>
2242
- <script type="text/javascript">moveProgressBar('43.8');</script>
2243
- <dd class="spec passed"><span class="passed_spec_name">should pass if any number of times method is called many times</span></dd>
2244
- <script type="text/javascript">moveProgressBar('43.9');</script>
2245
- <dd class="spec passed"><span class="passed_spec_name">should pass if any number of times method is called once</span></dd>
2246
- <script type="text/javascript">moveProgressBar('44.0');</script>
2247
- <dd class="spec passed"><span class="passed_spec_name">should pass if any number of times method is not called</span></dd>
2248
- </dl>
2249
- </div>
2250
- <div class="example_group">
2251
- <dl>
2252
- <dt id="example_group_195">Spec::Mocks::ArgumentExpectation</dt>
2253
- <script type="text/javascript">moveProgressBar('44.1');</script>
2254
- <dd class="spec passed"><span class="passed_spec_name">should consider an object that responds to #matches? and #description to be a matcher</span></dd>
2255
- <script type="text/javascript">moveProgressBar('44.1');</script>
2256
- <dd class="spec passed"><span class="passed_spec_name">should NOT consider an object that only responds to #matches? to be a matcher</span></dd>
2257
- </dl>
2258
- </div>
2259
- <div class="example_group">
2260
- <dl>
2261
- <dt id="example_group_196">at_least</dt>
2262
- <script type="text/javascript">moveProgressBar('44.2');</script>
2263
- <dd class="spec passed"><span class="passed_spec_name">should fail if method is never called</span></dd>
2264
- <script type="text/javascript">moveProgressBar('44.3');</script>
2265
- <dd class="spec passed"><span class="passed_spec_name">should fail when called less than n times</span></dd>
2266
- <script type="text/javascript">moveProgressBar('44.4');</script>
2267
- <dd class="spec passed"><span class="passed_spec_name">should fail when at least once method is never called</span></dd>
2268
- <script type="text/javascript">moveProgressBar('44.5');</script>
2269
- <dd class="spec passed"><span class="passed_spec_name">should fail when at least twice method is called once</span></dd>
2270
- <script type="text/javascript">moveProgressBar('44.5');</script>
2271
- <dd class="spec passed"><span class="passed_spec_name">should fail when at least twice method is never called</span></dd>
2272
- <script type="text/javascript">moveProgressBar('44.6');</script>
2273
- <dd class="spec passed"><span class="passed_spec_name">should pass when at least n times method is called exactly n times</span></dd>
2274
- <script type="text/javascript">moveProgressBar('44.7');</script>
2275
- <dd class="spec passed"><span class="passed_spec_name">should pass when at least n times method is called n plus 1 times</span></dd>
2276
- <script type="text/javascript">moveProgressBar('44.8');</script>
2277
- <dd class="spec passed"><span class="passed_spec_name">should pass when at least once method is called once</span></dd>
2278
- <script type="text/javascript">moveProgressBar('44.9');</script>
2279
- <dd class="spec passed"><span class="passed_spec_name">should pass when at least once method is called twice</span></dd>
2280
- <script type="text/javascript">moveProgressBar('44.9');</script>
2281
- <dd class="spec passed"><span class="passed_spec_name">should pass when at least twice method is called three times</span></dd>
2282
- <script type="text/javascript">moveProgressBar('45.0');</script>
2283
- <dd class="spec passed"><span class="passed_spec_name">should pass when at least twice method is called twice</span></dd>
2284
- </dl>
2285
- </div>
2286
- <div class="example_group">
2287
- <dl>
2288
- <dt id="example_group_197">at_most</dt>
2289
- <script type="text/javascript">moveProgressBar('45.1');</script>
2290
- <dd class="spec passed"><span class="passed_spec_name">should fail when at most n times method is called n plus 1 times</span></dd>
2291
- <script type="text/javascript">moveProgressBar('45.2');</script>
2292
- <dd class="spec passed"><span class="passed_spec_name">should fail when at most once method is called twice</span></dd>
2293
- <script type="text/javascript">moveProgressBar('45.3');</script>
2294
- <dd class="spec passed"><span class="passed_spec_name">should fail when at most twice method is called three times</span></dd>
2295
- <script type="text/javascript">moveProgressBar('45.3');</script>
2296
- <dd class="spec passed"><span class="passed_spec_name">should pass when at most n times method is called exactly n times</span></dd>
2297
- <script type="text/javascript">moveProgressBar('45.4');</script>
2298
- <dd class="spec passed"><span class="passed_spec_name">should pass when at most n times method is called less than n times</span></dd>
2299
- <script type="text/javascript">moveProgressBar('45.5');</script>
2300
- <dd class="spec passed"><span class="passed_spec_name">should pass when at most n times method is never called</span></dd>
2301
- <script type="text/javascript">moveProgressBar('45.6');</script>
2302
- <dd class="spec passed"><span class="passed_spec_name">should pass when at most once method is called once</span></dd>
2303
- <script type="text/javascript">moveProgressBar('45.7');</script>
2304
- <dd class="spec passed"><span class="passed_spec_name">should pass when at most once method is never called</span></dd>
2305
- <script type="text/javascript">moveProgressBar('45.7');</script>
2306
- <dd class="spec passed"><span class="passed_spec_name">should pass when at most twice method is called once</span></dd>
2307
- <script type="text/javascript">moveProgressBar('45.8');</script>
2308
- <dd class="spec passed"><span class="passed_spec_name">should pass when at most twice method is called twice</span></dd>
2309
- <script type="text/javascript">moveProgressBar('45.9');</script>
2310
- <dd class="spec passed"><span class="passed_spec_name">should pass when at most twice method is never called</span></dd>
2311
- </dl>
2312
- </div>
2313
- <div class="example_group">
2314
- <dl>
2315
- <dt id="example_group_198">An RSpec Mock</dt>
2316
- <script type="text/javascript">moveProgressBar('46.0');</script>
2317
- <dd class="spec passed"><span class="passed_spec_name">should hide internals in its inspect representation</span></dd>
2318
- </dl>
2319
- </div>
2320
- <div class="example_group">
2321
- <dl>
2322
- <dt id="example_group_199">should_receive</dt>
2323
- <script type="text/javascript">moveProgressBar('46.1');</script>
2324
- <dd class="spec passed"><span class="passed_spec_name">should work when object lies about responding to a method</span></dd>
2325
- <script type="text/javascript">moveProgressBar('46.2');</script>
2326
- <dd class="spec passed"><span class="passed_spec_name">should work when class lies about responding to a method</span></dd>
2327
- <script type="text/javascript">moveProgressBar('46.2');</script>
2328
- <dd class="spec passed"><span class="passed_spec_name">should cleanup after itself</span></dd>
2329
- </dl>
2330
- </div>
2331
- <div class="example_group">
2332
- <dl>
2333
- <dt id="example_group_200">mock failure</dt>
2334
- <script type="text/javascript">moveProgressBar('46.3');</script>
2335
- <dd class="spec passed"><span class="passed_spec_name">should tell you when it receives the right message with the wrong args</span></dd>
2336
- <script type="text/javascript">makeYellow('rspec-header');</script>
2337
- <script type="text/javascript">makeYellow('example_group_200');</script>
2338
- <script type="text/javascript">moveProgressBar('46.4');</script>
2339
- <dd class="spec not_implemented"><span class="not_implemented_spec_name">should tell you when it receives the right message with the wrong args if you stub the method (PENDING: fix bug 15719)</span></dd>
2340
- </dl>
2341
- </div>
2342
- <div class="example_group">
2343
- <dl>
2344
- <dt id="example_group_201">A Partial Mock</dt>
2345
- <script type="text/javascript">moveProgressBar('46.5');</script>
2346
- <dd class="spec passed"><span class="passed_spec_name">should respect subclasses</span></dd>
2347
- <script type="text/javascript">moveProgressBar('46.6');</script>
2348
- <dd class="spec passed"><span class="passed_spec_name">should</span></dd>
2349
- </dl>
2350
- </div>
2351
- <div class="example_group">
2352
- <dl>
2353
- <dt id="example_group_202">Stubs should correctly restore module methods</dt>
2354
- <script type="text/javascript">moveProgressBar('46.6');</script>
2355
- <dd class="spec passed"><span class="passed_spec_name">1 - stub the open method</span></dd>
2356
- <script type="text/javascript">moveProgressBar('46.7');</script>
2357
- <dd class="spec passed"><span class="passed_spec_name">2 - use File.open to create example.txt</span></dd>
2358
- </dl>
2359
- </div>
2360
- <div class="example_group">
2361
- <dl>
2362
- <dt id="example_group_203">An object where respond_to? is true and does not have method</dt>
2363
- <script type="text/javascript">moveProgressBar('46.8');</script>
2364
- <dd class="spec passed"><span class="passed_spec_name">should not raise an exception for Object</span></dd>
2365
- <script type="text/javascript">moveProgressBar('46.9');</script>
2366
- <dd class="spec passed"><span class="passed_spec_name">should not raise an exception for mock</span></dd>
2367
- </dl>
2368
- </div>
2369
- <div class="example_group">
2370
- <dl>
2371
- <dt id="example_group_204">Bug report 8302:</dt>
2372
- <script type="text/javascript">moveProgressBar('47.0');</script>
2373
- <dd class="spec passed"><span class="passed_spec_name">class method is not restored correctly when proxied</span></dd>
2374
- <script type="text/javascript">moveProgressBar('47.0');</script>
2375
- <dd class="spec passed"><span class="passed_spec_name">instance method is not restored correctly when proxied</span></dd>
2376
- </dl>
2377
- </div>
2378
- <div class="example_group">
2379
- <dl>
2380
- <dt id="example_group_205">failing MockArgumentConstraints</dt>
2381
- <script type="text/javascript">moveProgressBar('47.1');</script>
2382
- <dd class="spec passed"><span class="passed_spec_name">should reject non boolean</span></dd>
2383
- <script type="text/javascript">moveProgressBar('47.2');</script>
2384
- <dd class="spec passed"><span class="passed_spec_name">should reject non numeric</span></dd>
2385
- <script type="text/javascript">moveProgressBar('47.3');</script>
2386
- <dd class="spec passed"><span class="passed_spec_name">should reject non string</span></dd>
2387
- <script type="text/javascript">moveProgressBar('47.4');</script>
2388
- <dd class="spec passed"><span class="passed_spec_name">should reject goose when expecting a duck</span></dd>
2389
- <script type="text/javascript">moveProgressBar('47.4');</script>
2390
- <dd class="spec passed"><span class="passed_spec_name">should fail if regexp does not match submitted string</span></dd>
2391
- <script type="text/javascript">moveProgressBar('47.5');</script>
2392
- <dd class="spec passed"><span class="passed_spec_name">should fail if regexp does not match submitted regexp</span></dd>
2393
- <script type="text/javascript">moveProgressBar('47.6');</script>
2394
- <dd class="spec passed"><span class="passed_spec_name">should fail for a hash w/ wrong values</span></dd>
2395
- <script type="text/javascript">moveProgressBar('47.7');</script>
2396
- <dd class="spec passed"><span class="passed_spec_name">should fail for a hash w/ wrong keys</span></dd>
2397
- <script type="text/javascript">moveProgressBar('47.8');</script>
2398
- <dd class="spec passed"><span class="passed_spec_name">should match against a Matcher</span></dd>
2399
- <script type="text/javascript">moveProgressBar('47.8');</script>
2400
- <dd class="spec passed"><span class="passed_spec_name">should fail no_args with one arg</span></dd>
2401
- </dl>
2402
- </div>
2403
- <div class="example_group">
2404
- <dl>
2405
- <dt id="example_group_206">failing deprecated MockArgumentConstraints</dt>
2406
- <script type="text/javascript">moveProgressBar('47.9');</script>
2407
- <dd class="spec passed"><span class="passed_spec_name">should reject non boolean</span></dd>
2408
- <script type="text/javascript">moveProgressBar('48.0');</script>
2409
- <dd class="spec passed"><span class="passed_spec_name">should reject non numeric</span></dd>
2410
- <script type="text/javascript">moveProgressBar('48.1');</script>
2411
- <dd class="spec passed"><span class="passed_spec_name">should reject non string</span></dd>
2412
- </dl>
2413
- </div>
2414
- <div class="example_group">
2415
- <dl>
2416
- <dt id="example_group_207">Mock ordering</dt>
2417
- <script type="text/javascript">moveProgressBar('48.2');</script>
2418
- <dd class="spec passed"><span class="passed_spec_name">should pass two calls in order</span></dd>
2419
- <script type="text/javascript">moveProgressBar('48.3');</script>
2420
- <dd class="spec passed"><span class="passed_spec_name">should pass three calls in order</span></dd>
2421
- <script type="text/javascript">moveProgressBar('48.3');</script>
2422
- <dd class="spec passed"><span class="passed_spec_name">should fail if second call comes first</span></dd>
2423
- <script type="text/javascript">moveProgressBar('48.4');</script>
2424
- <dd class="spec passed"><span class="passed_spec_name">should fail if third call comes first</span></dd>
2425
- <script type="text/javascript">moveProgressBar('48.5');</script>
2426
- <dd class="spec passed"><span class="passed_spec_name">should fail if third call comes second</span></dd>
2427
- <script type="text/javascript">moveProgressBar('48.6');</script>
2428
- <dd class="spec passed"><span class="passed_spec_name">should ignore order of non ordered calls</span></dd>
2429
- </dl>
2430
- </div>
2431
- <div class="example_group">
2432
- <dl>
2433
- <dt id="example_group_208">Spec::Mocks::Space</dt>
2434
- <script type="text/javascript">moveProgressBar('48.7');</script>
2435
- <dd class="spec passed"><span class="passed_spec_name">should verify all mocks within</span></dd>
2436
- <script type="text/javascript">moveProgressBar('48.7');</script>
2437
- <dd class="spec passed"><span class="passed_spec_name">should reset all mocks within</span></dd>
2438
- <script type="text/javascript">moveProgressBar('48.8');</script>
2439
- <dd class="spec passed"><span class="passed_spec_name">should clear internal mocks on reset_all</span></dd>
2440
- <script type="text/javascript">moveProgressBar('48.9');</script>
2441
- <dd class="spec passed"><span class="passed_spec_name">should only add an instance once</span></dd>
2442
- </dl>
2443
- </div>
2444
- <div class="example_group">
2445
- <dl>
2446
- <dt id="example_group_209">Spec::Mocks::Mock</dt>
2447
- <script type="text/javascript">moveProgressBar('49.0');</script>
2448
- <dd class="spec passed"><span class="passed_spec_name">should report line number of expectation of unreceived message</span></dd>
2449
- <script type="text/javascript">moveProgressBar('49.1');</script>
2450
- <dd class="spec passed"><span class="passed_spec_name">should pass when not receiving message specified as not to be received</span></dd>
2451
- <script type="text/javascript">moveProgressBar('49.1');</script>
2452
- <dd class="spec passed"><span class="passed_spec_name">should pass when receiving message specified as not to be received with different args</span></dd>
2453
- <script type="text/javascript">moveProgressBar('49.2');</script>
2454
- <dd class="spec passed"><span class="passed_spec_name">should fail when receiving message specified as not to be received</span></dd>
2455
- <script type="text/javascript">moveProgressBar('49.3');</script>
2456
- <dd class="spec passed"><span class="passed_spec_name">should fail when receiving message specified as not to be received with args</span></dd>
2457
- <script type="text/javascript">moveProgressBar('49.4');</script>
2458
- <dd class="spec passed"><span class="passed_spec_name">should pass when receiving message specified as not to be received with wrong args</span></dd>
2459
- <script type="text/javascript">moveProgressBar('49.5');</script>
2460
- <dd class="spec passed"><span class="passed_spec_name">should allow block to calculate return values</span></dd>
2461
- <script type="text/javascript">moveProgressBar('49.5');</script>
2462
- <dd class="spec passed"><span class="passed_spec_name">should allow parameter as return value</span></dd>
2463
- <script type="text/javascript">moveProgressBar('49.6');</script>
2464
- <dd class="spec passed"><span class="passed_spec_name">should return nil if no return value set</span></dd>
2465
- <script type="text/javascript">moveProgressBar('49.7');</script>
2466
- <dd class="spec passed"><span class="passed_spec_name">should raise exception if args dont match when method called</span></dd>
2467
- <script type="text/javascript">moveProgressBar('49.8');</script>
2468
- <dd class="spec passed"><span class="passed_spec_name">should fail if unexpected method called</span></dd>
2469
- <script type="text/javascript">moveProgressBar('49.9');</script>
2470
- <dd class="spec passed"><span class="passed_spec_name">should use block for expectation if provided</span></dd>
2471
- <script type="text/javascript">moveProgressBar('50.0');</script>
2472
- <dd class="spec passed"><span class="passed_spec_name">should fail if expectation block fails</span></dd>
2473
- <script type="text/javascript">makeYellow('rspec-header');</script>
2474
- <script type="text/javascript">makeYellow('example_group_209');</script>
2475
- <script type="text/javascript">moveProgressBar('50.0');</script>
2476
- <dd class="spec not_implemented"><span class="not_implemented_spec_name">should fail right away when method defined as never is received (PENDING: Used to pass (false positive). Which one is wrong, the spec or the actual behavior?)</span></dd>
2477
- <script type="text/javascript">moveProgressBar('50.1');</script>
2478
- <dd class="spec passed"><span class="passed_spec_name">should eventually fail when method defined as never is received</span></dd>
2479
- <script type="text/javascript">moveProgressBar('50.2');</script>
2480
- <dd class="spec passed"><span class="passed_spec_name">should raise when told to</span></dd>
2481
- <script type="text/javascript">moveProgressBar('50.3');</script>
2482
- <dd class="spec passed"><span class="passed_spec_name">should raise passed an Exception instance</span></dd>
2483
- <script type="text/javascript">moveProgressBar('50.4');</script>
2484
- <dd class="spec passed"><span class="passed_spec_name">should raise RuntimeError with passed message</span></dd>
2485
- <script type="text/javascript">moveProgressBar('50.4');</script>
2486
- <dd class="spec passed"><span class="passed_spec_name">should not raise when told to if args dont match</span></dd>
2487
- <script type="text/javascript">moveProgressBar('50.5');</script>
2488
- <dd class="spec passed"><span class="passed_spec_name">should throw when told to</span></dd>
2489
- <script type="text/javascript">moveProgressBar('50.6');</script>
2490
- <dd class="spec passed"><span class="passed_spec_name">should raise when explicit return and block constrained</span></dd>
2491
- <script type="text/javascript">moveProgressBar('50.7');</script>
2492
- <dd class="spec passed"><span class="passed_spec_name">should ignore args on any args</span></dd>
2493
- <script type="text/javascript">moveProgressBar('50.8');</script>
2494
- <dd class="spec passed"><span class="passed_spec_name">should fail on no args if any args received</span></dd>
2495
- <script type="text/javascript">moveProgressBar('50.8');</script>
2496
- <dd class="spec passed"><span class="passed_spec_name">should fail when args are expected but none are received</span></dd>
2497
- <script type="text/javascript">moveProgressBar('50.9');</script>
2498
- <dd class="spec passed"><span class="passed_spec_name">should yield 0 args to blocks that take a variable number of arguments</span></dd>
2499
- <script type="text/javascript">moveProgressBar('51.0');</script>
2500
- <dd class="spec passed"><span class="passed_spec_name">should yield 0 args multiple times to blocks that take a variable number of arguments</span></dd>
2501
- <script type="text/javascript">moveProgressBar('51.1');</script>
2502
- <dd class="spec passed"><span class="passed_spec_name">should yield one arg to blocks that take a variable number of arguments</span></dd>
2503
- <script type="text/javascript">moveProgressBar('51.2');</script>
2504
- <dd class="spec passed"><span class="passed_spec_name">should yield one arg 3 times consecutively to blocks that take a variable number of arguments</span></dd>
2505
- <script type="text/javascript">moveProgressBar('51.2');</script>
2506
- <dd class="spec passed"><span class="passed_spec_name">should yield many args to blocks that take a variable number of arguments</span></dd>
2507
- <script type="text/javascript">moveProgressBar('51.3');</script>
2508
- <dd class="spec passed"><span class="passed_spec_name">should yield many args 3 times consecutively to blocks that take a variable number of arguments</span></dd>
2509
- <script type="text/javascript">moveProgressBar('51.4');</script>
2510
- <dd class="spec passed"><span class="passed_spec_name">should yield single value</span></dd>
2511
- <script type="text/javascript">moveProgressBar('51.5');</script>
2512
- <dd class="spec passed"><span class="passed_spec_name">should yield single value 3 times consecutively</span></dd>
2513
- <script type="text/javascript">moveProgressBar('51.6');</script>
2514
- <dd class="spec passed"><span class="passed_spec_name">should yield two values</span></dd>
2515
- <script type="text/javascript">moveProgressBar('51.6');</script>
2516
- <dd class="spec passed"><span class="passed_spec_name">should yield two values 3 times consecutively</span></dd>
2517
- <script type="text/javascript">moveProgressBar('51.7');</script>
2518
- <dd class="spec passed"><span class="passed_spec_name">should fail when calling yielding method with wrong arity</span></dd>
2519
- <script type="text/javascript">moveProgressBar('51.8');</script>
2520
- <dd class="spec passed"><span class="passed_spec_name">should fail when calling yielding method consecutively with wrong arity</span></dd>
2521
- <script type="text/javascript">moveProgressBar('51.9');</script>
2522
- <dd class="spec passed"><span class="passed_spec_name">should fail when calling yielding method without block</span></dd>
2523
- <script type="text/javascript">moveProgressBar('52.0');</script>
2524
- <dd class="spec passed"><span class="passed_spec_name">should be able to mock send</span></dd>
2525
- <script type="text/javascript">moveProgressBar('52.1');</script>
2526
- <dd class="spec passed"><span class="passed_spec_name">should be able to raise from method calling yielding mock</span></dd>
2527
- <script type="text/javascript">moveProgressBar('52.1');</script>
2528
- <dd class="spec passed"><span class="passed_spec_name">should clear expectations after verify</span></dd>
2529
- <script type="text/javascript">moveProgressBar('52.2');</script>
2530
- <dd class="spec passed"><span class="passed_spec_name">should restore objects to their original state on rspec_reset</span></dd>
2531
- <script type="text/javascript">moveProgressBar('52.3');</script>
2532
- <dd class="spec passed"><span class="passed_spec_name">should work even after method_missing starts raising NameErrors instead of NoMethodErrors</span></dd>
2533
- <script type="text/javascript">moveProgressBar('52.4');</script>
2534
- <dd class="spec passed"><span class="passed_spec_name">should temporarily replace a method stub on a mock</span></dd>
2535
- <script type="text/javascript">moveProgressBar('52.5');</script>
2536
- <dd class="spec passed"><span class="passed_spec_name">should temporarily replace a method stub on a non-mock</span></dd>
2537
- <script type="text/javascript">moveProgressBar('52.5');</script>
2538
- <dd class="spec passed"><span class="passed_spec_name">should assign stub return values</span></dd>
2539
- </dl>
2540
- </div>
2541
- <div class="example_group">
2542
- <dl>
2543
- <dt id="example_group_210">a mock message receiving a block</dt>
2544
- <script type="text/javascript">moveProgressBar('52.6');</script>
2545
- <dd class="spec passed"><span class="passed_spec_name">should call the block after #should_receive</span></dd>
2546
- <script type="text/javascript">moveProgressBar('52.7');</script>
2547
- <dd class="spec passed"><span class="passed_spec_name">should call the block after #once</span></dd>
2548
- <script type="text/javascript">moveProgressBar('52.8');</script>
2549
- <dd class="spec passed"><span class="passed_spec_name">should call the block after #twice</span></dd>
2550
- <script type="text/javascript">moveProgressBar('52.9');</script>
2551
- <dd class="spec passed"><span class="passed_spec_name">should call the block after #times</span></dd>
2552
- <script type="text/javascript">moveProgressBar('52.9');</script>
2553
- <dd class="spec passed"><span class="passed_spec_name">should call the block after #any_number_of_times</span></dd>
2554
- <script type="text/javascript">moveProgressBar('53.0');</script>
2555
- <dd class="spec passed"><span class="passed_spec_name">should call the block after #with</span></dd>
2556
- <script type="text/javascript">moveProgressBar('53.1');</script>
2557
- <dd class="spec passed"><span class="passed_spec_name">should call the block after #ordered</span></dd>
2558
- </dl>
2559
- </div>
2560
- <div class="example_group">
2561
- <dl>
2562
- <dt id="example_group_211">a Mock expectation with multiple return values and no specified count</dt>
2563
- <script type="text/javascript">moveProgressBar('53.2');</script>
2564
- <dd class="spec passed"><span class="passed_spec_name">should return values in order to consecutive calls</span></dd>
2565
- <script type="text/javascript">moveProgressBar('53.3');</script>
2566
- <dd class="spec passed"><span class="passed_spec_name">should complain when there are too few calls</span></dd>
2567
- <script type="text/javascript">moveProgressBar('53.3');</script>
2568
- <dd class="spec passed"><span class="passed_spec_name">should complain when there are too many calls</span></dd>
2569
- </dl>
2570
- </div>
2571
- <div class="example_group">
2572
- <dl>
2573
- <dt id="example_group_212">a Mock expectation with multiple return values with a specified count equal to the number of values</dt>
2574
- <script type="text/javascript">moveProgressBar('53.4');</script>
2575
- <dd class="spec passed"><span class="passed_spec_name">should return values in order to consecutive calls</span></dd>
2576
- <script type="text/javascript">moveProgressBar('53.5');</script>
2577
- <dd class="spec passed"><span class="passed_spec_name">should complain when there are too few calls</span></dd>
2578
- <script type="text/javascript">moveProgressBar('53.6');</script>
2579
- <dd class="spec passed"><span class="passed_spec_name">should complain when there are too many calls</span></dd>
2580
- </dl>
2581
- </div>
2582
- <div class="example_group">
2583
- <dl>
2584
- <dt id="example_group_213">a Mock expectation with multiple return values specifying at_least less than the number of values</dt>
2585
- <script type="text/javascript">moveProgressBar('53.7');</script>
2586
- <dd class="spec passed"><span class="passed_spec_name">should use last return value for subsequent calls</span></dd>
2587
- <script type="text/javascript">moveProgressBar('53.7');</script>
2588
- <dd class="spec passed"><span class="passed_spec_name">should fail when called less than the specified number</span></dd>
2589
- </dl>
2590
- </div>
2591
- <div class="example_group">
2592
- <dl>
2593
- <dt id="example_group_214">a Mock expectation with multiple return values with a specified count larger than the number of values</dt>
2594
- <script type="text/javascript">moveProgressBar('53.8');</script>
2595
- <dd class="spec passed"><span class="passed_spec_name">should use last return value for subsequent calls</span></dd>
2596
- <script type="text/javascript">moveProgressBar('53.9');</script>
2597
- <dd class="spec passed"><span class="passed_spec_name">should fail when called less than the specified number</span></dd>
2598
- <script type="text/javascript">moveProgressBar('54.0');</script>
2599
- <dd class="spec passed"><span class="passed_spec_name">should fail when called greater than the specified number</span></dd>
2600
- </dl>
2601
- </div>
2602
- <div class="example_group">
2603
- <dl>
2604
- <dt id="example_group_215">a mock acting as a NullObject</dt>
2605
- <script type="text/javascript">moveProgressBar('54.1');</script>
2606
- <dd class="spec passed"><span class="passed_spec_name">should allow explicit expectation</span></dd>
2607
- <script type="text/javascript">moveProgressBar('54.2');</script>
2608
- <dd class="spec passed"><span class="passed_spec_name">should fail verification when explicit exception not met</span></dd>
2609
- <script type="text/javascript">moveProgressBar('54.2');</script>
2610
- <dd class="spec passed"><span class="passed_spec_name">should ignore unexpected methods</span></dd>
2611
- <script type="text/javascript">moveProgressBar('54.3');</script>
2612
- <dd class="spec passed"><span class="passed_spec_name">should expected message with different args first</span></dd>
2613
- <script type="text/javascript">moveProgressBar('54.4');</script>
2614
- <dd class="spec passed"><span class="passed_spec_name">should expected message with different args second</span></dd>
2615
- </dl>
2616
- </div>
2617
- <div class="example_group">
2618
- <dl>
2619
- <dt id="example_group_216">OnceCounts</dt>
2620
- <script type="text/javascript">moveProgressBar('54.5');</script>
2621
- <dd class="spec passed"><span class="passed_spec_name">once should fail when called once with wrong args</span></dd>
2622
- <script type="text/javascript">moveProgressBar('54.6');</script>
2623
- <dd class="spec passed"><span class="passed_spec_name">once should fail when called twice</span></dd>
2624
- <script type="text/javascript">moveProgressBar('54.6');</script>
2625
- <dd class="spec passed"><span class="passed_spec_name">once should fail when not called</span></dd>
2626
- <script type="text/javascript">moveProgressBar('54.7');</script>
2627
- <dd class="spec passed"><span class="passed_spec_name">once should pass when called once</span></dd>
2628
- <script type="text/javascript">moveProgressBar('54.8');</script>
2629
- <dd class="spec passed"><span class="passed_spec_name">once should pass when called once with specified args</span></dd>
2630
- <script type="text/javascript">moveProgressBar('54.9');</script>
2631
- <dd class="spec passed"><span class="passed_spec_name">once should pass when called once with unspecified args</span></dd>
2632
- </dl>
2633
- </div>
2634
- <div class="example_group">
2635
- <dl>
2636
- <dt id="example_group_217">calling :should_receive with an options hash</dt>
2637
- <script type="text/javascript">moveProgressBar('55.0');</script>
2638
- <dd class="spec passed"><span class="passed_spec_name">should report the file and line submitted with :expected_from</span></dd>
2639
- <script type="text/javascript">moveProgressBar('55.0');</script>
2640
- <dd class="spec passed"><span class="passed_spec_name">should use the message supplied with :message</span></dd>
2641
- </dl>
2642
- </div>
2643
- <div class="example_group">
2644
- <dl>
2645
- <dt id="example_group_218">using a Partial Mock,</dt>
2646
- <script type="text/javascript">moveProgressBar('55.1');</script>
2647
- <dd class="spec passed"><span class="passed_spec_name">should name the class in the failure message</span></dd>
2648
- <script type="text/javascript">moveProgressBar('55.2');</script>
2649
- <dd class="spec passed"><span class="passed_spec_name">should not conflict with @options in the object</span></dd>
2650
- <script type="text/javascript">moveProgressBar('55.3');</script>
2651
- <dd class="spec passed"><span class="passed_spec_name">should_not_receive should mock out the method</span></dd>
2652
- <script type="text/javascript">moveProgressBar('55.4');</script>
2653
- <dd class="spec passed"><span class="passed_spec_name">should_not_receive should return a negative message expectation</span></dd>
2654
- <script type="text/javascript">moveProgressBar('55.4');</script>
2655
- <dd class="spec passed"><span class="passed_spec_name">should_receive should mock out the method</span></dd>
2656
- <script type="text/javascript">moveProgressBar('55.5');</script>
2657
- <dd class="spec passed"><span class="passed_spec_name">should_receive should handle a hash</span></dd>
2658
- <script type="text/javascript">moveProgressBar('55.6');</script>
2659
- <dd class="spec passed"><span class="passed_spec_name">should_receive should handle an inner hash</span></dd>
2660
- <script type="text/javascript">moveProgressBar('55.7');</script>
2661
- <dd class="spec passed"><span class="passed_spec_name">should_receive should return a message expectation</span></dd>
2662
- <script type="text/javascript">moveProgressBar('55.8');</script>
2663
- <dd class="spec passed"><span class="passed_spec_name">should_receive should verify method was called</span></dd>
2664
- <script type="text/javascript">moveProgressBar('55.8');</script>
2665
- <dd class="spec passed"><span class="passed_spec_name">should_receive should also take a String argument</span></dd>
2666
- <script type="text/javascript">moveProgressBar('55.9');</script>
2667
- <dd class="spec passed"><span class="passed_spec_name">should_not_receive should also take a String argument</span></dd>
2668
- <script type="text/javascript">moveProgressBar('56.0');</script>
2669
- <dd class="spec passed"><span class="passed_spec_name">should use report nil in the error message</span></dd>
2670
- </dl>
2671
- </div>
2672
- <div class="example_group">
2673
- <dl>
2674
- <dt id="example_group_219">Partially mocking an object that defines ==, after another mock has been defined</dt>
2675
- <script type="text/javascript">moveProgressBar('56.1');</script>
2676
- <dd class="spec passed"><span class="passed_spec_name">should not raise an error when stubbing the object</span></dd>
2677
- </dl>
2678
- </div>
2679
- <div class="example_group">
2680
- <dl>
2681
- <dt id="example_group_220">PartialMockUsingMocksDirectly</dt>
2682
- <script type="text/javascript">moveProgressBar('56.2');</script>
2683
- <dd class="spec passed"><span class="passed_spec_name">should fail when expected message is not received</span></dd>
2684
- <script type="text/javascript">moveProgressBar('56.3');</script>
2685
- <dd class="spec passed"><span class="passed_spec_name">should fail when message is received with incorrect args</span></dd>
2686
- <script type="text/javascript">moveProgressBar('56.3');</script>
2687
- <dd class="spec passed"><span class="passed_spec_name">should pass when expected message is received</span></dd>
2688
- <script type="text/javascript">moveProgressBar('56.4');</script>
2689
- <dd class="spec passed"><span class="passed_spec_name">should pass when message is received with correct args</span></dd>
2690
- <script type="text/javascript">moveProgressBar('56.5');</script>
2691
- <dd class="spec passed"><span class="passed_spec_name">should revert to original method if existed</span></dd>
2692
- </dl>
2693
- </div>
2694
- <div class="example_group">
2695
- <dl>
2696
- <dt id="example_group_221">Spec::Mocks::Methods handling argument constraints with DEPRECATED symbols</dt>
2697
- <script type="text/javascript">moveProgressBar('56.6');</script>
2698
- <dd class="spec passed"><span class="passed_spec_name">should accept true as boolean</span></dd>
2699
- <script type="text/javascript">moveProgressBar('56.7');</script>
2700
- <dd class="spec passed"><span class="passed_spec_name">should accept false as boolean</span></dd>
2701
- <script type="text/javascript">moveProgressBar('56.7');</script>
2702
- <dd class="spec passed"><span class="passed_spec_name">should accept fixnum as numeric</span></dd>
2703
- <script type="text/javascript">moveProgressBar('56.8');</script>
2704
- <dd class="spec passed"><span class="passed_spec_name">should accept float as numeric</span></dd>
2705
- <script type="text/javascript">moveProgressBar('56.9');</script>
2706
- <dd class="spec passed"><span class="passed_spec_name">should accept string as anything</span></dd>
2707
- <script type="text/javascript">moveProgressBar('57.0');</script>
2708
- <dd class="spec passed"><span class="passed_spec_name">should match string</span></dd>
2709
- <script type="text/javascript">moveProgressBar('57.1');</script>
2710
- <dd class="spec passed"><span class="passed_spec_name">should match no args against any_args</span></dd>
2711
- <script type="text/javascript">moveProgressBar('57.1');</script>
2712
- <dd class="spec passed"><span class="passed_spec_name">should match no args against no_args</span></dd>
2713
- </dl>
2714
- </div>
2715
- <div class="example_group">
2716
- <dl>
2717
- <dt id="example_group_222">Spec::Mocks::Methods handling argument constraints</dt>
2718
- <script type="text/javascript">moveProgressBar('57.2');</script>
2719
- <dd class="spec passed"><span class="passed_spec_name">should accept true as boolean()</span></dd>
2720
- <script type="text/javascript">moveProgressBar('57.3');</script>
2721
- <dd class="spec passed"><span class="passed_spec_name">should accept false as boolean()</span></dd>
2722
- <script type="text/javascript">moveProgressBar('57.4');</script>
2723
- <dd class="spec passed"><span class="passed_spec_name">should accept fixnum as an_instance_of(Numeric)</span></dd>
2724
- <script type="text/javascript">moveProgressBar('57.5');</script>
2725
- <dd class="spec passed"><span class="passed_spec_name">should accept float as an_instance_of(Numeric)</span></dd>
2726
- <script type="text/javascript">moveProgressBar('57.5');</script>
2727
- <dd class="spec passed"><span class="passed_spec_name">should accept string as anything()</span></dd>
2728
- <script type="text/javascript">moveProgressBar('57.6');</script>
2729
- <dd class="spec passed"><span class="passed_spec_name">should match duck type with one method</span></dd>
2730
- <script type="text/javascript">moveProgressBar('57.7');</script>
2731
- <dd class="spec passed"><span class="passed_spec_name">should match duck type with two methods</span></dd>
2732
- <script type="text/javascript">moveProgressBar('57.8');</script>
2733
- <dd class="spec passed"><span class="passed_spec_name">should match no args against any_args()</span></dd>
2734
- <script type="text/javascript">moveProgressBar('57.9');</script>
2735
- <dd class="spec passed"><span class="passed_spec_name">should match one arg against any_args()</span></dd>
2736
- <script type="text/javascript">moveProgressBar('57.9');</script>
2737
- <dd class="spec passed"><span class="passed_spec_name">should match no args against no_args()</span></dd>
2738
- </dl>
2739
- </div>
2740
- <div class="example_group">
2741
- <dl>
2742
- <dt id="example_group_223">Spec::Mocks::Methods handling non-constraint arguments</dt>
2743
- <script type="text/javascript">moveProgressBar('58.0');</script>
2744
- <dd class="spec passed"><span class="passed_spec_name">should match non special symbol (can be removed when deprecated symbols are removed)</span></dd>
2745
- <script type="text/javascript">moveProgressBar('58.1');</script>
2746
- <dd class="spec passed"><span class="passed_spec_name">should match string against regexp</span></dd>
2747
- <script type="text/javascript">moveProgressBar('58.2');</script>
2748
- <dd class="spec passed"><span class="passed_spec_name">should match regexp against regexp</span></dd>
2749
- <script type="text/javascript">moveProgressBar('58.3');</script>
2750
- <dd class="spec passed"><span class="passed_spec_name">should match against a hash submitted and received by value</span></dd>
2751
- <script type="text/javascript">moveProgressBar('58.4');</script>
2752
- <dd class="spec passed"><span class="passed_spec_name">should match against a hash submitted by reference and received by value</span></dd>
2753
- <script type="text/javascript">moveProgressBar('58.4');</script>
2754
- <dd class="spec passed"><span class="passed_spec_name">should match against a hash submitted by value and received by reference</span></dd>
2755
- <script type="text/javascript">moveProgressBar('58.5');</script>
2756
- <dd class="spec passed"><span class="passed_spec_name">should match against a Matcher</span></dd>
2757
- </dl>
2758
- </div>
2759
- <div class="example_group">
2760
- <dl>
2761
- <dt id="example_group_224">PreciseCounts</dt>
2762
- <script type="text/javascript">moveProgressBar('58.6');</script>
2763
- <dd class="spec passed"><span class="passed_spec_name">should fail when exactly n times method is called less than n times</span></dd>
2764
- <script type="text/javascript">moveProgressBar('58.7');</script>
2765
- <dd class="spec passed"><span class="passed_spec_name">should fail when exactly n times method is never called</span></dd>
2766
- <script type="text/javascript">moveProgressBar('58.8');</script>
2767
- <dd class="spec passed"><span class="passed_spec_name">should pass if exactly n times method is called exactly n times</span></dd>
2768
- <script type="text/javascript">moveProgressBar('58.8');</script>
2769
- <dd class="spec passed"><span class="passed_spec_name">should pass multiple calls with different args and counts</span></dd>
2770
- <script type="text/javascript">moveProgressBar('58.9');</script>
2771
- <dd class="spec passed"><span class="passed_spec_name">should pass mutiple calls with different args</span></dd>
2772
- </dl>
2773
- </div>
2774
- <div class="example_group">
2775
- <dl>
2776
- <dt id="example_group_225">a mock</dt>
2777
- <script type="text/javascript">moveProgressBar('59.0');</script>
2778
- <dd class="spec passed"><span class="passed_spec_name">should answer false for received_message? when no messages received</span></dd>
2779
- <script type="text/javascript">moveProgressBar('59.1');</script>
2780
- <dd class="spec passed"><span class="passed_spec_name">should answer true for received_message? when message received</span></dd>
2781
- <script type="text/javascript">moveProgressBar('59.2');</script>
2782
- <dd class="spec passed"><span class="passed_spec_name">should answer true for received_message? when message received with correct args</span></dd>
2783
- <script type="text/javascript">moveProgressBar('59.2');</script>
2784
- <dd class="spec passed"><span class="passed_spec_name">should answer false for received_message? when message received with incorrect args</span></dd>
2785
- </dl>
2786
- </div>
2787
- <div class="example_group">
2788
- <dl>
2789
- <dt id="example_group_226">A method stub</dt>
2790
- <script type="text/javascript">moveProgressBar('59.3');</script>
2791
- <dd class="spec passed"><span class="passed_spec_name">should return expected value when expected message is received</span></dd>
2792
- <script type="text/javascript">moveProgressBar('59.4');</script>
2793
- <dd class="spec passed"><span class="passed_spec_name">should ignore when expected message is received</span></dd>
2794
- <script type="text/javascript">moveProgressBar('59.5');</script>
2795
- <dd class="spec passed"><span class="passed_spec_name">should ignore when message is received with args</span></dd>
2796
- <script type="text/javascript">moveProgressBar('59.6');</script>
2797
- <dd class="spec passed"><span class="passed_spec_name">should ignore when expected message is not received</span></dd>
2798
- <script type="text/javascript">moveProgressBar('59.6');</script>
2799
- <dd class="spec passed"><span class="passed_spec_name">should clear itself when verified</span></dd>
2800
- <script type="text/javascript">moveProgressBar('59.7');</script>
2801
- <dd class="spec passed"><span class="passed_spec_name">should return values in order to consecutive calls</span></dd>
2802
- <script type="text/javascript">moveProgressBar('59.8');</script>
2803
- <dd class="spec passed"><span class="passed_spec_name">should keep returning last value in consecutive calls</span></dd>
2804
- <script type="text/javascript">moveProgressBar('59.9');</script>
2805
- <dd class="spec passed"><span class="passed_spec_name">should revert to original instance method if there is one</span></dd>
2806
- <script type="text/javascript">moveProgressBar('60.0');</script>
2807
- <dd class="spec passed"><span class="passed_spec_name">should revert to original class method if there is one</span></dd>
2808
- <script type="text/javascript">moveProgressBar('60.0');</script>
2809
- <dd class="spec passed"><span class="passed_spec_name">should yield a specified object</span></dd>
2810
- <script type="text/javascript">moveProgressBar('60.1');</script>
2811
- <dd class="spec passed"><span class="passed_spec_name">should yield multiple times with multiple calls to and_yield</span></dd>
2812
- <script type="text/javascript">moveProgressBar('60.2');</script>
2813
- <dd class="spec passed"><span class="passed_spec_name">should yield a specified object and return another specified object</span></dd>
2814
- <script type="text/javascript">moveProgressBar('60.3');</script>
2815
- <dd class="spec passed"><span class="passed_spec_name">should throw when told to</span></dd>
2816
- <script type="text/javascript">moveProgressBar('60.4');</script>
2817
- <dd class="spec passed"><span class="passed_spec_name">should override a pre-existing stub</span></dd>
2818
- <script type="text/javascript">moveProgressBar('60.5');</script>
2819
- <dd class="spec passed"><span class="passed_spec_name">should limit </span></dd>
2820
- </dl>
2821
- </div>
2822
- <div class="example_group">
2823
- <dl>
2824
- <dt id="example_group_227">A method stub with args</dt>
2825
- <script type="text/javascript">moveProgressBar('60.5');</script>
2826
- <dd class="spec passed"><span class="passed_spec_name">should not complain if not called</span></dd>
2827
- <script type="text/javascript">moveProgressBar('60.6');</script>
2828
- <dd class="spec passed"><span class="passed_spec_name">should not complain if called with arg</span></dd>
2829
- <script type="text/javascript">moveProgressBar('60.7');</script>
2830
- <dd class="spec passed"><span class="passed_spec_name">should complain if called with no arg</span></dd>
2831
- <script type="text/javascript">moveProgressBar('60.8');</script>
2832
- <dd class="spec passed"><span class="passed_spec_name">should complain if called with other arg</span></dd>
2833
- <script type="text/javascript">moveProgressBar('60.9');</script>
2834
- <dd class="spec passed"><span class="passed_spec_name">should not complain if also mocked w/ different args</span></dd>
2835
- <script type="text/javascript">moveProgressBar('60.9');</script>
2836
- <dd class="spec passed"><span class="passed_spec_name">should complain if also mocked w/ different args AND called w/ a 3rd set of args</span></dd>
2837
- <script type="text/javascript">moveProgressBar('61.0');</script>
2838
- <dd class="spec passed"><span class="passed_spec_name">should support options</span></dd>
2839
- </dl>
2840
- </div>
2841
- <div class="example_group">
2842
- <dl>
2843
- <dt id="example_group_228">TwiceCounts</dt>
2844
- <script type="text/javascript">moveProgressBar('61.1');</script>
2845
- <dd class="spec passed"><span class="passed_spec_name">twice should fail when call count is higher than expected</span></dd>
2846
- <script type="text/javascript">moveProgressBar('61.2');</script>
2847
- <dd class="spec passed"><span class="passed_spec_name">twice should fail when call count is lower than expected</span></dd>
2848
- <script type="text/javascript">moveProgressBar('61.3');</script>
2849
- <dd class="spec passed"><span class="passed_spec_name">twice should fail when called twice with wrong args on the first call</span></dd>
2850
- <script type="text/javascript">moveProgressBar('61.3');</script>
2851
- <dd class="spec passed"><span class="passed_spec_name">twice should fail when called twice with wrong args on the second call</span></dd>
2852
- <script type="text/javascript">moveProgressBar('61.4');</script>
2853
- <dd class="spec passed"><span class="passed_spec_name">twice should pass when called twice</span></dd>
2854
- <script type="text/javascript">moveProgressBar('61.5');</script>
2855
- <dd class="spec passed"><span class="passed_spec_name">twice should pass when called twice with specified args</span></dd>
2856
- <script type="text/javascript">moveProgressBar('61.6');</script>
2857
- <dd class="spec passed"><span class="passed_spec_name">twice should pass when called twice with unspecified args</span></dd>
2858
- </dl>
2859
- </div>
2860
- <div class="example_group">
2861
- <dl>
2862
- <dt id="example_group_229">The bin/spec script</dt>
2863
- <script type="text/javascript">moveProgressBar('61.7');</script>
2864
- <dd class="spec passed"><span class="passed_spec_name">should have no warnings</span></dd>
2865
- </dl>
2866
- </div>
2867
- <div class="example_group">
2868
- <dl>
2869
- <dt id="example_group_230">Spec::Runner::ClassAndArgumentsParser.parse</dt>
2870
- <script type="text/javascript">moveProgressBar('61.7');</script>
2871
- <dd class="spec passed"><span class="passed_spec_name">should use a single : to separate class names from arguments</span></dd>
2872
- <script type="text/javascript">moveProgressBar('61.8');</script>
2873
- <dd class="spec passed"><span class="passed_spec_name">should raise an error when passed an empty string</span></dd>
2874
- </dl>
2875
- </div>
2876
- <div class="example_group">
2877
- <dl>
2878
- <dt id="example_group_231">Spec::Runner::CommandLine.run</dt>
2879
- <script type="text/javascript">moveProgressBar('61.9');</script>
2880
- <dd class="spec passed"><span class="passed_spec_name">should run directory</span></dd>
2881
- <script type="text/javascript">moveProgressBar('62.0');</script>
2882
- <dd class="spec passed"><span class="passed_spec_name">should run file</span></dd>
2883
- <script type="text/javascript">moveProgressBar('62.1');</script>
2884
- <dd class="spec passed"><span class="passed_spec_name">should raise when file does not exist</span></dd>
2885
- <script type="text/javascript">moveProgressBar('62.1');</script>
2886
- <dd class="spec passed"><span class="passed_spec_name">should return true when in --generate-options mode</span></dd>
2887
- <script type="text/javascript">moveProgressBar('62.2');</script>
2888
- <dd class="spec passed"><span class="passed_spec_name">should dump even if Interrupt exception is occurred</span></dd>
2889
- <script type="text/javascript">moveProgressBar('62.3');</script>
2890
- <dd class="spec passed"><span class="passed_spec_name">should heckle when options have heckle_runner</span></dd>
2891
- <script type="text/javascript">moveProgressBar('62.4');</script>
2892
- <dd class="spec passed"><span class="passed_spec_name">should run examples backwards if options.reverse is true</span></dd>
2893
- <script type="text/javascript">moveProgressBar('62.5');</script>
2894
- <dd class="spec passed"><span class="passed_spec_name">should pass its ExampleGroup to the reporter</span></dd>
2895
- <script type="text/javascript">moveProgressBar('62.6');</script>
2896
- <dd class="spec passed"><span class="passed_spec_name">runs only selected Examples when options.examples is set</span></dd>
2897
- <script type="text/javascript">moveProgressBar('62.6');</script>
2898
- <dd class="spec passed"><span class="passed_spec_name">sets Spec.run to true</span></dd>
2899
- </dl>
2900
- </div>
2901
- <div class="example_group">
2902
- <dl>
2903
- <dt id="example_group_232">Spec::Runner::DrbCommandLine without running local server</dt>
2904
- <script type="text/javascript">moveProgressBar('62.7');</script>
2905
- <dd class="spec passed"><span class="passed_spec_name">should print error when there is no running local server</span></dd>
2906
- </dl>
2907
- </div>
2908
- <div class="example_group">
2909
- <dl>
2910
- <dt id="example_group_233">Spec::Runner::DrbCommandLine with local server</dt>
2911
- <script type="text/javascript">moveProgressBar('62.8');</script>
2912
- <dd class="spec passed"><span class="passed_spec_name">should run against local server</span></dd>
2913
- <script type="text/javascript">moveProgressBar('62.9');</script>
2914
- <dd class="spec passed"><span class="passed_spec_name">should output green colorized text when running with --colour option</span></dd>
2915
- <script type="text/javascript">moveProgressBar('63.0');</script>
2916
- <dd class="spec passed"><span class="passed_spec_name">should output red colorized text when running with -c option</span></dd>
2917
- </dl>
2918
- </div>
2919
- <div class="example_group">
2920
- <dl>
2921
- <dt id="example_group_234">ExecutionContext</dt>
2922
- <script type="text/javascript">moveProgressBar('63.0');</script>
2923
- <dd class="spec passed"><span class="passed_spec_name">should provide duck_type()</span></dd>
2924
- <script type="text/javascript">moveProgressBar('63.1');</script>
2925
- <dd class="spec passed"><span class="passed_spec_name">should violate when violated()</span></dd>
2926
- <script type="text/javascript">moveProgressBar('63.2');</script>
2927
- <dd class="spec passed"><span class="passed_spec_name">should provide mock()</span></dd>
2928
- <script type="text/javascript">moveProgressBar('63.3');</script>
2929
- <dd class="spec passed"><span class="passed_spec_name">should provide stub()</span></dd>
2930
- <script type="text/javascript">moveProgressBar('63.4');</script>
2931
- <dd class="spec passed"><span class="passed_spec_name">should add method stubs to stub()</span></dd>
2932
- </dl>
2933
- </div>
2934
- <div class="example_group">
2935
- <dl>
2936
- <dt id="example_group_235">Spec::Runner::Formatter::FailingExampleGroupsFormatter</dt>
2937
- <script type="text/javascript">moveProgressBar('63.4');</script>
2938
- <dd class="spec passed"><span class="passed_spec_name">should add example name for each failure</span></dd>
2939
- <script type="text/javascript">moveProgressBar('63.5');</script>
2940
- <dd class="spec passed"><span class="passed_spec_name">should delimit ExampleGroup superclass descriptions with :</span></dd>
2941
- <script type="text/javascript">moveProgressBar('63.6');</script>
2942
- <dd class="spec passed"><span class="passed_spec_name">should remove druby url, which is used by Spec::Distributed</span></dd>
2943
- </dl>
2944
- </div>
2945
- <div class="example_group">
2946
- <dl>
2947
- <dt id="example_group_236">Spec::Runner::Formatter::FailingExamplesFormatter</dt>
2948
- <script type="text/javascript">moveProgressBar('63.7');</script>
2949
- <dd class="spec passed"><span class="passed_spec_name">should add example name for each failure</span></dd>
2950
- </dl>
2951
- </div>
2952
- <div class="example_group">
2953
- <dl>
2954
- <dt id="example_group_237">Spec::Runner::Formatter::HtmlFormatter</dt>
2955
- <script type="text/javascript">moveProgressBar('63.8');</script>
2956
- <dd class="spec passed"><span class="passed_spec_name">should produce HTML identical to the one we designed manually with --diff</span></dd>
2957
- <script type="text/javascript">moveProgressBar('63.8');</script>
2958
- <dd class="spec passed"><span class="passed_spec_name">should produce HTML identical to the one we designed manually with --dry-run</span></dd>
2959
- </dl>
2960
- </div>
2961
- <div class="example_group">
2962
- <dl>
2963
- <dt id="example_group_238">Spec::Runner::Formatter::ProfileFormatter</dt>
2964
- <script type="text/javascript">moveProgressBar('63.9');</script>
2965
- <dd class="spec passed"><span class="passed_spec_name">should print a heading</span></dd>
2966
- <script type="text/javascript">moveProgressBar('64.0');</script>
2967
- <dd class="spec passed"><span class="passed_spec_name">should record the current time when starting a new example</span></dd>
2968
- <script type="text/javascript">moveProgressBar('64.1');</script>
2969
- <dd class="spec passed"><span class="passed_spec_name">should correctly record a passed example</span></dd>
2970
- <script type="text/javascript">moveProgressBar('64.2');</script>
2971
- <dd class="spec passed"><span class="passed_spec_name">should sort the results in descending order</span></dd>
2972
- <script type="text/javascript">moveProgressBar('64.2');</script>
2973
- <dd class="spec passed"><span class="passed_spec_name">should print the top 10 results</span></dd>
2974
- </dl>
2975
- </div>
2976
- <div class="example_group">
2977
- <dl>
2978
- <dt id="example_group_239">Spec::Runner::Formatter::ProgressBarFormatter</dt>
2979
- <script type="text/javascript">moveProgressBar('64.3');</script>
2980
- <dd class="spec passed"><span class="passed_spec_name">should produce line break on start dump</span></dd>
2981
- <script type="text/javascript">moveProgressBar('64.4');</script>
2982
- <dd class="spec passed"><span class="passed_spec_name">should produce standard summary without pending when pending has a 0 count</span></dd>
2983
- <script type="text/javascript">moveProgressBar('64.5');</script>
2984
- <dd class="spec passed"><span class="passed_spec_name">should produce standard summary</span></dd>
2985
- <script type="text/javascript">moveProgressBar('64.6');</script>
2986
- <dd class="spec passed"><span class="passed_spec_name">should push green dot for passing spec</span></dd>
2987
- <script type="text/javascript">moveProgressBar('64.7');</script>
2988
- <dd class="spec passed"><span class="passed_spec_name">should push red F for failure spec</span></dd>
2989
- <script type="text/javascript">moveProgressBar('64.7');</script>
2990
- <dd class="spec passed"><span class="passed_spec_name">should push magenta F for error spec</span></dd>
2991
- <script type="text/javascript">moveProgressBar('64.8');</script>
2992
- <dd class="spec passed"><span class="passed_spec_name">should push blue F for fixed pending spec</span></dd>
2993
- <script type="text/javascript">moveProgressBar('64.9');</script>
2994
- <dd class="spec passed"><span class="passed_spec_name">should push nothing on start</span></dd>
2995
- <script type="text/javascript">moveProgressBar('65.0');</script>
2996
- <dd class="spec passed"><span class="passed_spec_name">should ensure two ':' in the first backtrace</span></dd>
2997
- <script type="text/javascript">moveProgressBar('65.1');</script>
2998
- <dd class="spec passed"><span class="passed_spec_name">should dump pending</span></dd>
2999
- </dl>
3000
- </div>
3001
- <div class="example_group">
3002
- <dl>
3003
- <dt id="example_group_240">ProgressBarFormatter outputting to custom out</dt>
3004
- <script type="text/javascript">moveProgressBar('65.1');</script>
3005
- <dd class="spec passed"><span class="passed_spec_name">should not throw NoMethodError on output_to_tty?</span></dd>
3006
- </dl>
3007
- </div>
3008
- <div class="example_group">
3009
- <dl>
3010
- <dt id="example_group_241">Spec::Runner::Formatter::ProgressBarFormatter dry run</dt>
3011
- <script type="text/javascript">moveProgressBar('65.2');</script>
3012
- <dd class="spec passed"><span class="passed_spec_name">should not produce summary on dry run</span></dd>
3013
- </dl>
3014
- </div>
3015
- <div class="example_group">
3016
- <dl>
3017
- <dt id="example_group_242">Spec::Runner::Formatter::SnippetExtractor</dt>
3018
- <script type="text/javascript">moveProgressBar('65.3');</script>
3019
- <dd class="spec passed"><span class="passed_spec_name">should fall back on a default message when it doesn't understand a line</span></dd>
3020
- <script type="text/javascript">moveProgressBar('65.4');</script>
3021
- <dd class="spec passed"><span class="passed_spec_name">should fall back on a default message when it doesn't find the file</span></dd>
3022
- </dl>
3023
- </div>
3024
- <div class="example_group">
3025
- <dl>
3026
- <dt id="example_group_243">Spec::Runner::Formatter::TextMateFormatter functional spec using --diff</dt>
3027
- <script type="text/javascript">moveProgressBar('65.5');</script>
3028
- <dd class="spec passed"><span class="passed_spec_name">should produce HTML identical to the one we designed manually with --diff</span></dd>
3029
- </dl>
3030
- </div>
3031
- <div class="example_group">
3032
- <dl>
3033
- <dt id="example_group_244">Spec::Runner::Formatter::TextMateFormatter functional spec using --dry-run</dt>
3034
- <script type="text/javascript">moveProgressBar('65.5');</script>
3035
- <dd class="spec passed"><span class="passed_spec_name">should produce HTML identical to the one we designed manually with --dry-run</span></dd>
3036
- </dl>
3037
- </div>
3038
- <div class="example_group">
3039
- <dl>
3040
- <dt id="example_group_245">Spec::Runner::Formatter::SpecdocFormatter where ExampleGroup has no superclasss with a description</dt>
3041
- <script type="text/javascript">moveProgressBar('65.6');</script>
3042
- <dd class="spec passed"><span class="passed_spec_name">should produce standard summary without pending when pending has a 0 count</span></dd>
3043
- <script type="text/javascript">moveProgressBar('65.7');</script>
3044
- <dd class="spec passed"><span class="passed_spec_name">should produce standard summary</span></dd>
3045
- <script type="text/javascript">moveProgressBar('65.8');</script>
3046
- <dd class="spec passed"><span class="passed_spec_name">should push ExampleGroup name</span></dd>
3047
- <script type="text/javascript">moveProgressBar('65.9');</script>
3048
- <dd class="spec passed"><span class="passed_spec_name">when having an error, should push failing spec name and failure number</span></dd>
3049
- <script type="text/javascript">moveProgressBar('65.9');</script>
3050
- <dd class="spec passed"><span class="passed_spec_name">when having an expectation failure, should push failing spec name and failure number</span></dd>
3051
- <script type="text/javascript">moveProgressBar('66.0');</script>
3052
- <dd class="spec passed"><span class="passed_spec_name">should push nothing on start</span></dd>
3053
- <script type="text/javascript">moveProgressBar('66.1');</script>
3054
- <dd class="spec passed"><span class="passed_spec_name">should push nothing on start dump</span></dd>
3055
- <script type="text/javascript">moveProgressBar('66.2');</script>
3056
- <dd class="spec passed"><span class="passed_spec_name">should push passing spec name</span></dd>
3057
- <script type="text/javascript">moveProgressBar('66.3');</script>
3058
- <dd class="spec passed"><span class="passed_spec_name">should push pending example name and message</span></dd>
3059
- <script type="text/javascript">moveProgressBar('66.3');</script>
3060
- <dd class="spec passed"><span class="passed_spec_name">should dump pending</span></dd>
3061
- </dl>
3062
- </div>
3063
- <div class="example_group">
3064
- <dl>
3065
- <dt id="example_group_246">Spec::Runner::Formatter::SpecdocFormatter where ExampleGroup has two superclasses with a description</dt>
3066
- <script type="text/javascript">moveProgressBar('66.4');</script>
3067
- <dd class="spec passed"><span class="passed_spec_name">when having an error, should push failing spec name and failure number</span></dd>
3068
- <script type="text/javascript">moveProgressBar('66.5');</script>
3069
- <dd class="spec passed"><span class="passed_spec_name">when having an expectation failure, should push failing spec name and failure number</span></dd>
3070
- </dl>
3071
- </div>
3072
- <div class="example_group">
3073
- <dl>
3074
- <dt id="example_group_247">Spec::Runner::Formatter::Story::HtmlFormatter</dt>
3075
- <script type="text/javascript">moveProgressBar('66.6');</script>
3076
- <dd class="spec passed"><span class="passed_spec_name">should just be poked at</span></dd>
3077
- <script type="text/javascript">moveProgressBar('66.7');</script>
3078
- <dd class="spec passed"><span class="passed_spec_name">should create spans for params</span></dd>
3079
- <script type="text/javascript">moveProgressBar('66.8');</script>
3080
- <dd class="spec passed"><span class="passed_spec_name">should create spanes for params in regexp steps</span></dd>
3081
- <script type="text/javascript">moveProgressBar('66.8');</script>
3082
- <dd class="spec passed"><span class="passed_spec_name">should create a ul for collected_steps</span></dd>
3083
- </dl>
3084
- </div>
3085
- <div class="example_group">
3086
- <dl>
3087
- <dt id="example_group_248">Spec::Runner::Formatter::Story::PlainTextFormatter</dt>
3088
- <script type="text/javascript">moveProgressBar('66.9');</script>
3089
- <dd class="spec passed"><span class="passed_spec_name">should summarize the number of scenarios when the run ends</span></dd>
3090
- <script type="text/javascript">moveProgressBar('67.0');</script>
3091
- <dd class="spec passed"><span class="passed_spec_name">should summarize the number of successful scenarios when the run ends</span></dd>
3092
- <script type="text/javascript">moveProgressBar('67.1');</script>
3093
- <dd class="spec passed"><span class="passed_spec_name">should summarize the number of failed scenarios when the run ends</span></dd>
3094
- <script type="text/javascript">moveProgressBar('67.2');</script>
3095
- <dd class="spec passed"><span class="passed_spec_name">should end cleanly (no characters on the last line) with successes</span></dd>
3096
- <script type="text/javascript">moveProgressBar('67.2');</script>
3097
- <dd class="spec passed"><span class="passed_spec_name">should end cleanly (no characters on the last line) with failures</span></dd>
3098
- <script type="text/javascript">moveProgressBar('67.3');</script>
3099
- <dd class="spec passed"><span class="passed_spec_name">should end cleanly (no characters on the last line) with pending steps</span></dd>
3100
- <script type="text/javascript">moveProgressBar('67.4');</script>
3101
- <dd class="spec passed"><span class="passed_spec_name">should summarize the number of pending scenarios when the run ends</span></dd>
3102
- <script type="text/javascript">moveProgressBar('67.5');</script>
3103
- <dd class="spec passed"><span class="passed_spec_name">should only count the first failure in one scenario</span></dd>
3104
- <script type="text/javascript">moveProgressBar('67.6');</script>
3105
- <dd class="spec passed"><span class="passed_spec_name">should only count the first pending in one scenario</span></dd>
3106
- <script type="text/javascript">moveProgressBar('67.6');</script>
3107
- <dd class="spec passed"><span class="passed_spec_name">should only count a failure before the first pending in one scenario</span></dd>
3108
- <script type="text/javascript">moveProgressBar('67.7');</script>
3109
- <dd class="spec passed"><span class="passed_spec_name">should produce details of the first failure each failed scenario when the run ends</span></dd>
3110
- <script type="text/javascript">moveProgressBar('67.8');</script>
3111
- <dd class="spec passed"><span class="passed_spec_name">should produce details of each pending step when the run ends</span></dd>
3112
- <script type="text/javascript">moveProgressBar('67.9');</script>
3113
- <dd class="spec passed"><span class="passed_spec_name">should document a story title and narrative</span></dd>
3114
- <script type="text/javascript">moveProgressBar('68.0');</script>
3115
- <dd class="spec passed"><span class="passed_spec_name">should document a scenario name</span></dd>
3116
- <script type="text/javascript">moveProgressBar('68.0');</script>
3117
- <dd class="spec passed"><span class="passed_spec_name">should document a step by sentence-casing its name</span></dd>
3118
- <script type="text/javascript">moveProgressBar('68.1');</script>
3119
- <dd class="spec passed"><span class="passed_spec_name">should document additional givens using And</span></dd>
3120
- <script type="text/javascript">moveProgressBar('68.2');</script>
3121
- <dd class="spec passed"><span class="passed_spec_name">should document additional events using And</span></dd>
3122
- <script type="text/javascript">moveProgressBar('68.3');</script>
3123
- <dd class="spec passed"><span class="passed_spec_name">should document additional outcomes using And</span></dd>
3124
- <script type="text/javascript">moveProgressBar('68.4');</script>
3125
- <dd class="spec passed"><span class="passed_spec_name">should document a GivenScenario followed by a Given using And</span></dd>
3126
- <script type="text/javascript">moveProgressBar('68.4');</script>
3127
- <dd class="spec passed"><span class="passed_spec_name">should document steps with replaced params</span></dd>
3128
- <script type="text/javascript">moveProgressBar('68.5');</script>
3129
- <dd class="spec passed"><span class="passed_spec_name">should document regexp steps with replaced params</span></dd>
3130
- <script type="text/javascript">moveProgressBar('68.6');</script>
3131
- <dd class="spec passed"><span class="passed_spec_name">should append PENDING for the first pending step</span></dd>
3132
- <script type="text/javascript">moveProgressBar('68.7');</script>
3133
- <dd class="spec passed"><span class="passed_spec_name">should append PENDING for pending after already pending</span></dd>
3134
- <script type="text/javascript">moveProgressBar('68.8');</script>
3135
- <dd class="spec passed"><span class="passed_spec_name">should append FAILED for the first failiure</span></dd>
3136
- <script type="text/javascript">moveProgressBar('68.9');</script>
3137
- <dd class="spec passed"><span class="passed_spec_name">should append SKIPPED for the second failiure</span></dd>
3138
- <script type="text/javascript">moveProgressBar('68.9');</script>
3139
- <dd class="spec passed"><span class="passed_spec_name">should append SKIPPED for the a failiure after PENDING</span></dd>
3140
- <script type="text/javascript">moveProgressBar('69.0');</script>
3141
- <dd class="spec passed"><span class="passed_spec_name">should print some white space after each story</span></dd>
3142
- <script type="text/javascript">moveProgressBar('69.1');</script>
3143
- <dd class="spec passed"><span class="passed_spec_name">should print nothing for collected_steps</span></dd>
3144
- <script type="text/javascript">moveProgressBar('69.2');</script>
3145
- <dd class="spec passed"><span class="passed_spec_name">should ignore messages it doesn't care about</span></dd>
3146
- </dl>
3147
- </div>
3148
- <div class="example_group">
3149
- <dl>
3150
- <dt id="example_group_249">HeckleRunner</dt>
3151
- <script type="text/javascript">moveProgressBar('69.3');</script>
3152
- <dd class="spec passed"><span class="passed_spec_name">should heckle all methods in all classes in a module</span></dd>
3153
- <script type="text/javascript">moveProgressBar('69.3');</script>
3154
- <dd class="spec passed"><span class="passed_spec_name">should heckle all methods in a class</span></dd>
3155
- <script type="text/javascript">moveProgressBar('69.4');</script>
3156
- <dd class="spec passed"><span class="passed_spec_name">should fail heckling when the class is not found</span></dd>
3157
- <script type="text/javascript">moveProgressBar('69.5');</script>
3158
- <dd class="spec passed"><span class="passed_spec_name">should heckle specific method in a class (with #)</span></dd>
3159
- <script type="text/javascript">moveProgressBar('69.6');</script>
3160
- <dd class="spec passed"><span class="passed_spec_name">should heckle specific method in a class (with .)</span></dd>
3161
- </dl>
3162
- </div>
3163
- <div class="example_group">
3164
- <dl>
3165
- <dt id="example_group_250">Heckler</dt>
3166
- <script type="text/javascript">moveProgressBar('69.7');</script>
3167
- <dd class="spec passed"><span class="passed_spec_name">should say yes to tests_pass? if specs pass</span></dd>
3168
- <script type="text/javascript">moveProgressBar('69.7');</script>
3169
- <dd class="spec passed"><span class="passed_spec_name">should say no to tests_pass? if specs fail</span></dd>
3170
- </dl>
3171
- </div>
3172
- <div class="example_group">
3173
- <dl>
3174
- <dt id="example_group_251">Heckler</dt>
3175
- <script type="text/javascript">moveProgressBar('69.8');</script>
3176
- <dd class="spec passed"><span class="passed_spec_name">should run examples on tests_pass?</span></dd>
3177
- </dl>
3178
- </div>
3179
- <div class="example_group">
3180
- <dl>
3181
- <dt id="example_group_252">NoisyBacktraceTweaker</dt>
3182
- <script type="text/javascript">moveProgressBar('69.9');</script>
3183
- <dd class="spec passed"><span class="passed_spec_name">should leave anything in lib spec dir</span></dd>
3184
- <script type="text/javascript">moveProgressBar('70.0');</script>
3185
- <dd class="spec passed"><span class="passed_spec_name">should leave anything in spec dir</span></dd>
3186
- <script type="text/javascript">moveProgressBar('70.1');</script>
3187
- <dd class="spec passed"><span class="passed_spec_name">should leave bin spec</span></dd>
3188
- <script type="text/javascript">moveProgressBar('70.1');</script>
3189
- <dd class="spec passed"><span class="passed_spec_name">should not barf on nil backtrace</span></dd>
3190
- <script type="text/javascript">moveProgressBar('70.2');</script>
3191
- <dd class="spec passed"><span class="passed_spec_name">should clean up double slashes</span></dd>
3192
- </dl>
3193
- </div>
3194
- <div class="example_group">
3195
- <dl>
3196
- <dt id="example_group_253">OptionParser</dt>
3197
- <script type="text/javascript">moveProgressBar('70.3');</script>
3198
- <dd class="spec passed"><span class="passed_spec_name">should accept files to include</span></dd>
3199
- <script type="text/javascript">moveProgressBar('70.4');</script>
3200
- <dd class="spec passed"><span class="passed_spec_name">should accept dry run option</span></dd>
3201
- <script type="text/javascript">moveProgressBar('70.5');</script>
3202
- <dd class="spec passed"><span class="passed_spec_name">should eval and use custom formatter when none of the builtins</span></dd>
3203
- <script type="text/javascript">moveProgressBar('70.5');</script>
3204
- <dd class="spec passed"><span class="passed_spec_name">should support formatters with relative and absolute paths, even on windows</span></dd>
3205
- <script type="text/javascript">moveProgressBar('70.6');</script>
3206
- <dd class="spec passed"><span class="passed_spec_name">should not be verbose by default</span></dd>
3207
- <script type="text/javascript">moveProgressBar('70.7');</script>
3208
- <dd class="spec passed"><span class="passed_spec_name">should not use colour by default</span></dd>
3209
- <script type="text/javascript">makeYellow('rspec-header');</script>
3210
- <script type="text/javascript">makeYellow('example_group_253');</script>
3211
- <script type="text/javascript">moveProgressBar('70.8');</script>
3212
- <dd class="spec not_implemented"><span class="not_implemented_spec_name">should print help to stdout if no args (PENDING: A regression since 1.0.8)</span></dd>
3213
- <script type="text/javascript">moveProgressBar('70.9');</script>
3214
- <dd class="spec passed"><span class="passed_spec_name">should print help to stdout</span></dd>
3215
- <script type="text/javascript">moveProgressBar('71.0');</script>
3216
- <dd class="spec passed"><span class="passed_spec_name">should print instructions about how to require missing formatter</span></dd>
3217
- <script type="text/javascript">moveProgressBar('71.0');</script>
3218
- <dd class="spec passed"><span class="passed_spec_name">should print version to stdout</span></dd>
3219
- <script type="text/javascript">moveProgressBar('71.1');</script>
3220
- <dd class="spec passed"><span class="passed_spec_name">should require file when require specified</span></dd>
3221
- <script type="text/javascript">moveProgressBar('71.2');</script>
3222
- <dd class="spec passed"><span class="passed_spec_name">should support c option</span></dd>
3223
- <script type="text/javascript">moveProgressBar('71.3');</script>
3224
- <dd class="spec passed"><span class="passed_spec_name">should support queens colour option</span></dd>
3225
- <script type="text/javascript">moveProgressBar('71.4');</script>
3226
- <dd class="spec passed"><span class="passed_spec_name">should support us color option</span></dd>
3227
- <script type="text/javascript">moveProgressBar('71.4');</script>
3228
- <dd class="spec passed"><span class="passed_spec_name">should support single example with -e option</span></dd>
3229
- <script type="text/javascript">moveProgressBar('71.5');</script>
3230
- <dd class="spec passed"><span class="passed_spec_name">should support single example with -s option (will be removed when autotest supports -e)</span></dd>
3231
- <script type="text/javascript">moveProgressBar('71.6');</script>
3232
- <dd class="spec passed"><span class="passed_spec_name">should support single example with --example option</span></dd>
3233
- <script type="text/javascript">moveProgressBar('71.7');</script>
3234
- <dd class="spec passed"><span class="passed_spec_name">should read several example names from file if --example is given an existing file name</span></dd>
3235
- <script type="text/javascript">moveProgressBar('71.8');</script>
3236
- <dd class="spec passed"><span class="passed_spec_name">should read no examples if given an empty file</span></dd>
3237
- <script type="text/javascript">moveProgressBar('71.8');</script>
3238
- <dd class="spec passed"><span class="passed_spec_name">should use html formatter when format is h</span></dd>
3239
- <script type="text/javascript">moveProgressBar('71.9');</script>
3240
- <dd class="spec passed"><span class="passed_spec_name">should use html story formatter when format is h</span></dd>
3241
- <script type="text/javascript">moveProgressBar('72.0');</script>
3242
- <dd class="spec passed"><span class="passed_spec_name">should use html formatter when format is html</span></dd>
3243
- <script type="text/javascript">moveProgressBar('72.1');</script>
3244
- <dd class="spec passed"><span class="passed_spec_name">should use html story formatter when format is html</span></dd>
3245
- <script type="text/javascript">moveProgressBar('72.2');</script>
3246
- <dd class="spec passed"><span class="passed_spec_name">should use html formatter with explicit output when format is html:test.html</span></dd>
3247
- <script type="text/javascript">moveProgressBar('72.2');</script>
3248
- <dd class="spec passed"><span class="passed_spec_name">should use noisy backtrace tweaker with b option</span></dd>
3249
- <script type="text/javascript">moveProgressBar('72.3');</script>
3250
- <dd class="spec passed"><span class="passed_spec_name">should use noisy backtrace tweaker with backtrace option</span></dd>
3251
- <script type="text/javascript">moveProgressBar('72.4');</script>
3252
- <dd class="spec passed"><span class="passed_spec_name">should use quiet backtrace tweaker by default</span></dd>
3253
- <script type="text/javascript">moveProgressBar('72.5');</script>
3254
- <dd class="spec passed"><span class="passed_spec_name">should use progress bar formatter by default</span></dd>
3255
- <script type="text/javascript">moveProgressBar('72.6');</script>
3256
- <dd class="spec passed"><span class="passed_spec_name">should use specdoc formatter when format is s</span></dd>
3257
- <script type="text/javascript">moveProgressBar('72.6');</script>
3258
- <dd class="spec passed"><span class="passed_spec_name">should use specdoc formatter when format is specdoc</span></dd>
3259
- <script type="text/javascript">moveProgressBar('72.7');</script>
3260
- <dd class="spec passed"><span class="passed_spec_name">should support diff option when format is not specified</span></dd>
3261
- <script type="text/javascript">moveProgressBar('72.8');</script>
3262
- <dd class="spec passed"><span class="passed_spec_name">should use unified diff format option when format is unified</span></dd>
3263
- <script type="text/javascript">moveProgressBar('72.9');</script>
3264
- <dd class="spec passed"><span class="passed_spec_name">should use context diff format option when format is context</span></dd>
3265
- <script type="text/javascript">moveProgressBar('73.0');</script>
3266
- <dd class="spec passed"><span class="passed_spec_name">should use custom diff format option when format is a custom format</span></dd>
3267
- <script type="text/javascript">moveProgressBar('73.1');</script>
3268
- <dd class="spec passed"><span class="passed_spec_name">should print instructions about how to fix missing differ</span></dd>
3269
- <script type="text/javascript">moveProgressBar('73.1');</script>
3270
- <dd class="spec passed"><span class="passed_spec_name">should support --line to identify spec</span></dd>
3271
- <script type="text/javascript">moveProgressBar('73.2');</script>
3272
- <dd class="spec passed"><span class="passed_spec_name">should fail with error message if file is dir along with --line</span></dd>
3273
- <script type="text/javascript">moveProgressBar('73.3');</script>
3274
- <dd class="spec passed"><span class="passed_spec_name">should fail with error message if file does not exist along with --line</span></dd>
3275
- <script type="text/javascript">moveProgressBar('73.4');</script>
3276
- <dd class="spec passed"><span class="passed_spec_name">should fail with error message if more than one files are specified along with --line</span></dd>
3277
- <script type="text/javascript">moveProgressBar('73.5');</script>
3278
- <dd class="spec passed"><span class="passed_spec_name">should fail with error message if --example and --line are used simultaneously</span></dd>
3279
- <script type="text/javascript">moveProgressBar('73.5');</script>
3280
- <dd class="spec passed"><span class="passed_spec_name">should heckle when --heckle is specified (and platform is not windows)</span></dd>
3281
- <script type="text/javascript">moveProgressBar('73.6');</script>
3282
- <dd class="spec passed"><span class="passed_spec_name">should read options from file when --options is specified</span></dd>
3283
- <script type="text/javascript">moveProgressBar('73.7');</script>
3284
- <dd class="spec passed"><span class="passed_spec_name">should default the formatter to ProgressBarFormatter when using options file</span></dd>
3285
- <script type="text/javascript">moveProgressBar('73.8');</script>
3286
- <dd class="spec passed"><span class="passed_spec_name">should read spaced and multi-line options from file when --options is specified</span></dd>
3287
- <script type="text/javascript">moveProgressBar('73.9');</script>
3288
- <dd class="spec passed"><span class="passed_spec_name">should save config to file when --generate-options is specified</span></dd>
3289
- <script type="text/javascript">moveProgressBar('73.9');</script>
3290
- <dd class="spec passed"><span class="passed_spec_name">should save config to file when -G is specified</span></dd>
3291
- <script type="text/javascript">moveProgressBar('74.0');</script>
3292
- <dd class="spec passed"><span class="passed_spec_name">when --drb is specified, calls DrbCommandLine all of the other ARGV arguments</span></dd>
3293
- <script type="text/javascript">moveProgressBar('74.1');</script>
3294
- <dd class="spec passed"><span class="passed_spec_name">should reverse spec order when --reverse is specified</span></dd>
3295
- <script type="text/javascript">moveProgressBar('74.2');</script>
3296
- <dd class="spec passed"><span class="passed_spec_name">should set an mtime comparator when --loadby mtime</span></dd>
3297
- <script type="text/javascript">moveProgressBar('74.3');</script>
3298
- <dd class="spec passed"><span class="passed_spec_name">should use the standard runner by default</span></dd>
3299
- <script type="text/javascript">moveProgressBar('74.3');</script>
3300
- <dd class="spec passed"><span class="passed_spec_name">should use a custom runner when given</span></dd>
3301
- <script type="text/javascript">moveProgressBar('74.4');</script>
3302
- <dd class="spec passed"><span class="passed_spec_name">should use a custom runner with extra options</span></dd>
3303
- </dl>
3304
- </div>
3305
- <div class="example_group">
3306
- <dl>
3307
- <dt id="example_group_254">Spec::Runner::Options#examples</dt>
3308
- <script type="text/javascript">moveProgressBar('74.5');</script>
3309
- <dd class="spec passed"><span class="passed_spec_name">should default to empty array</span></dd>
3310
- </dl>
3311
- </div>
3312
- <div class="example_group">
3313
- <dl>
3314
- <dt id="example_group_255">Spec::Runner::Options#include_pattern</dt>
3315
- <script type="text/javascript">moveProgressBar('74.6');</script>
3316
- <dd class="spec passed"><span class="passed_spec_name">should default to '**/*.rb'</span></dd>
3317
- </dl>
3318
- </div>
3319
- <div class="example_group">
3320
- <dl>
3321
- <dt id="example_group_256">Spec::Runner::Options#files_to_load</dt>
3322
- <script type="text/javascript">moveProgressBar('74.7');</script>
3323
- <dd class="spec passed"><span class="passed_spec_name">should load files following pattern</span></dd>
3324
- <script type="text/javascript">moveProgressBar('74.7');</script>
3325
- <dd class="spec passed"><span class="passed_spec_name">should not load files not following pattern</span></dd>
3326
- <script type="text/javascript">moveProgressBar('74.8');</script>
3327
- <dd class="spec passed"><span class="passed_spec_name">should load files in directories not following pattern</span></dd>
3328
- <script type="text/javascript">moveProgressBar('74.9');</script>
3329
- <dd class="spec passed"><span class="passed_spec_name">should not load files in directories not following pattern</span></dd>
3330
- </dl>
3331
- </div>
3332
- <div class="example_group">
3333
- <dl>
3334
- <dt id="example_group_257">Spec::Runner::Options#backtrace_tweaker</dt>
3335
- <script type="text/javascript">moveProgressBar('75.0');</script>
3336
- <dd class="spec passed"><span class="passed_spec_name">should default to QuietBacktraceTweaker</span></dd>
3337
- </dl>
3338
- </div>
3339
- <div class="example_group">
3340
- <dl>
3341
- <dt id="example_group_258">Spec::Runner::Options#dry_run</dt>
3342
- <script type="text/javascript">moveProgressBar('75.1');</script>
3343
- <dd class="spec passed"><span class="passed_spec_name">should default to false</span></dd>
3344
- </dl>
3345
- </div>
3346
- <div class="example_group">
3347
- <dl>
3348
- <dt id="example_group_259">Spec::Runner::Options#context_lines</dt>
3349
- <script type="text/javascript">moveProgressBar('75.2');</script>
3350
- <dd class="spec passed"><span class="passed_spec_name">should default to 3</span></dd>
3351
- </dl>
3352
- </div>
3353
- <div class="example_group">
3354
- <dl>
3355
- <dt id="example_group_260">Spec::Runner::Options#parse_diff with nil</dt>
3356
- <script type="text/javascript">moveProgressBar('75.2');</script>
3357
- <dd class="spec passed"><span class="passed_spec_name">should make diff_format unified</span></dd>
3358
- <script type="text/javascript">moveProgressBar('75.3');</script>
3359
- <dd class="spec passed"><span class="passed_spec_name">should set Spec::Expectations.differ to be a default differ</span></dd>
3360
- </dl>
3361
- </div>
3362
- <div class="example_group">
3363
- <dl>
3364
- <dt id="example_group_261">Spec::Runner::Options#parse_diff with 'unified'</dt>
3365
- <script type="text/javascript">moveProgressBar('75.4');</script>
3366
- <dd class="spec passed"><span class="passed_spec_name">should make diff_format unified and uses default differ_class</span></dd>
3367
- <script type="text/javascript">moveProgressBar('75.5');</script>
3368
- <dd class="spec passed"><span class="passed_spec_name">should set Spec::Expectations.differ to be a default differ</span></dd>
3369
- </dl>
3370
- </div>
3371
- <div class="example_group">
3372
- <dl>
3373
- <dt id="example_group_262">Spec::Runner::Options#parse_diff with 'context'</dt>
3374
- <script type="text/javascript">moveProgressBar('75.6');</script>
3375
- <dd class="spec passed"><span class="passed_spec_name">should make diff_format context and uses default differ_class</span></dd>
3376
- <script type="text/javascript">moveProgressBar('75.6');</script>
3377
- <dd class="spec passed"><span class="passed_spec_name">should set Spec::Expectations.differ to be a default differ</span></dd>
3378
- </dl>
3379
- </div>
3380
- <div class="example_group">
3381
- <dl>
3382
- <dt id="example_group_263">Spec::Runner::Options#parse_diff with Custom::Differ</dt>
3383
- <script type="text/javascript">moveProgressBar('75.7');</script>
3384
- <dd class="spec passed"><span class="passed_spec_name">should use custom differ_class</span></dd>
3385
- <script type="text/javascript">moveProgressBar('75.8');</script>
3386
- <dd class="spec passed"><span class="passed_spec_name">should set Spec::Expectations.differ to be a default differ</span></dd>
3387
- </dl>
3388
- </div>
3389
- <div class="example_group">
3390
- <dl>
3391
- <dt id="example_group_264">Spec::Runner::Options#parse_diff with missing class name</dt>
3392
- <script type="text/javascript">moveProgressBar('75.9');</script>
3393
- <dd class="spec passed"><span class="passed_spec_name">should raise error</span></dd>
3394
- </dl>
3395
- </div>
3396
- <div class="example_group">
3397
- <dl>
3398
- <dt id="example_group_265">Spec::Runner::Options#parse_example</dt>
3399
- <script type="text/javascript">moveProgressBar('76.0');</script>
3400
- <dd class="spec passed"><span class="passed_spec_name">with argument thats not a file path, sets argument as the example</span></dd>
3401
- <script type="text/javascript">moveProgressBar('76.0');</script>
3402
- <dd class="spec passed"><span class="passed_spec_name">with argument that is a file path, sets examples to contents of the file</span></dd>
3403
- </dl>
3404
- </div>
3405
- <div class="example_group">
3406
- <dl>
3407
- <dt id="example_group_266">Spec::Runner::Options#examples_should_not_be_run</dt>
3408
- <script type="text/javascript">moveProgressBar('76.1');</script>
3409
- <dd class="spec passed"><span class="passed_spec_name">should cause #run_examples to return true and do nothing</span></dd>
3410
- </dl>
3411
- </div>
3412
- <div class="example_group">
3413
- <dl>
3414
- <dt id="example_group_267">Spec::Runner::Options#load_class</dt>
3415
- <script type="text/javascript">moveProgressBar('76.2');</script>
3416
- <dd class="spec passed"><span class="passed_spec_name">should raise error when not class name</span></dd>
3417
- </dl>
3418
- </div>
3419
- <div class="example_group">
3420
- <dl>
3421
- <dt id="example_group_268">Spec::Runner::Options#reporter</dt>
3422
- <script type="text/javascript">moveProgressBar('76.3');</script>
3423
- <dd class="spec passed"><span class="passed_spec_name">returns a Reporter</span></dd>
3424
- </dl>
3425
- </div>
3426
- <div class="example_group">
3427
- <dl>
3428
- <dt id="example_group_269">Spec::Runner::Options#add_example_group affecting passed in example_group</dt>
3429
- </dl>
3430
- </div>
3431
- <div class="example_group">
3432
- <dl>
3433
- <dt id="example_group_270">Some Examples</dt>
3434
- <script type="text/javascript">moveProgressBar('76.4');</script>
3435
- <dd class="spec passed"><span class="passed_spec_name">runs 1</span></dd>
3436
- <script type="text/javascript">moveProgressBar('76.5');</script>
3437
- <dd class="spec passed"><span class="passed_spec_name">runs 2</span></dd>
3438
- <script type="text/javascript">moveProgressBar('76.5');</script>
3439
- <dd class="spec passed"><span class="passed_spec_name">runs all examples when options.examples is nil</span></dd>
3440
- </dl>
3441
- </div>
3442
- <div class="example_group">
3443
- <dl>
3444
- <dt id="example_group_271">Some Examples</dt>
3445
- <script type="text/javascript">moveProgressBar('76.7');</script>
3446
- <dd class="spec passed"><span class="passed_spec_name">runs 1</span></dd>
3447
- <script type="text/javascript">moveProgressBar('76.8');</script>
3448
- <dd class="spec passed"><span class="passed_spec_name">runs 2</span></dd>
3449
- <script type="text/javascript">moveProgressBar('76.8');</script>
3450
- <dd class="spec passed"><span class="passed_spec_name">keeps all example_definitions when options.examples is empty</span></dd>
3451
- </dl>
3452
- </div>
3453
- <div class="example_group">
3454
- <dl>
3455
- <dt id="example_group_272">Spec::Runner::Options#add_example_group affecting example_group</dt>
3456
- <script type="text/javascript">moveProgressBar('76.8');</script>
3457
- <dd class="spec passed"><span class="passed_spec_name">adds example_group when example_group has example_definitions and is not shared</span></dd>
3458
- </dl>
3459
- </div>
3460
- <div class="example_group">
3461
- <dl>
3462
- <dt id="example_group_273">Spec::Runner::Options#remove_example_group</dt>
3463
- <script type="text/javascript">moveProgressBar('76.9');</script>
3464
- <dd class="spec passed"><span class="passed_spec_name">should remove the ExampleGroup from the list of ExampleGroups</span></dd>
3465
- </dl>
3466
- </div>
3467
- <div class="example_group">
3468
- <dl>
3469
- <dt id="example_group_274">Spec::Runner::Options#run_examples</dt>
3470
- <script type="text/javascript">moveProgressBar('77.0');</script>
3471
- <dd class="spec passed"><span class="passed_spec_name">should use the standard runner by default</span></dd>
3472
- <script type="text/javascript">moveProgressBar('77.1');</script>
3473
- <dd class="spec passed"><span class="passed_spec_name">should use a custom runner when given</span></dd>
3474
- <script type="text/javascript">moveProgressBar('77.2');</script>
3475
- <dd class="spec passed"><span class="passed_spec_name">should use a custom runner with extra options</span></dd>
3476
- </dl>
3477
- </div>
3478
- <div class="example_group">
3479
- <dl>
3480
- <dt id="example_group_275">Spec::Runner::Options#run_examples when there are examples</dt>
3481
- <script type="text/javascript">moveProgressBar('77.3');</script>
3482
- <dd class="spec passed"><span class="passed_spec_name">runs the Examples and outputs the result</span></dd>
3483
- <script type="text/javascript">moveProgressBar('77.3');</script>
3484
- <dd class="spec passed"><span class="passed_spec_name">sets #examples_run? to true</span></dd>
3485
- </dl>
3486
- </div>
3487
- <div class="example_group">
3488
- <dl>
3489
- <dt id="example_group_276">Spec::Runner::Options#run_examples when there are no examples</dt>
3490
- <script type="text/javascript">moveProgressBar('77.4');</script>
3491
- <dd class="spec passed"><span class="passed_spec_name">does not run Examples and does not output a result</span></dd>
3492
- <script type="text/javascript">moveProgressBar('77.5');</script>
3493
- <dd class="spec passed"><span class="passed_spec_name">sets #examples_run? to false</span></dd>
3494
- </dl>
3495
- </div>
3496
- <div class="example_group">
3497
- <dl>
3498
- <dt id="example_group_277">Spec::Runner::CommandLine</dt>
3499
- <script type="text/javascript">moveProgressBar('77.6');</script>
3500
- <dd class="spec passed"><span class="passed_spec_name">should not output twice</span></dd>
3501
- </dl>
3502
- </div>
3503
- <div class="example_group">
3504
- <dl>
3505
- <dt id="example_group_278">QuietBacktraceTweaker</dt>
3506
- <script type="text/javascript">moveProgressBar('77.7');</script>
3507
- <dd class="spec passed"><span class="passed_spec_name">should not barf on nil backtrace</span></dd>
3508
- <script type="text/javascript">moveProgressBar('77.7');</script>
3509
- <dd class="spec passed"><span class="passed_spec_name">should remove anything from textmate ruby bundle</span></dd>
3510
- <script type="text/javascript">moveProgressBar('77.8');</script>
3511
- <dd class="spec passed"><span class="passed_spec_name">should remove anything in lib spec dir</span></dd>
3512
- <script type="text/javascript">moveProgressBar('77.9');</script>
3513
- <dd class="spec passed"><span class="passed_spec_name">should remove mock_frameworks/rspec</span></dd>
3514
- <script type="text/javascript">moveProgressBar('78.0');</script>
3515
- <dd class="spec passed"><span class="passed_spec_name">should remove bin spec</span></dd>
3516
- <script type="text/javascript">moveProgressBar('78.1');</script>
3517
- <dd class="spec passed"><span class="passed_spec_name">should clean up double slashes</span></dd>
3518
- </dl>
3519
- </div>
3520
- <div class="example_group">
3521
- <dl>
3522
- <dt id="example_group_279">Spec::Runner::Reporter</dt>
3523
- <script type="text/javascript">moveProgressBar('78.1');</script>
3524
- <dd class="spec passed"><span class="passed_spec_name">should assign itself as the reporter to options</span></dd>
3525
- <script type="text/javascript">moveProgressBar('78.2');</script>
3526
- <dd class="spec passed"><span class="passed_spec_name">should tell formatter when example_group is added</span></dd>
3527
- <script type="text/javascript">moveProgressBar('78.3');</script>
3528
- <dd class="spec passed"><span class="passed_spec_name">should handle multiple example_groups with same name</span></dd>
3529
- <script type="text/javascript">moveProgressBar('78.4');</script>
3530
- <dd class="spec passed"><span class="passed_spec_name">should handle multiple examples with the same name</span></dd>
3531
- <script type="text/javascript">moveProgressBar('78.5');</script>
3532
- <dd class="spec passed"><span class="passed_spec_name">should push stats to formatter even with no data</span></dd>
3533
- <script type="text/javascript">moveProgressBar('78.5');</script>
3534
- <dd class="spec passed"><span class="passed_spec_name">should push time to formatter</span></dd>
3535
- </dl>
3536
- </div>
3537
- <div class="example_group">
3538
- <dl>
3539
- <dt id="example_group_280">Spec::Runner::Reporter Spec::Runner::Reporter reporting one passing example</dt>
3540
- <script type="text/javascript">moveProgressBar('78.6');</script>
3541
- <dd class="spec passed"><span class="passed_spec_name">should tell formatter example passed</span></dd>
3542
- <script type="text/javascript">moveProgressBar('78.7');</script>
3543
- <dd class="spec passed"><span class="passed_spec_name">should not delegate to backtrace tweaker</span></dd>
3544
- <script type="text/javascript">moveProgressBar('78.8');</script>
3545
- <dd class="spec passed"><span class="passed_spec_name">should account for passing example in stats</span></dd>
3546
- </dl>
3547
- </div>
3548
- <div class="example_group">
3549
- <dl>
3550
- <dt id="example_group_281">Spec::Runner::Reporter Spec::Runner::Reporter reporting one failing example</dt>
3551
- <script type="text/javascript">moveProgressBar('78.9');</script>
3552
- <dd class="spec passed"><span class="passed_spec_name">should tell formatter that example failed</span></dd>
3553
- <script type="text/javascript">moveProgressBar('78.9');</script>
3554
- <dd class="spec passed"><span class="passed_spec_name">should delegate to backtrace tweaker</span></dd>
3555
- <script type="text/javascript">moveProgressBar('79.0');</script>
3556
- <dd class="spec passed"><span class="passed_spec_name">should account for failing example in stats</span></dd>
3557
- </dl>
3558
- </div>
3559
- <div class="example_group">
3560
- <dl>
3561
- <dt id="example_group_282">Spec::Runner::Reporter Spec::Runner::Reporter reporting one pending example (ExamplePendingError)</dt>
3562
- <script type="text/javascript">moveProgressBar('79.1');</script>
3563
- <dd class="spec passed"><span class="passed_spec_name">should tell formatter example is pending</span></dd>
3564
- <script type="text/javascript">moveProgressBar('79.2');</script>
3565
- <dd class="spec passed"><span class="passed_spec_name">should account for pending example in stats</span></dd>
3566
- </dl>
3567
- </div>
3568
- <div class="example_group">
3569
- <dl>
3570
- <dt id="example_group_283">Spec::Runner::Reporter Spec::Runner::Reporter reporting one pending example (PendingExampleFixedError)</dt>
3571
- <script type="text/javascript">moveProgressBar('79.3');</script>
3572
- <dd class="spec passed"><span class="passed_spec_name">should tell formatter pending example is fixed</span></dd>
3573
- </dl>
3574
- </div>
3575
- <div class="example_group">
3576
- <dl>
3577
- <dt id="example_group_284">c</dt>
3578
- <script type="text/javascript">moveProgressBar('79.4');</script>
3579
- <dd class="spec passed"><span class="passed_spec_name">1</span></dd>
3580
- <script type="text/javascript">moveProgressBar('79.4');</script>
3581
- <dd class="spec passed"><span class="passed_spec_name">2</span></dd>
3582
- </dl>
3583
- </div>
3584
- <div class="example_group">
3585
- <dl>
3586
- <dt id="example_group_285">d</dt>
3587
- <script type="text/javascript">moveProgressBar('79.5');</script>
3588
- <dd class="spec passed"><span class="passed_spec_name">3</span></dd>
3589
- <script type="text/javascript">moveProgressBar('79.6');</script>
3590
- <dd class="spec passed"><span class="passed_spec_name">4</span></dd>
3591
- </dl>
3592
- </div>
3593
- <div class="example_group">
3594
- <dl>
3595
- <dt id="example_group_286">SpecParserSubject</dt>
3596
- <script type="text/javascript">moveProgressBar('79.7');</script>
3597
- <dd class="spec passed"><span class="passed_spec_name">5</span></dd>
3598
- </dl>
3599
- </div>
3600
- <div class="example_group">
3601
- <dl>
3602
- <dt id="example_group_287">SpecParserSubject described</dt>
3603
- <script type="text/javascript">moveProgressBar('79.8');</script>
3604
- <dd class="spec passed"><span class="passed_spec_name">6</span></dd>
3605
- </dl>
3606
- </div>
3607
- <div class="example_group">
3608
- <dl>
3609
- <dt id="example_group_288">SpecParserSubject described</dt>
3610
- <script type="text/javascript">moveProgressBar('79.8');</script>
3611
- <dd class="spec passed"><span class="passed_spec_name">7</span></dd>
3612
- </dl>
3613
- </div>
3614
- <div class="example_group">
3615
- <dl>
3616
- <dt id="example_group_289">described</dt>
3617
- <script type="text/javascript">moveProgressBar('79.9');</script>
3618
- <dd class="spec passed"><span class="passed_spec_name">8</span></dd>
3619
- </dl>
3620
- </div>
3621
- <div class="example_group">
3622
- <dl>
3623
- <dt id="example_group_290">SpecParser</dt>
3624
- <script type="text/javascript">moveProgressBar('80.0');</script>
3625
- <dd class="spec passed"><span class="passed_spec_name">should find spec name for 'specify' at same line</span></dd>
3626
- <script type="text/javascript">moveProgressBar('80.1');</script>
3627
- <dd class="spec passed"><span class="passed_spec_name">should find spec name for 'specify' at end of spec line</span></dd>
3628
- <script type="text/javascript">moveProgressBar('80.2');</script>
3629
- <dd class="spec passed"><span class="passed_spec_name">should find context for 'context' above all specs</span></dd>
3630
- <script type="text/javascript">moveProgressBar('80.2');</script>
3631
- <dd class="spec passed"><span class="passed_spec_name">should find spec name for 'it' at same line</span></dd>
3632
- <script type="text/javascript">moveProgressBar('80.3');</script>
3633
- <dd class="spec passed"><span class="passed_spec_name">should find spec name for 'it' at end of spec line</span></dd>
3634
- <script type="text/javascript">moveProgressBar('80.4');</script>
3635
- <dd class="spec passed"><span class="passed_spec_name">should find context for 'describe' above all specs</span></dd>
3636
- <script type="text/javascript">moveProgressBar('80.5');</script>
3637
- <dd class="spec passed"><span class="passed_spec_name">should find nearest example name between examples</span></dd>
3638
- <script type="text/javascript">moveProgressBar('80.6');</script>
3639
- <dd class="spec passed"><span class="passed_spec_name">should find nothing outside a context</span></dd>
3640
- <script type="text/javascript">moveProgressBar('80.6');</script>
3641
- <dd class="spec passed"><span class="passed_spec_name">should find context name for type</span></dd>
3642
- <script type="text/javascript">moveProgressBar('80.7');</script>
3643
- <dd class="spec passed"><span class="passed_spec_name">should find context and spec name for type</span></dd>
3644
- <script type="text/javascript">moveProgressBar('80.8');</script>
3645
- <dd class="spec passed"><span class="passed_spec_name">should find context and description for type</span></dd>
3646
- <script type="text/javascript">moveProgressBar('80.9');</script>
3647
- <dd class="spec passed"><span class="passed_spec_name">should find context and description and example for type</span></dd>
3648
- <script type="text/javascript">moveProgressBar('81.0');</script>
3649
- <dd class="spec passed"><span class="passed_spec_name">should find context and description for type with modifications</span></dd>
3650
- <script type="text/javascript">moveProgressBar('81.0');</script>
3651
- <dd class="spec passed"><span class="passed_spec_name">should find context and described and example for type with modifications</span></dd>
3652
- <script type="text/javascript">moveProgressBar('81.1');</script>
3653
- <dd class="spec passed"><span class="passed_spec_name">should find example group</span></dd>
3654
- <script type="text/javascript">moveProgressBar('81.2');</script>
3655
- <dd class="spec passed"><span class="passed_spec_name">should find example</span></dd>
3656
- </dl>
3657
- </div>
3658
- <div class="example_group">
3659
- <dl>
3660
- <dt id="example_group_291">Spec::Runner.configure</dt>
3661
- <script type="text/javascript">moveProgressBar('81.3');</script>
3662
- <dd class="spec passed"><span class="passed_spec_name">should yield global configuration</span></dd>
3663
- </dl>
3664
- </div>
3665
- <div class="example_group">
3666
- <dl>
3667
- <dt id="example_group_292">Spec::Story::Extensions::Main#run_story</dt>
3668
- <script type="text/javascript">moveProgressBar('81.4');</script>
3669
- <dd class="spec passed"><span class="passed_spec_name">should create a PlainTextStoryRunner with run_story</span></dd>
3670
- <script type="text/javascript">moveProgressBar('81.5');</script>
3671
- <dd class="spec passed"><span class="passed_spec_name">should yield the runner if arity == 1</span></dd>
3672
- <script type="text/javascript">moveProgressBar('81.5');</script>
3673
- <dd class="spec passed"><span class="passed_spec_name">should run in the runner if arity == 0</span></dd>
3674
- <script type="text/javascript">moveProgressBar('81.6');</script>
3675
- <dd class="spec passed"><span class="passed_spec_name">should tell the PlainTextStoryRunner to run with run_story</span></dd>
3676
- </dl>
3677
- </div>
3678
- <div class="example_group">
3679
- <dl>
3680
- <dt id="example_group_293">Spec::Story::Extensions::Main#steps_for</dt>
3681
- <script type="text/javascript">moveProgressBar('81.7');</script>
3682
- <dd class="spec passed"><span class="passed_spec_name">should have no steps for a non existent key</span></dd>
3683
- <script type="text/javascript">moveProgressBar('81.8');</script>
3684
- <dd class="spec passed"><span class="passed_spec_name">should create steps for a key</span></dd>
3685
- <script type="text/javascript">moveProgressBar('81.9');</script>
3686
- <dd class="spec passed"><span class="passed_spec_name">should append steps to steps_for a given key</span></dd>
3687
- </dl>
3688
- </div>
3689
- <div class="example_group">
3690
- <dl>
3691
- <dt id="example_group_294">Spec::Story::Extensions::Main#with_steps_for adding new steps</dt>
3692
- <script type="text/javascript">moveProgressBar('81.9');</script>
3693
- <dd class="spec passed"><span class="passed_spec_name">should result in a group containing pre-existing steps and newly defined steps</span></dd>
3694
- <script type="text/javascript">moveProgressBar('82.0');</script>
3695
- <dd class="spec passed"><span class="passed_spec_name">should not add its steps to the existing group</span></dd>
3696
- </dl>
3697
- </div>
3698
- <div class="example_group">
3699
- <dl>
3700
- <dt id="example_group_295">Spec::Story::Extensions::Main#with_steps_for running a story</dt>
3701
- <script type="text/javascript">moveProgressBar('82.1');</script>
3702
- <dd class="spec passed"><span class="passed_spec_name">should create a PlainTextStoryRunner with a path</span></dd>
3703
- <script type="text/javascript">moveProgressBar('82.2');</script>
3704
- <dd class="spec passed"><span class="passed_spec_name">should create a PlainTextStoryRunner with a path and options</span></dd>
3705
- <script type="text/javascript">moveProgressBar('82.3');</script>
3706
- <dd class="spec passed"><span class="passed_spec_name">should pass the group it creates to the runner's steps</span></dd>
3707
- <script type="text/javascript">moveProgressBar('82.3');</script>
3708
- <dd class="spec passed"><span class="passed_spec_name">should run a story</span></dd>
3709
- </dl>
3710
- </div>
3711
- <div class="example_group">
3712
- <dl>
3713
- <dt id="example_group_296">Kernel#Story</dt>
3714
- <script type="text/javascript">moveProgressBar('82.4');</script>
3715
- <dd class="spec passed"><span class="passed_spec_name">should delegate to ::Spec::Story::Runner.story_runner</span></dd>
3716
- </dl>
3717
- </div>
3718
- <div class="example_group">
3719
- <dl>
3720
- <dt id="example_group_297">Spec::Story::GivenScenario</dt>
3721
- <script type="text/javascript">moveProgressBar('82.5');</script>
3722
- <dd class="spec passed"><span class="passed_spec_name">should execute a scenario from the current story in its world</span></dd>
3723
- </dl>
3724
- </div>
3725
- <div class="example_group">
3726
- <dl>
3727
- <dt id="example_group_298">Spec::Story::Runner::PlainTextStoryRunner</dt>
3728
- <script type="text/javascript">moveProgressBar('82.6');</script>
3729
- <dd class="spec passed"><span class="passed_spec_name">should provide access to steps</span></dd>
3730
- <script type="text/javascript">moveProgressBar('82.7');</script>
3731
- <dd class="spec passed"><span class="passed_spec_name">should parse a story file</span></dd>
3732
- <script type="text/javascript">moveProgressBar('82.7');</script>
3733
- <dd class="spec passed"><span class="passed_spec_name">should build up a mediator with its own steps and the singleton story_runner</span></dd>
3734
- <script type="text/javascript">moveProgressBar('82.8');</script>
3735
- <dd class="spec passed"><span class="passed_spec_name">should build up a parser with the mediator</span></dd>
3736
- <script type="text/javascript">moveProgressBar('82.9');</script>
3737
- <dd class="spec passed"><span class="passed_spec_name">should tell the mediator to run the stories</span></dd>
3738
- <script type="text/javascript">moveProgressBar('83.0');</script>
3739
- <dd class="spec passed"><span class="passed_spec_name">should accept a block instead of a path</span></dd>
3740
- <script type="text/javascript">moveProgressBar('83.1');</script>
3741
- <dd class="spec passed"><span class="passed_spec_name">should tell you if you try to run with no path set</span></dd>
3742
- <script type="text/javascript">moveProgressBar('83.1');</script>
3743
- <dd class="spec passed"><span class="passed_spec_name">should pass options to the mediator</span></dd>
3744
- <script type="text/javascript">moveProgressBar('83.2');</script>
3745
- <dd class="spec passed"><span class="passed_spec_name">should provide access to its options</span></dd>
3746
- </dl>
3747
- </div>
3748
- <div class="example_group">
3749
- <dl>
3750
- <dt id="example_group_299">Spec::Story::Runner::ScenarioCollector</dt>
3751
- <script type="text/javascript">moveProgressBar('83.3');</script>
3752
- <dd class="spec passed"><span class="passed_spec_name">should construct scenarios with the supplied story</span></dd>
3753
- </dl>
3754
- </div>
3755
- <div class="example_group">
3756
- <dl>
3757
- <dt id="example_group_300">Spec::Story::Runner::ScenarioRunner</dt>
3758
- <script type="text/javascript">moveProgressBar('83.4');</script>
3759
- <dd class="spec passed"><span class="passed_spec_name">should run a scenario in its story</span></dd>
3760
- <script type="text/javascript">moveProgressBar('83.5');</script>
3761
- <dd class="spec passed"><span class="passed_spec_name">should allow scenarios to share methods</span></dd>
3762
- <script type="text/javascript">moveProgressBar('83.6');</script>
3763
- <dd class="spec passed"><span class="passed_spec_name">should notify listeners when a scenario starts</span></dd>
3764
- <script type="text/javascript">moveProgressBar('83.6');</script>
3765
- <dd class="spec passed"><span class="passed_spec_name">should notify listeners when a scenario succeeds</span></dd>
3766
- <script type="text/javascript">moveProgressBar('83.7');</script>
3767
- <dd class="spec passed"><span class="passed_spec_name">should notify listeners ONCE when a scenario raises an error</span></dd>
3768
- <script type="text/javascript">moveProgressBar('83.8');</script>
3769
- <dd class="spec passed"><span class="passed_spec_name">should notify listeners when a scenario is pending</span></dd>
3770
- </dl>
3771
- </div>
3772
- <div class="example_group">
3773
- <dl>
3774
- <dt id="example_group_301">Spec::Story::Runner::StoryMediator</dt>
3775
- <script type="text/javascript">moveProgressBar('83.9');</script>
3776
- <dd class="spec passed"><span class="passed_spec_name">should have no stories</span></dd>
3777
- <script type="text/javascript">moveProgressBar('84.0');</script>
3778
- <dd class="spec passed"><span class="passed_spec_name">should create two stories</span></dd>
3779
- <script type="text/javascript">moveProgressBar('84.0');</script>
3780
- <dd class="spec passed"><span class="passed_spec_name">should create a scenario</span></dd>
3781
- <script type="text/javascript">makeYellow('rspec-header');</script>
3782
- <script type="text/javascript">makeYellow('example_group_301');</script>
3783
- <script type="text/javascript">moveProgressBar('84.1');</script>
3784
- <dd class="spec not_implemented"><span class="not_implemented_spec_name">should create a given scenario step if one matches (PENDING: need to untangle the dark mysteries of the story runner - something needs to get stubbed here)</span></dd>
3785
- <script type="text/javascript">moveProgressBar('84.2');</script>
3786
- <dd class="spec passed"><span class="passed_spec_name">should create a given step if one matches</span></dd>
3787
- <script type="text/javascript">moveProgressBar('84.3');</script>
3788
- <dd class="spec passed"><span class="passed_spec_name">should create a pending step if no given step matches</span></dd>
3789
- <script type="text/javascript">moveProgressBar('84.4');</script>
3790
- <dd class="spec passed"><span class="passed_spec_name">should create a when step if one matches</span></dd>
3791
- <script type="text/javascript">moveProgressBar('84.4');</script>
3792
- <dd class="spec passed"><span class="passed_spec_name">should create a pending step if no when step matches</span></dd>
3793
- <script type="text/javascript">moveProgressBar('84.5');</script>
3794
- <dd class="spec passed"><span class="passed_spec_name">should create a then step if one matches</span></dd>
3795
- <script type="text/javascript">moveProgressBar('84.6');</script>
3796
- <dd class="spec passed"><span class="passed_spec_name">should create a pending step if no 'then' step matches</span></dd>
3797
- <script type="text/javascript">moveProgressBar('84.7');</script>
3798
- <dd class="spec passed"><span class="passed_spec_name">should pass options to the stories it creates</span></dd>
3799
- </dl>
3800
- </div>
3801
- <div class="example_group">
3802
- <dl>
3803
- <dt id="example_group_302">Spec::Story::Runner::StoryParser</dt>
3804
- <script type="text/javascript">moveProgressBar('84.8');</script>
3805
- <dd class="spec passed"><span class="passed_spec_name">should parse no lines</span></dd>
3806
- <script type="text/javascript">moveProgressBar('84.8');</script>
3807
- <dd class="spec passed"><span class="passed_spec_name">should ignore text before the first Story: begins</span></dd>
3808
- <script type="text/javascript">moveProgressBar('84.9');</script>
3809
- <dd class="spec passed"><span class="passed_spec_name">should create a story</span></dd>
3810
- <script type="text/javascript">moveProgressBar('85.0');</script>
3811
- <dd class="spec passed"><span class="passed_spec_name">should create a story when line has leading spaces</span></dd>
3812
- <script type="text/javascript">moveProgressBar('85.1');</script>
3813
- <dd class="spec passed"><span class="passed_spec_name">should add a one line narrative to the story</span></dd>
3814
- <script type="text/javascript">moveProgressBar('85.2');</script>
3815
- <dd class="spec passed"><span class="passed_spec_name">should add a multi line narrative to the story</span></dd>
3816
- <script type="text/javascript">moveProgressBar('85.2');</script>
3817
- <dd class="spec passed"><span class="passed_spec_name">should exclude blank lines from the narrative</span></dd>
3818
- <script type="text/javascript">moveProgressBar('85.3');</script>
3819
- <dd class="spec passed"><span class="passed_spec_name">should exclude Scenario from the narrative</span></dd>
3820
- </dl>
3821
- </div>
3822
- <div class="example_group">
3823
- <dl>
3824
- <dt id="example_group_303">Spec::Story::Runner::StoryParser in Story state</dt>
3825
- <script type="text/javascript">moveProgressBar('85.4');</script>
3826
- <dd class="spec passed"><span class="passed_spec_name">should create a second Story for Story</span></dd>
3827
- <script type="text/javascript">moveProgressBar('85.5');</script>
3828
- <dd class="spec passed"><span class="passed_spec_name">should include And in the narrative</span></dd>
3829
- <script type="text/javascript">moveProgressBar('85.6');</script>
3830
- <dd class="spec passed"><span class="passed_spec_name">should create a Scenario for Scenario</span></dd>
3831
- <script type="text/javascript">moveProgressBar('85.7');</script>
3832
- <dd class="spec passed"><span class="passed_spec_name">should include Given in the narrative</span></dd>
3833
- <script type="text/javascript">moveProgressBar('85.7');</script>
3834
- <dd class="spec passed"><span class="passed_spec_name">should include Given: in the narrative</span></dd>
3835
- <script type="text/javascript">moveProgressBar('85.8');</script>
3836
- <dd class="spec passed"><span class="passed_spec_name">should include When in the narrative</span></dd>
3837
- <script type="text/javascript">moveProgressBar('85.9');</script>
3838
- <dd class="spec passed"><span class="passed_spec_name">should include Then in the narrative</span></dd>
3839
- <script type="text/javascript">moveProgressBar('86.0');</script>
3840
- <dd class="spec passed"><span class="passed_spec_name">should include other in the story</span></dd>
3841
- </dl>
3842
- </div>
3843
- <div class="example_group">
3844
- <dl>
3845
- <dt id="example_group_304">Spec::Story::Runner::StoryParser in Scenario state</dt>
3846
- <script type="text/javascript">moveProgressBar('86.1');</script>
3847
- <dd class="spec passed"><span class="passed_spec_name">should create a Story for Story</span></dd>
3848
- <script type="text/javascript">moveProgressBar('86.1');</script>
3849
- <dd class="spec passed"><span class="passed_spec_name">should create a Scenario for Scenario</span></dd>
3850
- <script type="text/javascript">moveProgressBar('86.2');</script>
3851
- <dd class="spec passed"><span class="passed_spec_name">should raise for And</span></dd>
3852
- <script type="text/javascript">moveProgressBar('86.3');</script>
3853
- <dd class="spec passed"><span class="passed_spec_name">should create a Given for Given</span></dd>
3854
- <script type="text/javascript">moveProgressBar('86.4');</script>
3855
- <dd class="spec passed"><span class="passed_spec_name">should create a Given for Given:</span></dd>
3856
- <script type="text/javascript">moveProgressBar('86.5');</script>
3857
- <dd class="spec passed"><span class="passed_spec_name">should create a GivenScenario for GivenScenario</span></dd>
3858
- <script type="text/javascript">moveProgressBar('86.5');</script>
3859
- <dd class="spec passed"><span class="passed_spec_name">should create a GivenScenario for GivenScenario:</span></dd>
3860
- <script type="text/javascript">moveProgressBar('86.6');</script>
3861
- <dd class="spec passed"><span class="passed_spec_name">should transition to Given state after GivenScenario</span></dd>
3862
- <script type="text/javascript">moveProgressBar('86.7');</script>
3863
- <dd class="spec passed"><span class="passed_spec_name">should transition to Given state after GivenScenario:</span></dd>
3864
- <script type="text/javascript">moveProgressBar('86.8');</script>
3865
- <dd class="spec passed"><span class="passed_spec_name">should create a When for When</span></dd>
3866
- <script type="text/javascript">moveProgressBar('86.9');</script>
3867
- <dd class="spec passed"><span class="passed_spec_name">should create a When for When:</span></dd>
3868
- <script type="text/javascript">moveProgressBar('86.9');</script>
3869
- <dd class="spec passed"><span class="passed_spec_name">should create a Then for Then</span></dd>
3870
- <script type="text/javascript">moveProgressBar('87.0');</script>
3871
- <dd class="spec passed"><span class="passed_spec_name">should create a Then for Then:</span></dd>
3872
- <script type="text/javascript">moveProgressBar('87.1');</script>
3873
- <dd class="spec passed"><span class="passed_spec_name">should ignore other</span></dd>
3874
- </dl>
3875
- </div>
3876
- <div class="example_group">
3877
- <dl>
3878
- <dt id="example_group_305">Spec::Story::Runner::StoryParser in Given state</dt>
3879
- <script type="text/javascript">moveProgressBar('87.2');</script>
3880
- <dd class="spec passed"><span class="passed_spec_name">should create a Story for Story</span></dd>
3881
- <script type="text/javascript">moveProgressBar('87.3');</script>
3882
- <dd class="spec passed"><span class="passed_spec_name">should create a Scenario for Scenario</span></dd>
3883
- <script type="text/javascript">moveProgressBar('87.3');</script>
3884
- <dd class="spec passed"><span class="passed_spec_name">should create a second Given for Given</span></dd>
3885
- <script type="text/javascript">moveProgressBar('87.4');</script>
3886
- <dd class="spec passed"><span class="passed_spec_name">should create a second Given for And</span></dd>
3887
- <script type="text/javascript">moveProgressBar('87.5');</script>
3888
- <dd class="spec passed"><span class="passed_spec_name">should create a second Given for And:</span></dd>
3889
- <script type="text/javascript">moveProgressBar('87.6');</script>
3890
- <dd class="spec passed"><span class="passed_spec_name">should create a When for When</span></dd>
3891
- <script type="text/javascript">moveProgressBar('87.7');</script>
3892
- <dd class="spec passed"><span class="passed_spec_name">should create a When for When:</span></dd>
3893
- <script type="text/javascript">moveProgressBar('87.8');</script>
3894
- <dd class="spec passed"><span class="passed_spec_name">should create a Then for Then</span></dd>
3895
- <script type="text/javascript">moveProgressBar('87.8');</script>
3896
- <dd class="spec passed"><span class="passed_spec_name">should create a Then for Then:</span></dd>
3897
- <script type="text/javascript">moveProgressBar('87.9');</script>
3898
- <dd class="spec passed"><span class="passed_spec_name">should ignore other</span></dd>
3899
- </dl>
3900
- </div>
3901
- <div class="example_group">
3902
- <dl>
3903
- <dt id="example_group_306">Spec::Story::Runner::StoryParser in When state</dt>
3904
- <script type="text/javascript">moveProgressBar('88.0');</script>
3905
- <dd class="spec passed"><span class="passed_spec_name">should create a Story for Story</span></dd>
3906
- <script type="text/javascript">moveProgressBar('88.1');</script>
3907
- <dd class="spec passed"><span class="passed_spec_name">should create a Scenario for Scenario</span></dd>
3908
- <script type="text/javascript">moveProgressBar('88.2');</script>
3909
- <dd class="spec passed"><span class="passed_spec_name">should create Given for Given</span></dd>
3910
- <script type="text/javascript">moveProgressBar('88.2');</script>
3911
- <dd class="spec passed"><span class="passed_spec_name">should create Given for Given:</span></dd>
3912
- <script type="text/javascript">moveProgressBar('88.3');</script>
3913
- <dd class="spec passed"><span class="passed_spec_name">should create a second When for When</span></dd>
3914
- <script type="text/javascript">moveProgressBar('88.4');</script>
3915
- <dd class="spec passed"><span class="passed_spec_name">should create a second When for When:</span></dd>
3916
- <script type="text/javascript">moveProgressBar('88.5');</script>
3917
- <dd class="spec passed"><span class="passed_spec_name">should create a second When for And</span></dd>
3918
- <script type="text/javascript">moveProgressBar('88.6');</script>
3919
- <dd class="spec passed"><span class="passed_spec_name">should create a second When for And:</span></dd>
3920
- <script type="text/javascript">moveProgressBar('88.6');</script>
3921
- <dd class="spec passed"><span class="passed_spec_name">should create a Then for Then</span></dd>
3922
- <script type="text/javascript">moveProgressBar('88.7');</script>
3923
- <dd class="spec passed"><span class="passed_spec_name">should create a Then for Then:</span></dd>
3924
- <script type="text/javascript">moveProgressBar('88.8');</script>
3925
- <dd class="spec passed"><span class="passed_spec_name">should ignore other</span></dd>
3926
- </dl>
3927
- </div>
3928
- <div class="example_group">
3929
- <dl>
3930
- <dt id="example_group_307">Spec::Story::Runner::StoryParser in Then state</dt>
3931
- <script type="text/javascript">moveProgressBar('88.9');</script>
3932
- <dd class="spec passed"><span class="passed_spec_name">should create a Story for Story</span></dd>
3933
- <script type="text/javascript">moveProgressBar('89.0');</script>
3934
- <dd class="spec passed"><span class="passed_spec_name">should create a Scenario for Scenario</span></dd>
3935
- <script type="text/javascript">moveProgressBar('89.0');</script>
3936
- <dd class="spec passed"><span class="passed_spec_name">should create Given for Given</span></dd>
3937
- <script type="text/javascript">moveProgressBar('89.1');</script>
3938
- <dd class="spec passed"><span class="passed_spec_name">should create Given for Given:</span></dd>
3939
- <script type="text/javascript">moveProgressBar('89.2');</script>
3940
- <dd class="spec passed"><span class="passed_spec_name">should create When for When</span></dd>
3941
- <script type="text/javascript">moveProgressBar('89.3');</script>
3942
- <dd class="spec passed"><span class="passed_spec_name">should create When for When:</span></dd>
3943
- <script type="text/javascript">moveProgressBar('89.4');</script>
3944
- <dd class="spec passed"><span class="passed_spec_name">should create a Then for Then</span></dd>
3945
- <script type="text/javascript">moveProgressBar('89.4');</script>
3946
- <dd class="spec passed"><span class="passed_spec_name">should create a Then for Then:</span></dd>
3947
- <script type="text/javascript">moveProgressBar('89.5');</script>
3948
- <dd class="spec passed"><span class="passed_spec_name">should create a second Then for And</span></dd>
3949
- <script type="text/javascript">moveProgressBar('89.6');</script>
3950
- <dd class="spec passed"><span class="passed_spec_name">should create a second Then for And:</span></dd>
3951
- <script type="text/javascript">moveProgressBar('89.7');</script>
3952
- <dd class="spec passed"><span class="passed_spec_name">should ignore other</span></dd>
3953
- </dl>
3954
- </div>
3955
- <div class="example_group">
3956
- <dl>
3957
- <dt id="example_group_308">Spec::Story::Runner::StoryRunner</dt>
3958
- <script type="text/javascript">moveProgressBar('89.8');</script>
3959
- <dd class="spec passed"><span class="passed_spec_name">should collect all the stories</span></dd>
3960
- <script type="text/javascript">moveProgressBar('89.9');</script>
3961
- <dd class="spec passed"><span class="passed_spec_name">should gather all the scenarios in the stories</span></dd>
3962
- <script type="text/javascript">moveProgressBar('89.9');</script>
3963
- <dd class="spec passed"><span class="passed_spec_name">should run each scenario in a separate object</span></dd>
3964
- <script type="text/javascript">moveProgressBar('90.0');</script>
3965
- <dd class="spec passed"><span class="passed_spec_name">should use the provided world creator to create worlds</span></dd>
3966
- <script type="text/javascript">moveProgressBar('90.1');</script>
3967
- <dd class="spec passed"><span class="passed_spec_name">should notify listeners of the scenario count when the run starts</span></dd>
3968
- <script type="text/javascript">moveProgressBar('90.2');</script>
3969
- <dd class="spec passed"><span class="passed_spec_name">should notify listeners when a story starts</span></dd>
3970
- <script type="text/javascript">moveProgressBar('90.3');</script>
3971
- <dd class="spec passed"><span class="passed_spec_name">should notify listeners when the run ends</span></dd>
3972
- <script type="text/javascript">moveProgressBar('90.3');</script>
3973
- <dd class="spec passed"><span class="passed_spec_name">should run a story in an instance of a specified class</span></dd>
3974
- <script type="text/javascript">moveProgressBar('90.4');</script>
3975
- <dd class="spec passed"><span class="passed_spec_name">should pass initialization params through to the constructed instance</span></dd>
3976
- <script type="text/javascript">moveProgressBar('90.5');</script>
3977
- <dd class="spec passed"><span class="passed_spec_name">should find a scenario in the current story by name</span></dd>
3978
- <script type="text/javascript">moveProgressBar('90.6');</script>
3979
- <dd class="spec passed"><span class="passed_spec_name">should clean the steps between stories</span></dd>
3980
- </dl>
3981
- </div>
3982
- <div class="example_group">
3983
- <dl>
3984
- <dt id="example_group_309">Spec::Story::Runner module</dt>
3985
- <script type="text/javascript">moveProgressBar('90.7');</script>
3986
- <dd class="spec passed"><span class="passed_spec_name">should wire up a singleton StoryRunner</span></dd>
3987
- <script type="text/javascript">moveProgressBar('90.7');</script>
3988
- <dd class="spec passed"><span class="passed_spec_name">should set its options based on ARGV</span></dd>
3989
- <script type="text/javascript">moveProgressBar('90.8');</script>
3990
- <dd class="spec passed"><span class="passed_spec_name">should add a reporter to the runner classes</span></dd>
3991
- <script type="text/javascript">moveProgressBar('90.9');</script>
3992
- <dd class="spec passed"><span class="passed_spec_name">should add a documenter to the runner classes if one is specified</span></dd>
3993
- <script type="text/javascript">moveProgressBar('91.0');</script>
3994
- <dd class="spec passed"><span class="passed_spec_name">should add any registered listener to the runner classes</span></dd>
3995
- </dl>
3996
- </div>
3997
- <div class="example_group">
3998
- <dl>
3999
- <dt id="example_group_310">Spec::Story::Scenario</dt>
4000
- <script type="text/javascript">moveProgressBar('91.1');</script>
4001
- <dd class="spec passed"><span class="passed_spec_name">should not raise an error if no body is supplied</span></dd>
4002
- </dl>
4003
- </div>
4004
- <div class="example_group">
4005
- <dl>
4006
- <dt id="example_group_311">Spec::Story::StepGroup</dt>
4007
- <script type="text/javascript">moveProgressBar('91.1');</script>
4008
- <dd class="spec passed"><span class="passed_spec_name">should not find a matcher if empty</span></dd>
4009
- <script type="text/javascript">moveProgressBar('91.2');</script>
4010
- <dd class="spec passed"><span class="passed_spec_name">should create a given_scenario matcher</span></dd>
4011
- <script type="text/javascript">moveProgressBar('91.3');</script>
4012
- <dd class="spec passed"><span class="passed_spec_name">should create a given matcher</span></dd>
4013
- <script type="text/javascript">moveProgressBar('91.4');</script>
4014
- <dd class="spec passed"><span class="passed_spec_name">should create a when matcher</span></dd>
4015
- <script type="text/javascript">moveProgressBar('91.5');</script>
4016
- <dd class="spec passed"><span class="passed_spec_name">should create a them matcher</span></dd>
4017
- <script type="text/javascript">moveProgressBar('91.5');</script>
4018
- <dd class="spec passed"><span class="passed_spec_name">should add a matcher object</span></dd>
4019
- <script type="text/javascript">moveProgressBar('91.6');</script>
4020
- <dd class="spec passed"><span class="passed_spec_name">should add it matchers to another StepGroup (with one given)</span></dd>
4021
- <script type="text/javascript">moveProgressBar('91.7');</script>
4022
- <dd class="spec passed"><span class="passed_spec_name">should add it matchers to another StepGroup (with some of each type)</span></dd>
4023
- <script type="text/javascript">moveProgressBar('91.8');</script>
4024
- <dd class="spec passed"><span class="passed_spec_name">should append another collection</span></dd>
4025
- <script type="text/javascript">moveProgressBar('91.9');</script>
4026
- <dd class="spec passed"><span class="passed_spec_name">should append several other collections</span></dd>
4027
- <script type="text/javascript">moveProgressBar('92.0');</script>
4028
- <dd class="spec passed"><span class="passed_spec_name">should yield itself on initialization</span></dd>
4029
- <script type="text/javascript">moveProgressBar('92.0');</script>
4030
- <dd class="spec passed"><span class="passed_spec_name">should support defaults</span></dd>
4031
- <script type="text/javascript">moveProgressBar('92.1');</script>
4032
- <dd class="spec passed"><span class="passed_spec_name">should create a Given</span></dd>
4033
- <script type="text/javascript">moveProgressBar('92.2');</script>
4034
- <dd class="spec passed"><span class="passed_spec_name">should create a When</span></dd>
4035
- <script type="text/javascript">moveProgressBar('92.3');</script>
4036
- <dd class="spec passed"><span class="passed_spec_name">should create a Then</span></dd>
4037
- <script type="text/javascript">moveProgressBar('92.4');</script>
4038
- <dd class="spec passed"><span class="passed_spec_name">should create steps in a block</span></dd>
4039
- <script type="text/javascript">moveProgressBar('92.4');</script>
4040
- <dd class="spec passed"><span class="passed_spec_name">should clear itself</span></dd>
4041
- <script type="text/javascript">moveProgressBar('92.5');</script>
4042
- <dd class="spec passed"><span class="passed_spec_name">should tell you when it is empty</span></dd>
4043
- <script type="text/javascript">moveProgressBar('92.6');</script>
4044
- <dd class="spec passed"><span class="passed_spec_name">should tell you when it is not empty</span></dd>
4045
- <script type="text/javascript">moveProgressBar('92.7');</script>
4046
- <dd class="spec passed"><span class="passed_spec_name">should handle &lt;&lt; nil</span></dd>
4047
- </dl>
4048
- </div>
4049
- <div class="example_group">
4050
- <dl>
4051
- <dt id="example_group_312">Spec::Story::StepMother</dt>
4052
- <script type="text/javascript">moveProgressBar('92.8');</script>
4053
- <dd class="spec passed"><span class="passed_spec_name">should store a step by name and type</span></dd>
4054
- <script type="text/javascript">moveProgressBar('92.8');</script>
4055
- <dd class="spec passed"><span class="passed_spec_name">should NOT raise an error if a step is missing</span></dd>
4056
- <script type="text/javascript">moveProgressBar('92.9');</script>
4057
- <dd class="spec passed"><span class="passed_spec_name">should create a default step which raises a pending error</span></dd>
4058
- <script type="text/javascript">moveProgressBar('93.0');</script>
4059
- <dd class="spec passed"><span class="passed_spec_name">should clear itself</span></dd>
4060
- <script type="text/javascript">moveProgressBar('93.1');</script>
4061
- <dd class="spec passed"><span class="passed_spec_name">should use assigned steps</span></dd>
4062
- </dl>
4063
- </div>
4064
- <div class="example_group">
4065
- <dl>
4066
- <dt id="example_group_313">Spec::Story::Step matching</dt>
4067
- <script type="text/javascript">moveProgressBar('93.2');</script>
4068
- <dd class="spec passed"><span class="passed_spec_name">should match a text string</span></dd>
4069
- <script type="text/javascript">moveProgressBar('93.2');</script>
4070
- <dd class="spec passed"><span class="passed_spec_name">should not match a text string that does not start the same</span></dd>
4071
- <script type="text/javascript">moveProgressBar('93.3');</script>
4072
- <dd class="spec passed"><span class="passed_spec_name">should not match a text string that does not end the same</span></dd>
4073
- <script type="text/javascript">moveProgressBar('93.4');</script>
4074
- <dd class="spec passed"><span class="passed_spec_name">should match a text string with a param</span></dd>
4075
- <script type="text/javascript">moveProgressBar('93.5');</script>
4076
- <dd class="spec passed"><span class="passed_spec_name">should not be greedy</span></dd>
4077
- <script type="text/javascript">moveProgressBar('93.6');</script>
4078
- <dd class="spec passed"><span class="passed_spec_name">should match a text string with 3 params</span></dd>
4079
- <script type="text/javascript">moveProgressBar('93.6');</script>
4080
- <dd class="spec passed"><span class="passed_spec_name">should match a text string with a param at the beginning</span></dd>
4081
- <script type="text/javascript">moveProgressBar('93.7');</script>
4082
- <dd class="spec passed"><span class="passed_spec_name">should match a text string with a param at the end</span></dd>
4083
- <script type="text/javascript">moveProgressBar('93.8');</script>
4084
- <dd class="spec passed"><span class="passed_spec_name">should not match a different string</span></dd>
4085
- <script type="text/javascript">moveProgressBar('93.9');</script>
4086
- <dd class="spec passed"><span class="passed_spec_name">should match a regexp</span></dd>
4087
- <script type="text/javascript">moveProgressBar('94.0');</script>
4088
- <dd class="spec passed"><span class="passed_spec_name">should match a regexp with a match group</span></dd>
4089
- <script type="text/javascript">moveProgressBar('94.1');</script>
4090
- <dd class="spec passed"><span class="passed_spec_name">should match a regexp with a named variable</span></dd>
4091
- <script type="text/javascript">moveProgressBar('94.1');</script>
4092
- <dd class="spec passed"><span class="passed_spec_name">should not match a non matching regexp</span></dd>
4093
- <script type="text/javascript">moveProgressBar('94.2');</script>
4094
- <dd class="spec passed"><span class="passed_spec_name">should not match a non matching regexp with a named variable</span></dd>
4095
- <script type="text/javascript">moveProgressBar('94.3');</script>
4096
- <dd class="spec passed"><span class="passed_spec_name">should not get bogged down by parens in strings</span></dd>
4097
- <script type="text/javascript">moveProgressBar('94.4');</script>
4098
- <dd class="spec passed"><span class="passed_spec_name">should match any option of an alteration</span></dd>
4099
- <script type="text/javascript">moveProgressBar('94.5');</script>
4100
- <dd class="spec passed"><span class="passed_spec_name">should match alteration as well as a variable</span></dd>
4101
- <script type="text/javascript">moveProgressBar('94.5');</script>
4102
- <dd class="spec passed"><span class="passed_spec_name">should match alteration as well as a named variable</span></dd>
4103
- <script type="text/javascript">moveProgressBar('94.6');</script>
4104
- <dd class="spec passed"><span class="passed_spec_name">should match alteration as well as a anonymous and named variable</span></dd>
4105
- </dl>
4106
- </div>
4107
- <div class="example_group">
4108
- <dl>
4109
- <dt id="example_group_314">Spec::Story::Step</dt>
4110
- <script type="text/javascript">moveProgressBar('94.7');</script>
4111
- <dd class="spec passed"><span class="passed_spec_name">should make complain with no block</span></dd>
4112
- <script type="text/javascript">moveProgressBar('94.8');</script>
4113
- <dd class="spec passed"><span class="passed_spec_name">should perform itself on an object</span></dd>
4114
- <script type="text/javascript">moveProgressBar('94.9');</script>
4115
- <dd class="spec passed"><span class="passed_spec_name">should perform itself with one parameter with match expression</span></dd>
4116
- <script type="text/javascript">moveProgressBar('94.9');</script>
4117
- <dd class="spec passed"><span class="passed_spec_name">should perform itself with one parameter without a match expression</span></dd>
4118
- <script type="text/javascript">moveProgressBar('95.0');</script>
4119
- <dd class="spec passed"><span class="passed_spec_name">should perform itself with 2 parameters</span></dd>
4120
- <script type="text/javascript">moveProgressBar('95.1');</script>
4121
- <dd class="spec passed"><span class="passed_spec_name">should perform itself when defined with a regexp with 2 parameters</span></dd>
4122
- </dl>
4123
- </div>
4124
- <div class="example_group">
4125
- <dl>
4126
- <dt id="example_group_315">Spec::Story::Story</dt>
4127
- <script type="text/javascript">moveProgressBar('95.2');</script>
4128
- <dd class="spec passed"><span class="passed_spec_name">should run itself in a given object</span></dd>
4129
- <script type="text/javascript">moveProgressBar('95.3');</script>
4130
- <dd class="spec passed"><span class="passed_spec_name">should not raise an error if no block is supplied</span></dd>
4131
- <script type="text/javascript">moveProgressBar('95.3');</script>
4132
- <dd class="spec passed"><span class="passed_spec_name">should raise when error raised running in another object</span></dd>
4133
- <script type="text/javascript">moveProgressBar('95.4');</script>
4134
- <dd class="spec passed"><span class="passed_spec_name">should use the steps it is told to using a StepGroup</span></dd>
4135
- <script type="text/javascript">moveProgressBar('95.5');</script>
4136
- <dd class="spec passed"><span class="passed_spec_name">should use the steps it is told to using a key</span></dd>
4137
- <script type="text/javascript">moveProgressBar('95.6');</script>
4138
- <dd class="spec passed"><span class="passed_spec_name">should use the steps it is told to using multiple keys</span></dd>
4139
- </dl>
4140
- </div>
4141
- <div class="example_group">
4142
- <dl>
4143
- <dt id="example_group_316">Spec::Story::World</dt>
4144
- <script type="text/javascript">moveProgressBar('95.7');</script>
4145
- <dd class="spec passed"><span class="passed_spec_name">should create an object that mixes in a World</span></dd>
4146
- <script type="text/javascript">moveProgressBar('95.7');</script>
4147
- <dd class="spec passed"><span class="passed_spec_name">should create a World from any object type</span></dd>
4148
- <script type="text/javascript">moveProgressBar('95.8');</script>
4149
- <dd class="spec passed"><span class="passed_spec_name">should pass arguments to #new when creating an object of a specified type that mixes in a world</span></dd>
4150
- <script type="text/javascript">moveProgressBar('95.9');</script>
4151
- <dd class="spec passed"><span class="passed_spec_name">should execute a Given, When or Then step</span></dd>
4152
- <script type="text/javascript">moveProgressBar('96.0');</script>
4153
- <dd class="spec passed"><span class="passed_spec_name">should interpret Given... And... as multiple givens</span></dd>
4154
- <script type="text/javascript">moveProgressBar('96.1');</script>
4155
- <dd class="spec passed"><span class="passed_spec_name">should interpret When... And... as multiple events</span></dd>
4156
- <script type="text/javascript">moveProgressBar('96.2');</script>
4157
- <dd class="spec passed"><span class="passed_spec_name">should interpret Then... And... as multiple outcomes</span></dd>
4158
- <script type="text/javascript">moveProgressBar('96.2');</script>
4159
- <dd class="spec passed"><span class="passed_spec_name">should reuse a given across scenarios</span></dd>
4160
- <script type="text/javascript">moveProgressBar('96.3');</script>
4161
- <dd class="spec passed"><span class="passed_spec_name">should reuse an event across scenarios</span></dd>
4162
- <script type="text/javascript">moveProgressBar('96.4');</script>
4163
- <dd class="spec passed"><span class="passed_spec_name">should reuse an outcome across scenarios</span></dd>
4164
- <script type="text/javascript">moveProgressBar('96.5');</script>
4165
- <dd class="spec passed"><span class="passed_spec_name">should preserve instance variables between steps within a scenario</span></dd>
4166
- <script type="text/javascript">moveProgressBar('96.6');</script>
4167
- <dd class="spec passed"><span class="passed_spec_name">should invoke a reused step in the new object instance</span></dd>
4168
- <script type="text/javascript">moveProgressBar('96.6');</script>
4169
- <dd class="spec passed"><span class="passed_spec_name">should collect a failure from a Given step</span></dd>
4170
- <script type="text/javascript">moveProgressBar('96.7');</script>
4171
- <dd class="spec passed"><span class="passed_spec_name">should collect a failure from a When step</span></dd>
4172
- <script type="text/javascript">moveProgressBar('96.8');</script>
4173
- <dd class="spec passed"><span class="passed_spec_name">should collect a failure from a Then step</span></dd>
4174
- <script type="text/javascript">moveProgressBar('96.9');</script>
4175
- <dd class="spec passed"><span class="passed_spec_name">should inform listeners when it runs a Given, When or Then step</span></dd>
4176
- <script type="text/javascript">moveProgressBar('97.0');</script>
4177
- <dd class="spec passed"><span class="passed_spec_name">should tell listeners but not execute the step in dry-run mode</span></dd>
4178
- <script type="text/javascript">moveProgressBar('97.0');</script>
4179
- <dd class="spec passed"><span class="passed_spec_name">should suppress listeners while it runs a GivenScenario</span></dd>
4180
- <script type="text/javascript">moveProgressBar('97.1');</script>
4181
- <dd class="spec passed"><span class="passed_spec_name">should interpret GivenScenario... And... as multiple givens</span></dd>
4182
- <script type="text/javascript">moveProgressBar('97.2');</script>
4183
- <dd class="spec passed"><span class="passed_spec_name">should provide rspec matchers</span></dd>
4184
- <script type="text/javascript">moveProgressBar('97.3');</script>
4185
- <dd class="spec passed"><span class="passed_spec_name">should use assigned matchers</span></dd>
4186
- </dl>
4187
- </div>
4188
- <div class="example_group">
4189
- <dl>
4190
- <dt id="example_group_317">Translator</dt>
4191
- <script type="text/javascript">moveProgressBar('97.4');</script>
4192
- <dd class="spec passed"><span class="passed_spec_name">should translate files</span></dd>
4193
- <script type="text/javascript">moveProgressBar('97.4');</script>
4194
- <dd class="spec passed"><span class="passed_spec_name">should translate context_setup do</span></dd>
4195
- <script type="text/javascript">moveProgressBar('97.5');</script>
4196
- <dd class="spec passed"><span class="passed_spec_name">should translate context_setup {foo}</span></dd>
4197
- <script type="text/javascript">moveProgressBar('97.6');</script>
4198
- <dd class="spec passed"><span class="passed_spec_name">should translate context ' to describe '</span></dd>
4199
- <script type="text/javascript">moveProgressBar('97.7');</script>
4200
- <dd class="spec passed"><span class="passed_spec_name">should translate context &quot; to describe &quot;</span></dd>
4201
- <script type="text/javascript">moveProgressBar('97.8');</script>
4202
- <dd class="spec passed"><span class="passed_spec_name">should translate spaces then context &quot; to describe &quot;</span></dd>
4203
- <script type="text/javascript">moveProgressBar('97.8');</script>
4204
- <dd class="spec passed"><span class="passed_spec_name">should not translate context=foo</span></dd>
4205
- <script type="text/javascript">moveProgressBar('97.9');</script>
4206
- <dd class="spec passed"><span class="passed_spec_name">should not translate context = foo</span></dd>
4207
- <script type="text/javascript">moveProgressBar('98.0');</script>
4208
- <dd class="spec passed"><span class="passed_spec_name">should not translate context = foo</span></dd>
4209
- <script type="text/javascript">moveProgressBar('98.1');</script>
4210
- <dd class="spec passed"><span class="passed_spec_name">should translate should_be_close</span></dd>
4211
- <script type="text/javascript">moveProgressBar('98.2');</script>
4212
- <dd class="spec passed"><span class="passed_spec_name">should translate should_not_raise</span></dd>
4213
- <script type="text/javascript">moveProgressBar('98.3');</script>
4214
- <dd class="spec passed"><span class="passed_spec_name">should translate should_throw</span></dd>
4215
- <script type="text/javascript">moveProgressBar('98.3');</script>
4216
- <dd class="spec passed"><span class="passed_spec_name">should not translate 0.9 should_not</span></dd>
4217
- <script type="text/javascript">moveProgressBar('98.4');</script>
4218
- <dd class="spec passed"><span class="passed_spec_name">should leave should_not_receive</span></dd>
4219
- <script type="text/javascript">moveProgressBar('98.5');</script>
4220
- <dd class="spec passed"><span class="passed_spec_name">should leave should_receive</span></dd>
4221
- <script type="text/javascript">moveProgressBar('98.6');</script>
4222
- <dd class="spec passed"><span class="passed_spec_name">should translate multi word predicates</span></dd>
4223
- <script type="text/javascript">moveProgressBar('98.7');</script>
4224
- <dd class="spec passed"><span class="passed_spec_name">should translate multi word predicates prefixed with be</span></dd>
4225
- <script type="text/javascript">moveProgressBar('98.7');</script>
4226
- <dd class="spec passed"><span class="passed_spec_name">should translate be(expected) to equal(expected)</span></dd>
4227
- <script type="text/javascript">moveProgressBar('98.8');</script>
4228
- <dd class="spec passed"><span class="passed_spec_name">should translate instance_of</span></dd>
4229
- <script type="text/javascript">moveProgressBar('98.9');</script>
4230
- <dd class="spec passed"><span class="passed_spec_name">should translate should_be &lt;</span></dd>
4231
- <script type="text/javascript">moveProgressBar('99.0');</script>
4232
- <dd class="spec passed"><span class="passed_spec_name">should translate should_be &lt;=</span></dd>
4233
- <script type="text/javascript">moveProgressBar('99.1');</script>
4234
- <dd class="spec passed"><span class="passed_spec_name">should translate should_be &gt;=</span></dd>
4235
- <script type="text/javascript">moveProgressBar('99.1');</script>
4236
- <dd class="spec passed"><span class="passed_spec_name">should translate should_be &gt;</span></dd>
4237
- <script type="text/javascript">moveProgressBar('99.2');</script>
4238
- <dd class="spec passed"><span class="passed_spec_name">should translate should_be_happy</span></dd>
4239
- <script type="text/javascript">moveProgressBar('99.3');</script>
4240
- <dd class="spec passed"><span class="passed_spec_name">should translate custom method taking regexp with parenthesis</span></dd>
4241
- <script type="text/javascript">moveProgressBar('99.4');</script>
4242
- <dd class="spec passed"><span class="passed_spec_name">should translate custom method taking regexp without parenthesis</span></dd>
4243
- <script type="text/javascript">moveProgressBar('99.5');</script>
4244
- <dd class="spec passed"><span class="passed_spec_name">should translate should_not_be_nil</span></dd>
4245
- <script type="text/javascript">moveProgressBar('99.5');</script>
4246
- <dd class="spec passed"><span class="passed_spec_name">should translate kind of</span></dd>
4247
- <script type="text/javascript">moveProgressBar('99.6');</script>
4248
- <dd class="spec passed"><span class="passed_spec_name">should translate should_be_true</span></dd>
4249
- <script type="text/javascript">moveProgressBar('99.7');</script>
4250
- <dd class="spec passed"><span class="passed_spec_name">should translate should_match on a regexp, in a var, in a block</span></dd>
4251
- <script type="text/javascript">moveProgressBar('99.8');</script>
4252
- <dd class="spec passed"><span class="passed_spec_name">should translate close_to without parens</span></dd>
4253
- <script type="text/javascript">moveProgressBar('99.9');</script>
4254
- <dd class="spec passed"><span class="passed_spec_name">should support symbol arguments</span></dd>
4255
- <script type="text/javascript">moveProgressBar('100.0');</script>
4256
- <dd class="spec passed"><span class="passed_spec_name">should support instance var arguments</span></dd>
4257
- <script type="text/javascript">moveProgressBar('100.0');</script>
4258
- <dd class="spec passed"><span class="passed_spec_name">should support lambdas as expecteds</span></dd>
4259
- <script type="text/javascript">moveProgressBar('100.1');</script>
4260
- <dd class="spec passed"><span class="passed_spec_name">should support fully qualified names</span></dd>
4261
- <script type="text/javascript">moveProgressBar('100.2');</script>
4262
- <dd class="spec passed"><span class="passed_spec_name">should translate redirects</span></dd>
4263
- <script type="text/javascript">moveProgressBar('100.3');</script>
4264
- <dd class="spec passed"><span class="passed_spec_name">should translate :any_args</span></dd>
4265
- <script type="text/javascript">moveProgressBar('100.4');</script>
4266
- <dd class="spec passed"><span class="passed_spec_name">should translate :anything</span></dd>
4267
- <script type="text/javascript">moveProgressBar('100.4');</script>
4268
- <dd class="spec passed"><span class="passed_spec_name">should translate :boolean</span></dd>
4269
- <script type="text/javascript">moveProgressBar('100.5');</script>
4270
- <dd class="spec passed"><span class="passed_spec_name">should translate :no_args</span></dd>
4271
- <script type="text/javascript">moveProgressBar('100.6');</script>
4272
- <dd class="spec passed"><span class="passed_spec_name">should translate :numeric</span></dd>
4273
- <script type="text/javascript">moveProgressBar('100.7');</script>
4274
- <dd class="spec passed"><span class="passed_spec_name">should translate :string</span></dd>
4275
- </dl>
4276
- </div>
4277
- <div class="example_group">
4278
- <dl>
4279
- <dt id="example_group_318">Special Example Group</dt>
4280
- <script type="text/javascript">moveProgressBar('100.8');</script>
4281
- <dd class="spec passed"><span class="passed_spec_name">calls prepend_before</span></dd>
4282
- </dl>
4283
- </div>
4284
- <div class="example_group">
4285
- <dl>
4286
- <dt id="example_group_319">Special Example Group</dt>
4287
- <script type="text/javascript">moveProgressBar('100.8');</script>
4288
- <dd class="spec passed"><span class="passed_spec_name">calls append_before</span></dd>
4289
- </dl>
4290
- </div>
4291
- <div class="example_group">
4292
- <dl>
4293
- <dt id="example_group_320">Special Example Group</dt>
4294
- <script type="text/javascript">moveProgressBar('100.9');</script>
4295
- <dd class="spec passed"><span class="passed_spec_name">calls prepend_after</span></dd>
4296
- </dl>
4297
- </div>
4298
- <div class="example_group">
4299
- <dl>
4300
- <dt id="example_group_321">Special Example Group</dt>
4301
- <script type="text/javascript">moveProgressBar('101.0');</script>
4302
- <dd class="spec passed"><span class="passed_spec_name">calls append_after</span></dd>
4303
- </dl>
4304
- </div>
4305
- <div class="example_group">
4306
- <dl>
4307
- <dt id="example_group_322">#&lt;Class:0x11c6ff0&gt;</dt>
4308
- <script type="text/javascript">moveProgressBar('101.1');</script>
4309
- <dd class="spec passed"><span class="passed_spec_name">should use ExampleMethods callbacks</span></dd>
4310
- </dl>
4311
- </div>
4312
- <div class="example_group">
4313
- <dl>
4314
- <dt id="example_group_323">A</dt>
4315
- <script type="text/javascript">moveProgressBar('101.2');</script>
4316
- <dd class="spec passed"><span class="passed_spec_name">a1</span></dd>
4317
- </dl>
4318
- </div>
4319
- <div class="example_group">
4320
- <dl>
4321
- <dt id="example_group_324">A B</dt>
4322
- <script type="text/javascript">moveProgressBar('101.2');</script>
4323
- <dd class="spec passed"><span class="passed_spec_name">b2</span></dd>
4324
- <script type="text/javascript">moveProgressBar('101.3');</script>
4325
- <dd class="spec passed"><span class="passed_spec_name">b3</span></dd>
4326
- </dl>
4327
- </div>
4328
- <div class="example_group">
4329
- <dl>
4330
- <dt id="example_group_325">Some Examples</dt>
4331
- <script type="text/javascript">moveProgressBar('101.4');</script>
4332
- <dd class="spec passed"><span class="passed_spec_name">runs 1</span></dd>
4333
- <script type="text/javascript">moveProgressBar('101.5');</script>
4334
- <dd class="spec passed"><span class="passed_spec_name">runs 2</span></dd>
4335
- </dl>
4336
- </div>
4337
- <div class="example_group">
4338
- <dl>
4339
- <dt id="example_group_326">Some Examples</dt>
4340
- <script type="text/javascript">moveProgressBar('101.6');</script>
4341
- <dd class="spec passed"><span class="passed_spec_name">runs 1</span></dd>
4342
- <script type="text/javascript">moveProgressBar('101.6');</script>
4343
- <dd class="spec passed"><span class="passed_spec_name">runs 2</span></dd>
4344
- </dl>
4345
- </div>
4346
- <div class="example_group">
4347
- <dl>
4348
- <dt id="example_group_327">Some Examples</dt>
4349
- <script type="text/javascript">moveProgressBar('101.7');</script>
4350
- <dd class="spec passed"><span class="passed_spec_name">uses this example_group</span></dd>
4351
- </dl>
4352
- </div>
4353
- <script type="text/javascript">document.getElementById('duration').innerHTML = "Finished in <strong>4.761207 seconds</strong>";</script>
4354
- <script type="text/javascript">document.getElementById('totals').innerHTML = "1260 examples, 0 failures, 8 pending";</script>
4355
- </div>
4356
- </div>
4357
- </body>
4358
- </html>