socialcast_shoulda_ext 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. data/.gitignore +6 -0
  2. data/Gemfile +13 -0
  3. data/MIT-LICENSE +22 -0
  4. data/README.rdoc +126 -0
  5. data/Rakefile +12 -0
  6. data/lib/shoulda_ext.rb +7 -0
  7. data/lib/shoulda_ext/assertions.rb +14 -0
  8. data/lib/shoulda_ext/integrations/test_unit.rb +13 -0
  9. data/lib/shoulda_ext/matchers.rb +9 -0
  10. data/lib/shoulda_ext/matchers/record_count_change.rb +127 -0
  11. data/lib/shoulda_ext/matchers/respond_with_json.rb +99 -0
  12. data/lib/shoulda_ext/matchers/trigger_callback.rb +131 -0
  13. data/lib/shoulda_ext/shoulda_patches/context_with_matcher_before_hooks.rb +32 -0
  14. data/lib/shoulda_ext/version.rb +4 -0
  15. data/socialcast_shoulda_ext.gemspec +22 -0
  16. data/test/helper.rb +30 -0
  17. data/test/rails3_root/.gitignore +4 -0
  18. data/test/rails3_root/Rakefile +7 -0
  19. data/test/rails3_root/app/controllers/application_controller.rb +3 -0
  20. data/test/rails3_root/app/controllers/blogs_controller.rb +11 -0
  21. data/test/rails3_root/app/controllers/comments_controller.rb +2 -0
  22. data/test/rails3_root/app/helpers/application_helper.rb +2 -0
  23. data/test/rails3_root/app/helpers/blogs_helper.rb +2 -0
  24. data/test/rails3_root/app/helpers/comments_helper.rb +2 -0
  25. data/test/rails3_root/app/models/blog.rb +3 -0
  26. data/test/rails3_root/app/models/comment.rb +3 -0
  27. data/test/rails3_root/app/views/blogs/index.html.erb +6 -0
  28. data/test/rails3_root/app/views/layouts/application.html.erb +14 -0
  29. data/test/rails3_root/config.ru +4 -0
  30. data/test/rails3_root/config/application.rb +17 -0
  31. data/test/rails3_root/config/boot.rb +6 -0
  32. data/test/rails3_root/config/database.yml +22 -0
  33. data/test/rails3_root/config/environment.rb +5 -0
  34. data/test/rails3_root/config/environments/development.rb +26 -0
  35. data/test/rails3_root/config/environments/production.rb +49 -0
  36. data/test/rails3_root/config/environments/test.rb +35 -0
  37. data/test/rails3_root/config/initializers/backtrace_silencers.rb +7 -0
  38. data/test/rails3_root/config/initializers/inflections.rb +10 -0
  39. data/test/rails3_root/config/initializers/mime_types.rb +5 -0
  40. data/test/rails3_root/config/initializers/secret_token.rb +7 -0
  41. data/test/rails3_root/config/initializers/session_store.rb +8 -0
  42. data/test/rails3_root/config/locales/en.yml +5 -0
  43. data/test/rails3_root/config/routes.rb +4 -0
  44. data/test/rails3_root/db/migrate/20110411025326_create_blogs.rb +12 -0
  45. data/test/rails3_root/db/migrate/20110411025332_create_comments.rb +13 -0
  46. data/test/rails3_root/db/seeds.rb +7 -0
  47. data/test/rails3_root/lib/tasks/.gitkeep +0 -0
  48. data/test/rails3_root/public/404.html +26 -0
  49. data/test/rails3_root/public/422.html +26 -0
  50. data/test/rails3_root/public/500.html +26 -0
  51. data/test/rails3_root/public/favicon.ico +0 -0
  52. data/test/rails3_root/public/images/rails.png +0 -0
  53. data/test/rails3_root/public/index.html +239 -0
  54. data/test/rails3_root/public/javascripts/application.js +2 -0
  55. data/test/rails3_root/public/javascripts/controls.js +965 -0
  56. data/test/rails3_root/public/javascripts/dragdrop.js +974 -0
  57. data/test/rails3_root/public/javascripts/effects.js +1123 -0
  58. data/test/rails3_root/public/javascripts/prototype.js +6001 -0
  59. data/test/rails3_root/public/javascripts/rails.js +191 -0
  60. data/test/rails3_root/public/robots.txt +5 -0
  61. data/test/rails3_root/public/stylesheets/.gitkeep +0 -0
  62. data/test/rails3_root/script/rails +6 -0
  63. data/test/rails3_root/test/fixtures/blogs.yml +5 -0
  64. data/test/rails3_root/test/fixtures/comments.yml +0 -0
  65. data/test/rails3_root/test/functional/blogs_controller_test.rb +8 -0
  66. data/test/rails3_root/test/functional/comments_controller_test.rb +8 -0
  67. data/test/rails3_root/test/shoulda_ext.sqlite3 +0 -0
  68. data/test/rails3_root/test/test_helper.rb +13 -0
  69. data/test/rails3_root/test/unit/blog_test.rb +8 -0
  70. data/test/rails3_root/test/unit/comment_test.rb +8 -0
  71. data/test/rails3_root/test/unit/helpers/blogs_helper_test.rb +4 -0
  72. data/test/rails3_root/test/unit/helpers/comments_helper_test.rb +4 -0
  73. data/test/rails3_root/vendor/plugins/.gitkeep +0 -0
  74. data/test/test_assertions.rb +14 -0
  75. data/test/test_record_count_change_matcher.rb +150 -0
  76. data/test/test_respond_with_json.rb +42 -0
  77. data/test/test_trigger_callback_matcher.rb +38 -0
  78. metadata +362 -0

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the gem file manually.