dchelimsky-rspec-rails 1.1.99.9 → 1.1.99.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. data/.document +7 -0
  2. data/History.txt +3 -0
  3. data/Manifest.txt +43 -40
  4. data/Rakefile +1 -6
  5. data/Upgrade.markdown +70 -19
  6. data/generators/rspec/templates/rspec.rake +4 -2
  7. data/generators/rspec/templates/script/spec +19 -2
  8. data/generators/rspec/templates/script/spec_server +17 -3
  9. data/lib/spec/rails/example/controller_example_group.rb +3 -2
  10. data/lib/spec/rails/example/helper_example_group.rb +6 -20
  11. data/lib/spec/rails/example/routing_example_group.rb +13 -0
  12. data/lib/spec/rails/extensions/spec/matchers/have.rb +2 -2
  13. data/lib/spec/rails/matchers/ar_be_valid.rb +4 -4
  14. data/lib/spec/rails/matchers/assert_select.rb +35 -20
  15. data/lib/spec/rails/matchers/have_text.rb +2 -2
  16. data/lib/spec/rails/matchers/include_text.rb +2 -2
  17. data/lib/spec/rails/matchers/redirect_to.rb +2 -2
  18. data/lib/spec/rails/matchers/render_template.rb +2 -2
  19. data/lib/spec/rails/version.rb +1 -1
  20. data/rspec-rails.gemspec +8 -8
  21. data/spec/resources/controllers/controller_spec_controller.rb +4 -0
  22. data/spec/resources/controllers/example.txt +1 -0
  23. data/spec/resources/views/controller_spec/{_partial.rhtml → _partial.html.erb} +0 -0
  24. data/spec/resources/views/controller_spec/{action_setting_flash_after_session_reset.rhtml → action_setting_flash_after_session_reset.html.erb} +0 -0
  25. data/spec/resources/views/controller_spec/{action_setting_flash_before_session_reset.rhtml → action_setting_flash_before_session_reset.html.erb} +0 -0
  26. data/spec/resources/views/controller_spec/{action_setting_the_assigns_hash.rhtml → action_setting_the_assigns_hash.html.erb} +0 -0
  27. data/spec/resources/views/controller_spec/{action_with_errors_in_template.rhtml → action_with_errors_in_template.html.erb} +0 -0
  28. data/spec/resources/views/controller_spec/{action_with_template.rhtml → action_with_template.html.erb} +0 -0
  29. data/spec/resources/views/layouts/{application.rhtml → application.html.erb} +0 -0
  30. data/spec/resources/views/layouts/{simple.rhtml → simple.html.erb} +0 -0
  31. data/spec/resources/views/render_spec/{_a_partial.rhtml → _a_partial.html.erb} +0 -0
  32. data/spec/resources/views/render_spec/{action_with_alternate_layout.rhtml → action_with_alternate_layout.html.erb} +0 -0
  33. data/spec/resources/views/rjs_spec/{_replacement_partial.rhtml → _replacement_partial.html.erb} +0 -0
  34. data/spec/resources/views/rjs_spec/{hide_div.rjs → hide_div.js.rjs} +0 -0
  35. data/spec/resources/views/rjs_spec/{hide_page_element.rjs → hide_page_element.js.rjs} +0 -0
  36. data/spec/resources/views/rjs_spec/{insert_html.rjs → insert_html.js.rjs} +0 -0
  37. data/spec/resources/views/rjs_spec/{replace.rjs → replace.js.rjs} +0 -0
  38. data/spec/resources/views/rjs_spec/{replace_html.rjs → replace_html.js.rjs} +0 -0
  39. data/spec/resources/views/rjs_spec/{replace_html_with_partial.rjs → replace_html_with_partial.js.rjs} +0 -0
  40. data/spec/resources/views/rjs_spec/{visual_effect.rjs → visual_effect.js.rjs} +0 -0
  41. data/spec/resources/views/rjs_spec/{visual_toggle_effect.rjs → visual_toggle_effect.js.rjs} +0 -0
  42. data/spec/resources/views/tag_spec/{no_tags.rhtml → no_tags.html.erb} +0 -0
  43. data/spec/resources/views/tag_spec/{single_div_with_no_attributes.rhtml → single_div_with_no_attributes.html.erb} +0 -0
  44. data/spec/resources/views/tag_spec/{single_div_with_one_attribute.rhtml → single_div_with_one_attribute.html.erb} +0 -0
  45. data/spec/resources/views/view_spec/{_partial.rhtml → _partial.html.erb} +0 -0
  46. data/spec/resources/views/view_spec/{_partial_used_twice.rhtml → _partial_used_twice.html.erb} +0 -0
  47. data/spec/resources/views/view_spec/{_partial_with_local_variable.rhtml → _partial_with_local_variable.html.erb} +0 -0
  48. data/spec/resources/views/view_spec/{_partial_with_sub_partial.rhtml → _partial_with_sub_partial.html.erb} +0 -0
  49. data/spec/resources/views/view_spec/{_spacer.rhtml → _spacer.html.erb} +0 -0
  50. data/spec/resources/views/view_spec/{accessor.rhtml → accessor.html.erb} +0 -0
  51. data/spec/resources/views/view_spec/{block_helper.rhtml → block_helper.html.erb} +0 -0
  52. data/spec/resources/views/view_spec/{entry_form.rhtml → entry_form.html.erb} +0 -0
  53. data/spec/resources/views/view_spec/{explicit_helper.rhtml → explicit_helper.html.erb} +0 -0
  54. data/spec/resources/views/view_spec/foo/{show.rhtml → show.html.erb} +0 -0
  55. data/spec/resources/views/view_spec/{implicit_helper.rhtml → implicit_helper.html.erb} +0 -0
  56. data/spec/resources/views/view_spec/{multiple_helpers.rhtml → multiple_helpers.html.erb} +0 -0
  57. data/spec/resources/views/view_spec/{should_not_receive.rhtml → should_not_receive.html.erb} +0 -0
  58. data/spec/resources/views/view_spec/{template_with_partial.rhtml → template_with_partial.html.erb} +0 -0
  59. data/spec/resources/views/view_spec/{template_with_partial_using_collection.rhtml → template_with_partial_using_collection.html.erb} +0 -0
  60. data/spec/resources/views/view_spec/{template_with_partial_with_array.rhtml → template_with_partial_with_array.html.erb} +0 -0
  61. data/spec/spec/rails/example/controller_example_group_spec.rb +8 -3
  62. data/spec/spec/rails/example/helper_example_group_spec.rb +27 -0
  63. data/spec/spec/rails/example/routing_example_group_spec.rb +9 -0
  64. data/spec/spec/rails/example/shared_routing_example_group_examples.rb +45 -0
  65. data/spec/spec/rails/example/view_example_group_spec.rb +3 -3
  66. data/spec/spec/rails/matchers/assert_select_spec.rb +56 -58
  67. data/spec/spec/rails/matchers/render_template_spec.rb +45 -37
  68. metadata +48 -45
  69. data/spec/resources/views/render_spec/some_action.rjs +0 -1
@@ -1 +0,0 @@
1
- # This is used for rails <= 1.2.3