typo 4.1.1 → 5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/app/apis/meta_weblog_service.rb +7 -14
- data/app/apis/movable_type_service.rb +1 -7
- data/app/controllers/accounts_controller.rb +5 -4
- data/app/controllers/admin/advanced_controller.rb +20 -0
- data/app/controllers/admin/base_controller.rb +16 -6
- data/app/controllers/admin/blacklist_controller.rb +1 -1
- data/app/controllers/admin/cache_controller.rb +5 -4
- data/app/controllers/admin/categories_controller.rb +4 -4
- data/app/controllers/admin/comments_controller.rb +3 -3
- data/app/controllers/admin/content_controller.rb +25 -6
- data/app/controllers/admin/dashboard_controller.rb +33 -0
- data/app/controllers/admin/feedback_controller.rb +28 -16
- data/app/controllers/admin/general_controller.rb +2 -16
- data/app/controllers/admin/pages_controller.rb +13 -3
- data/app/controllers/admin/profiles_controller.rb +36 -0
- data/app/controllers/admin/resources_controller.rb +9 -9
- data/app/controllers/admin/textfilters_controller.rb +1 -1
- data/app/controllers/admin/themes_controller.rb +49 -0
- data/app/controllers/admin/trackbacks_controller.rb +1 -1
- data/app/controllers/admin/users_controller.rb +8 -2
- data/app/controllers/application.rb +46 -14
- data/app/controllers/articles_controller.rb +67 -144
- data/app/controllers/authors_controller.rb +5 -0
- data/app/controllers/categories_controller.rb +4 -0
- data/app/controllers/comments_controller.rb +72 -0
- data/app/controllers/content_controller.rb +13 -30
- data/app/controllers/feedback_controller.rb +60 -0
- data/app/controllers/grouping_controller.rb +83 -0
- data/app/controllers/redirect_controller.rb +1 -3
- data/app/controllers/tags_controller.rb +3 -0
- data/app/controllers/theme_controller.rb +15 -5
- data/app/controllers/trackbacks_controller.rb +43 -0
- data/app/controllers/xml_controller.rb +52 -34
- data/app/helpers/admin/base_helper.rb +69 -7
- data/app/helpers/admin/feedback_helper.rb +44 -3
- data/app/helpers/admin/general_helper.rb +16 -0
- data/app/helpers/admin/themes_helper.rb +23 -0
- data/app/helpers/application_helper.rb +92 -20
- data/app/helpers/articles_helper.rb +0 -163
- data/app/helpers/authors_helper.rb +5 -0
- data/app/helpers/categories_helper.rb +5 -0
- data/app/helpers/comments_helper.rb +2 -0
- data/app/helpers/content_helper.rb +90 -0
- data/app/helpers/groupings_helper.rb +5 -0
- data/app/helpers/tags_helper.rb +5 -0
- data/app/helpers/theme_helper.rb +14 -14
- data/app/models/article.rb +226 -52
- data/app/models/article/states.rb +191 -0
- data/app/models/blog.rb +52 -15
- data/app/models/blog_sweeper.rb +33 -10
- data/app/models/category.rb +53 -26
- data/app/models/comment.rb +17 -3
- data/app/models/content.rb +60 -60
- data/app/models/feedback.rb +29 -54
- data/app/models/feedback/states.rb +201 -0
- data/app/models/page.rb +1 -4
- data/app/models/page_cache.rb +9 -20
- data/app/models/ping.rb +4 -7
- data/app/models/profile.rb +3 -0
- data/app/models/resource.rb +1 -1
- data/app/models/tag.rb +17 -6
- data/app/models/text_filter.rb +6 -0
- data/app/models/trackback.rb +20 -0
- data/app/models/trigger.rb +3 -2
- data/app/models/user.rb +13 -1
- data/app/views/accounts/login.html.erb +11 -0
- data/app/views/accounts/logout.html.erb +12 -0
- data/app/views/accounts/signup.html.erb +36 -0
- data/app/views/accounts/{welcome.rhtml → welcome.html.erb} +0 -0
- data/app/views/admin/advanced/index.html.erb +182 -0
- data/app/views/admin/base/{_recent_comments.rhtml → _recent_comments.html.erb} +0 -0
- data/app/views/admin/base/{_recent_trackbacks.rhtml → _recent_trackbacks.html.erb} +0 -0
- data/app/views/admin/blacklist/{_blacklist_patterns.rhtml → _blacklist_patterns.html.erb} +0 -0
- data/app/views/admin/blacklist/{_form.rhtml → _form.html.erb} +0 -0
- data/app/views/admin/blacklist/{_quick_post.rhtml → _quick_post.html.erb} +0 -0
- data/app/views/admin/blacklist/{destroy.rhtml → destroy.html.erb} +0 -0
- data/app/views/admin/blacklist/{edit.rhtml → edit.html.erb} +0 -0
- data/app/views/admin/blacklist/{list.rhtml → list.html.erb} +0 -0
- data/app/views/admin/cache/{list.rhtml → list.html.erb} +0 -0
- data/app/views/admin/categories/_categories.html.erb +20 -0
- data/app/views/admin/categories/{_form.rhtml → _form.html.erb} +0 -0
- data/app/views/admin/categories/{_quick_post.rhtml → _quick_post.html.erb} +0 -0
- data/app/views/admin/categories/{destroy.rhtml → destroy.html.erb} +0 -0
- data/app/views/admin/categories/{edit.rhtml → edit.html.erb} +0 -0
- data/app/views/admin/categories/list.html.erb +18 -0
- data/app/views/admin/categories/{reorder.rhtml → reorder.html.erb} +0 -0
- data/app/views/admin/categories/show.html.erb +37 -0
- data/app/views/admin/comments/_form.html.erb +19 -0
- data/app/views/admin/comments/{comments.rhtml → comments.html.erb} +0 -0
- data/app/views/admin/comments/{destroy.rhtml → destroy.html.erb} +0 -0
- data/app/views/admin/comments/{edit.rhtml → edit.html.erb} +0 -0
- data/app/views/admin/comments/list.html.erb +37 -0
- data/app/views/admin/comments/new.html.erb +19 -0
- data/app/views/admin/comments/{show.rhtml → show.html.erb} +0 -0
- data/app/views/admin/content/_articles.html.erb +26 -0
- data/app/views/admin/content/{_attachment.rhtml → _attachment.html.erb} +0 -0
- data/app/views/admin/content/_form.html.erb +89 -0
- data/app/views/admin/content/{_pages.rhtml → _pages.html.erb} +0 -0
- data/app/views/admin/content/{_quick_post.rhtml → _quick_post.html.erb} +0 -0
- data/app/views/admin/content/{_show_categories.rhtml → _show_categories.html.erb} +0 -0
- data/app/views/admin/content/{_show_resources.rhtml → _show_resources.html.erb} +0 -0
- data/app/views/admin/content/{destroy.rhtml → destroy.html.erb} +0 -0
- data/app/views/admin/content/edit.html.erb +10 -0
- data/app/views/admin/content/list.html.erb +21 -0
- data/app/views/admin/content/new.html.erb +6 -0
- data/app/views/admin/content/preview.html.erb +10 -0
- data/app/views/admin/content/show.html.erb +23 -0
- data/app/views/admin/dashboard/index.html.erb +61 -0
- data/app/views/admin/feedback/_button.html.erb +8 -0
- data/app/views/admin/feedback/_item.html.erb +14 -0
- data/app/views/admin/feedback/list.html.erb +48 -0
- data/app/views/admin/general/index.html.erb +141 -0
- data/app/views/admin/general/{update_database.rhtml → update_database.html.erb} +0 -0
- data/app/views/admin/pages/_form.html.erb +41 -0
- data/app/views/admin/pages/_pages.html.erb +24 -0
- data/app/views/admin/pages/{_quick_post.rhtml → _quick_post.html.erb} +0 -0
- data/app/views/admin/pages/{destroy.rhtml → destroy.html.erb} +0 -0
- data/app/views/admin/pages/{edit.rhtml → edit.html.erb} +0 -0
- data/app/views/admin/pages/list.html.erb +12 -0
- data/app/views/admin/pages/new.html.erb +6 -0
- data/app/views/admin/pages/{preview.rhtml → preview.html.erb} +0 -0
- data/app/views/admin/pages/show.html.erb +12 -0
- data/app/views/admin/resources/{_itunes_category_add.rhtml → _itunes_category_add.html.erb} +0 -0
- data/app/views/admin/resources/{_itunes_category_edit.rhtml → _itunes_category_edit.html.erb} +0 -0
- data/app/views/admin/resources/{_metadata_add.rhtml → _metadata_add.html.erb} +0 -0
- data/app/views/admin/resources/{_metadata_edit.rhtml → _metadata_edit.html.erb} +0 -0
- data/app/views/admin/resources/{_mime_edit.rhtml → _mime_edit.html.erb} +0 -0
- data/app/views/admin/resources/{_pages.rhtml → _pages.html.erb} +0 -0
- data/app/views/admin/resources/_resources.html.erb +40 -0
- data/app/views/admin/resources/{destroy.rhtml → destroy.html.erb} +0 -0
- data/app/views/admin/resources/list.html.erb +17 -0
- data/app/views/admin/resources/new.html.erb +16 -0
- data/app/views/admin/shared/_edit.html.erb +13 -0
- data/app/views/admin/sidebar/{_active.rhtml → _active.html.erb} +0 -0
- data/app/views/admin/sidebar/{_actives.rhtml → _actives.html.erb} +0 -0
- data/app/views/admin/sidebar/{_available.rhtml → _available.html.erb} +0 -0
- data/app/views/admin/sidebar/{_availables.rhtml → _availables.html.erb} +0 -0
- data/app/views/admin/sidebar/{_publish.rhtml → _publish.html.erb} +0 -0
- data/app/views/admin/sidebar/{_target.rhtml → _target.html.erb} +0 -0
- data/app/views/admin/sidebar/index.html.erb +43 -0
- data/app/views/admin/textfilters/_form.html.erb +60 -0
- data/app/views/admin/textfilters/_macros.html.erb +16 -0
- data/app/views/admin/textfilters/_textfilters.html.erb +20 -0
- data/app/views/admin/textfilters/{destroy.rhtml → destroy.html.erb} +0 -0
- data/app/views/admin/textfilters/edit.html.erb +14 -0
- data/app/views/admin/textfilters/list.html.erb +18 -0
- data/app/views/admin/textfilters/macro_help.html.erb +3 -0
- data/app/views/admin/textfilters/new.html.erb +16 -0
- data/app/views/admin/textfilters/{preview.rhtml → preview.html.erb} +0 -0
- data/app/views/admin/textfilters/{show.rhtml → show.html.erb} +0 -0
- data/app/views/admin/textfilters/{show_help.rhtml → show_help.html.erb} +0 -0
- data/app/views/admin/themes/editor.html.erb +31 -0
- data/app/views/admin/themes/index.html.erb +30 -0
- data/app/views/admin/trackbacks/{_form.rhtml → _form.html.erb} +0 -0
- data/app/views/admin/trackbacks/{destroy.rhtml → destroy.html.erb} +0 -0
- data/app/views/admin/trackbacks/{edit.rhtml → edit.html.erb} +0 -0
- data/app/views/admin/trackbacks/{list.rhtml → list.html.erb} +0 -0
- data/app/views/admin/trackbacks/{new.rhtml → new.html.erb} +0 -0
- data/app/views/admin/trackbacks/{show.rhtml → show.html.erb} +0 -0
- data/app/views/admin/users/_form.html.erb +55 -0
- data/app/views/admin/users/_user.html.erb +20 -0
- data/app/views/admin/users/{destroy.rhtml → destroy.html.erb} +0 -0
- data/app/views/admin/users/edit.html.erb +17 -0
- data/app/views/admin/users/list.html.erb +32 -0
- data/app/views/admin/users/new.html.erb +15 -0
- data/app/views/admin/users/show.html.erb +23 -0
- data/app/views/articles/{_article.rhtml → _article.html.erb} +0 -0
- data/app/views/articles/_atom_feed.atom.builder +12 -0
- data/app/views/articles/{_comment.rhtml → _comment.html.erb} +0 -0
- data/app/views/articles/_comment_box.html.erb +45 -0
- data/app/views/articles/{_comment_error.rhtml → _comment_error.html.erb} +0 -0
- data/app/views/articles/_rss20_feed.rss.builder +17 -0
- data/app/views/articles/{_trackback.rhtml → _trackback.html.erb} +0 -0
- data/app/views/articles/{archives.rhtml → archives.html.erb} +0 -0
- data/app/views/articles/{comment_preview.rhtml → comment_preview.html.erb} +0 -0
- data/app/views/articles/{error.rhtml → error.html.erb} +0 -0
- data/app/views/articles/{groupings.rhtml → groupings.html.erb} +0 -0
- data/app/views/articles/index.html.erb +11 -0
- data/app/views/articles/read.html.erb +69 -0
- data/app/views/articles/{trackback.rxml → trackback.xml.builder} +0 -0
- data/app/views/articles/{view_page.rhtml → view_page.html.erb} +0 -0
- data/app/views/comments/index.html.erb +1 -0
- data/app/views/comments/show.html.erb +13 -0
- data/app/views/layouts/{accounts.rhtml → accounts.html.erb} +0 -0
- data/app/views/layouts/administration.html.erb +58 -0
- data/app/views/layouts/{minimal.rhtml → minimal.html.erb} +0 -0
- data/app/views/layouts/{sidebar.rhtml → sidebar.html.erb} +0 -0
- data/app/views/live/{search.rhtml → search.html.erb} +0 -0
- data/app/views/notification_mailer/{_mail_footer.rhtml → _mail_footer.html.erb} +0 -0
- data/app/views/notification_mailer/{_mail_header.rhtml → _mail_header.html.erb} +0 -0
- data/app/views/notification_mailer/article.html.erb +6 -0
- data/app/views/notification_mailer/comment.html.erb +11 -0
- data/app/views/notification_mailer/{trackback.rhtml → trackback.html.erb} +0 -0
- data/app/views/settings/{done.rhtml → done.html.erb} +0 -0
- data/app/views/settings/{install.rhtml → install.html.erb} +0 -0
- data/app/views/shared/_loginform.html.erb +14 -0
- data/app/views/shared/_search.html.erb +10 -0
- data/app/views/sidebar/{_row.rhtml → _row.html.erb} +0 -0
- data/app/views/sidebar/{_sidebar.rhtml → _sidebar.html.erb} +0 -0
- data/app/views/sidebar/{display_plugins.rhtml → display_plugins.html.erb} +0 -0
- data/app/views/sidebar/{show.rhtml → show.html.erb} +0 -0
- data/app/views/theme/{static_view_test.rhtml → static_view_test.html.erb} +0 -0
- data/app/views/xml/{_atom10_item_article.rxml → _atom10_item_article.atom.builder} +0 -0
- data/app/views/xml/{_atom10_item_comment.rxml → _atom10_item_comment.atom.builder} +0 -0
- data/app/views/xml/{_atom10_item_trackback.rxml → _atom10_item_trackback.atom.builder} +0 -0
- data/app/views/xml/{_googlesitemap_item_article.rxml → _googlesitemap_item_article.googlesitemap.builder} +0 -0
- data/app/views/xml/{_googlesitemap_item_category.rxml → _googlesitemap_item_category.googlesitemap.builder} +0 -0
- data/app/views/xml/{_googlesitemap_item_page.rxml → _googlesitemap_item_page.googlesitemap.builder} +0 -0
- data/app/views/xml/{_googlesitemap_item_tag.rxml → _googlesitemap_item_tag.googlesitemap.builder} +0 -0
- data/app/views/xml/{_itunes_item_resource.rxml → _itunes_item_resource.xml.builder} +0 -0
- data/app/views/xml/{_rss20_item_article.rxml → _rss20_item_article.rss.builder} +0 -0
- data/app/views/xml/{_rss20_item_comment.rxml → _rss20_item_comment.rss.builder} +0 -0
- data/app/views/xml/{_rss20_item_trackback.rxml → _rss20_item_trackback.rss.builder} +0 -0
- data/app/views/xml/feed.atom.builder +18 -0
- data/app/views/xml/{googlesitemap_feed.rxml → feed.googlesitemap.builder} +0 -0
- data/app/views/xml/feed.rss.builder +18 -0
- data/app/views/xml/itunes_feed.rss.builder +29 -0
- data/app/views/xml/rsd.rsd.builder +19 -0
- data/bin/typo +55 -0
- data/config/boot.rb +1 -1
- data/config/environment.rb +26 -17
- data/config/environments/development.rb +0 -3
- data/config/environments/test.rb +1 -0
- data/config/initializers/mime_types.rb +3 -0
- data/config/routes.rb +118 -59
- data/db/migrate/001_initial_schema.rb +20 -5
- data/db/migrate/004_add_sidebars.rb +11 -5
- data/db/migrate/008_add_page_title.rb +11 -0
- data/db/migrate/016_fix_is_primary_postgres.rb +4 -7
- data/db/migrate/036_add_tag_display_name.rb +1 -3
- data/db/migrate/056_create_notifications.rb +1 -0
- data/db/migrate/057_add_categorization_model.rb +2 -2
- data/db/migrate/058_separate_entries_and_feedback.rb +13 -0
- data/db/migrate/060_cleanup_contents_table.rb +2 -2
- data/db/migrate/063_rejig_state_field.rb +40 -0
- data/db/migrate/064_add_users_profile.rb +32 -0
- data/db/migrate/065_add_users_rights.rb +116 -0
- data/db/schema.mysql.sql +107 -165
- data/db/schema.postgresql.sql +107 -165
- data/db/schema.rb +143 -120
- data/db/schema.sqlite.sql +107 -165
- data/db/schema.sqlserver.sql +108 -170
- data/db/schema_version +1 -1
- data/lang/de_DE.rb +4 -2
- data/lang/fr_FR.rb +65 -3
- data/lang/ro_RO.rb +4 -2
- data/lib/bare_migration.rb +3 -0
- data/lib/generators/sidebar/templates/{content.rhtml → content.html.erb} +0 -0
- data/lib/login_system.rb +2 -2
- data/lib/route_cache.rb +1 -1
- data/lib/stateful.rb +107 -0
- data/lib/tasks/rcov.rake +38 -0
- data/lib/tasks/release.rake +21 -10
- data/lib/text_filter_plugin.rb +11 -5
- data/lib/transforms.rb +1 -1
- data/lib/typo_deprecated.rb +11 -0
- data/public/.htaccess +3 -2
- data/public/images/admin/bc-bg.gif +0 -0
- data/public/images/admin/bgdivider.gif +0 -0
- data/public/images/admin/bgdivider.png +0 -0
- data/public/images/admin/bgoff.png +0 -0
- data/public/images/admin/bgoff2.png +0 -0
- data/public/images/admin/bgon.png +0 -0
- data/public/images/admin/bgover.png +0 -0
- data/public/images/admin/bgselected.png +0 -0
- data/public/images/admin/cancel.png +0 -0
- data/public/images/admin/checked.png +0 -0
- data/public/images/admin/delete.png +0 -0
- data/public/images/admin/edit.png +0 -0
- data/public/images/admin/foot.jpg +0 -0
- data/public/images/{help.png → admin/help.png} +0 -0
- data/public/images/admin/loginformbg.png +0 -0
- data/public/images/admin/show.png +0 -0
- data/public/images/admin/table-header-first.png +0 -0
- data/public/images/admin/table-header-last.png +0 -0
- data/public/images/admin/table-header.png +0 -0
- data/public/images/admin/top.gif +0 -0
- data/public/images/admin/typo.gif +0 -0
- data/public/images/admin/typologo.png +0 -0
- data/public/javascripts/lightbox.js +1 -1
- data/public/javascripts/tiny_mce/langs/en.js +154 -41
- data/public/javascripts/tiny_mce/plugins/advimage/css/advimage.css +13 -0
- data/public/javascripts/tiny_mce/plugins/advimage/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/advimage/editor_plugin_src.js +49 -0
- data/public/javascripts/tiny_mce/plugins/advimage/image.htm +237 -0
- data/public/javascripts/tiny_mce/plugins/advimage/img/sample.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/advimage/js/image.js +403 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/en_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advlink/css/advlink.css +8 -0
- data/public/javascripts/tiny_mce/plugins/advlink/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/advlink/editor_plugin_src.js +58 -0
- data/public/javascripts/tiny_mce/plugins/advlink/js/advlink.js +551 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/en_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/link.htm +339 -0
- data/public/javascripts/tiny_mce/plugins/autosave/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/autosave/editor_plugin_src.js +51 -0
- data/public/javascripts/tiny_mce/plugins/contextmenu/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/contextmenu/editor_plugin_src.js +84 -0
- data/public/javascripts/tiny_mce/plugins/emotions/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/emotions/editor_plugin_src.js +40 -0
- data/public/javascripts/tiny_mce/plugins/emotions/emotions.htm +41 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-cool.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-cry.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-embarassed.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-frown.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-innocent.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-kiss.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-laughing.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-sealed.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-smile.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-surprised.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-undecided.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-wink.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-yell.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/js/emotions.js +22 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/en_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/media/css/content.css +6 -0
- data/public/javascripts/tiny_mce/plugins/media/css/media.css +68 -0
- data/public/javascripts/tiny_mce/plugins/media/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/media/editor_plugin_src.js +323 -0
- data/public/javascripts/tiny_mce/plugins/media/img/flash.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/media/img/flv_player.swf +0 -0
- data/public/javascripts/tiny_mce/plugins/media/img/quicktime.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/media/img/realmedia.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/media/img/shockwave.gif +0 -0
- data/public/javascripts/tiny_mce/{themes/advanced/images/spacer.gif → plugins/media/img/trans.gif} +0 -0
- data/public/javascripts/tiny_mce/plugins/media/img/windowsmedia.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/media/js/embed.js +73 -0
- data/public/javascripts/tiny_mce/plugins/media/js/media.js +616 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/en_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/media.htm +823 -0
- data/public/javascripts/tiny_mce/plugins/nonbreaking/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/nonbreaking/editor_plugin_src.js +50 -0
- data/public/javascripts/tiny_mce/plugins/paste/blank.htm +22 -0
- data/public/javascripts/tiny_mce/plugins/paste/css/blank.css +14 -0
- data/public/javascripts/tiny_mce/plugins/paste/css/pasteword.css +3 -0
- data/public/javascripts/tiny_mce/plugins/paste/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/paste/editor_plugin_src.js +382 -0
- data/public/javascripts/tiny_mce/plugins/paste/js/pastetext.js +42 -0
- data/public/javascripts/tiny_mce/plugins/paste/js/pasteword.js +56 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/en_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/pastetext.htm +34 -0
- data/public/javascripts/tiny_mce/plugins/paste/pasteword.htm +29 -0
- data/public/javascripts/tiny_mce/plugins/safari/blank.htm +1 -0
- data/public/javascripts/tiny_mce/plugins/safari/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/safari/editor_plugin_src.js +401 -0
- data/public/javascripts/tiny_mce/plugins/save/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/save/editor_plugin_src.js +103 -0
- data/public/javascripts/tiny_mce/themes/advanced/about.htm +19 -15
- data/public/javascripts/tiny_mce/themes/advanced/anchor.htm +10 -11
- data/public/javascripts/tiny_mce/themes/advanced/charmap.htm +7 -7
- data/public/javascripts/tiny_mce/themes/advanced/color_picker.htm +67 -6
- data/public/javascripts/tiny_mce/themes/advanced/editor_template.js +1 -1
- data/public/javascripts/tiny_mce/themes/advanced/editor_template_src.js +808 -1352
- data/public/javascripts/tiny_mce/themes/advanced/image.htm +39 -53
- data/public/javascripts/tiny_mce/themes/advanced/img/colorpicker.jpg +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/img/icons.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/js/about.js +76 -0
- data/public/javascripts/tiny_mce/themes/advanced/js/anchor.js +30 -0
- data/public/javascripts/tiny_mce/themes/advanced/js/charmap.js +327 -0
- data/public/javascripts/tiny_mce/themes/advanced/js/color_picker.js +245 -0
- data/public/javascripts/tiny_mce/themes/advanced/js/image.js +232 -0
- data/public/javascripts/tiny_mce/themes/advanced/js/link.js +110 -0
- data/public/javascripts/tiny_mce/themes/advanced/js/source_editor.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/en.js +62 -82
- data/public/javascripts/tiny_mce/themes/advanced/langs/en_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/link.htm +28 -64
- data/public/javascripts/tiny_mce/themes/advanced/skins/default/content.css +18 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/default/dialog.css +111 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/default/img/buttons.png +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/{images/anchor_symbol.gif → skins/default/img/items.gif} +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/default/img/menu_check.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/default/img/progress.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/default/img/tabs.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/default/ui.css +193 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/content.css +18 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/dialog.css +111 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui.css +193 -0
- data/public/javascripts/tiny_mce/themes/advanced/source_editor.htm +9 -9
- data/public/javascripts/tiny_mce/themes/simple/editor_template.js +1 -0
- data/public/javascripts/tiny_mce/themes/simple/editor_template_src.js +85 -0
- data/public/javascripts/tiny_mce/themes/simple/img/icons.gif +0 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/en.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/skins/default/content.css +25 -0
- data/public/javascripts/tiny_mce/themes/simple/skins/default/ui.css +32 -0
- data/public/javascripts/tiny_mce/themes/simple/skins/o2k7/content.css +17 -0
- data/public/javascripts/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png +0 -0
- data/public/javascripts/tiny_mce/themes/simple/skins/o2k7/ui.css +35 -0
- data/public/javascripts/tiny_mce/tiny_mce.js +1 -1
- data/public/javascripts/tiny_mce/tiny_mce_popup.js +168 -235
- data/public/javascripts/tiny_mce/tiny_mce_src.js +7173 -5654
- data/public/javascripts/tiny_mce/utils/editable_selects.js +6 -6
- data/public/javascripts/tiny_mce/utils/form_utils.js +23 -40
- data/public/javascripts/tiny_mce/utils/mclayer.js +2 -2
- data/public/javascripts/tiny_mce/utils/mctabs.js +2 -2
- data/public/javascripts/tiny_mce/utils/validate.js +2 -2
- data/public/javascripts/typo.js +11 -18
- data/public/stylesheets/administration.css +449 -232
- data/public/stylesheets/lightbox.css +2 -2
- data/script/spec +4 -0
- data/script/spec_server +102 -0
- data/spec/controllers/accounts_controller_spec.rb +86 -60
- data/spec/controllers/articles_controller_spec.rb +50 -20
- data/spec/controllers/authors_controller_spec.rb +111 -0
- data/spec/controllers/categories_controller_spec.rb +128 -0
- data/spec/controllers/comments_controller_spec.rb +216 -0
- data/spec/controllers/tags_controller_spec.rb +128 -0
- data/spec/fixtures/contents.yml +12 -12
- data/spec/fixtures/feedback.yml +10 -10
- data/spec/helpers/admin_base_helper_spec.rb +3 -3
- data/spec/helpers/comments_helper_spec.rb +11 -0
- data/spec/helpers/content_helper_spec.rb +26 -0
- data/spec/models/amazon_sidebar_spec.rb +11 -11
- data/spec/models/article_spec.rb +17 -0
- data/spec/models/blog_spec.rb +7 -7
- data/spec/models/cache_support_spec.rb +20 -20
- data/spec/models/category_spec.rb +9 -9
- data/spec/models/configuration_spec.rb +41 -41
- data/spec/models/metafragment_spec.rb +8 -8
- data/spec/models/page_spec.rb +38 -30
- data/spec/models/ping_spec.rb +40 -38
- data/spec/models/redirect_spec.rb +5 -5
- data/spec/models/resource_spec.rb +18 -21
- data/spec/models/static_sidebar_spec.rb +5 -5
- data/spec/models/tag_spec.rb +12 -12
- data/spec/models/text_filter_spec.rb +18 -18
- data/spec/models/theme_spec.rb +15 -14
- data/spec/models/trackback_spec.rb +23 -18
- data/spec/models/trigger_spec.rb +6 -6
- data/spec/models/user_spec.rb +40 -40
- data/spec/spec.opts +7 -0
- data/spec/spec_helper.rb +28 -0
- data/spec/views/comments/html_sanitization_spec.rb +118 -0
- data/test/fixtures/blogs.yml +2 -2
- data/test/fixtures/contents.yml +18 -18
- data/test/fixtures/feedback.yml +10 -10
- data/test/fixtures/profiles.yml +16 -0
- data/test/fixtures/users.yml +9 -4
- data/test/functional/accounts_controller_test.rb +6 -6
- data/test/functional/admin/advanced_controller_test.rb +21 -0
- data/test/functional/admin/article_preview_test.rb +1 -1
- data/test/functional/admin/blacklist_controller_test.rb +1 -1
- data/test/functional/admin/categories_controller_test.rb +4 -10
- data/test/functional/admin/comments_controller_test.rb +2 -2
- data/test/functional/admin/content_controller_test.rb +8 -2
- data/test/functional/admin/feedback_controller_test.rb +2 -2
- data/test/functional/admin/general_controller_test.rb +1 -1
- data/test/functional/admin/pages_controller_test.rb +1 -1
- data/test/functional/admin/profiles_controller_test.rb +18 -0
- data/test/functional/admin/resources_controller_test.rb +1 -1
- data/test/functional/admin/textfilters_controller_test.rb +1 -1
- data/test/functional/admin/themes_controller_test.rb +3 -3
- data/test/functional/admin/trackbacks_controller_test.rb +1 -1
- data/test/functional/admin/users_controller_test.rb +2 -2
- data/test/functional/articles_controller_test.rb +56 -358
- data/test/functional/backend_controller_test.rb +23 -9
- data/test/functional/theme_controller_test.rb +8 -8
- data/test/functional/xml_controller_test.rb +20 -180
- data/test/mocks/themes/standard_issue/about.markdown +5 -0
- data/test/mocks/themes/standard_issue/images/img01.gif +0 -0
- data/test/mocks/themes/standard_issue/images/img02.gif +0 -0
- data/test/mocks/themes/standard_issue/images/img03.gif +0 -0
- data/test/mocks/themes/standard_issue/images/img04.jpg +0 -0
- data/test/mocks/themes/standard_issue/images/img05.gif +0 -0
- data/test/mocks/themes/standard_issue/images/img06.gif +0 -0
- data/test/mocks/themes/standard_issue/images/img07.gif +0 -0
- data/test/mocks/themes/standard_issue/images/img08.gif +0 -0
- data/test/mocks/themes/standard_issue/images/img09.gif +0 -0
- data/test/mocks/themes/standard_issue/images/img10.gif +0 -0
- data/test/mocks/themes/standard_issue/images/spacer.gif +0 -0
- data/{themes/azure → test/mocks/themes/standard_issue}/images/spinner.gif +0 -0
- data/test/mocks/themes/standard_issue/layouts/default.html.erb +61 -0
- data/test/mocks/themes/standard_issue/preview.png +0 -0
- data/test/mocks/themes/standard_issue/stylesheets/application.css +461 -0
- data/test/mocks/themes/standard_issue/views/articles/_article.html.erb +32 -0
- data/test/mocks/themes/standard_issue/views/articles/_comment.html.erb +12 -0
- data/test/mocks/themes/standard_issue/views/articles/_comment_form.html.erb +48 -0
- data/{themes/scribbish/views/articles/_comment_list.rhtml → test/mocks/themes/standard_issue/views/articles/_comment_list.html.erb} +0 -0
- data/{themes/scribbish/views/articles/_trackback.rhtml → test/mocks/themes/standard_issue/views/articles/_trackback.html.erb} +0 -0
- data/{themes/scribbish/views/articles/comment_preview.rhtml → test/mocks/themes/standard_issue/views/articles/comment_preview.html.erb} +0 -0
- data/test/mocks/themes/standard_issue/views/articles/index.html.erb +5 -0
- data/test/mocks/themes/standard_issue/views/articles/read.html.erb +42 -0
- data/test/mocks/themes/standard_issue/views/shared/_search.html.erb +17 -0
- data/test/mocks/themes/standard_issue/views/theme/static_view_test.rhtml +1 -0
- data/test/test_helper.rb +4 -2
- data/test/unit/article_closing_test.rb +40 -0
- data/test/unit/article_test.rb +23 -15
- data/test/unit/blog_test.rb +2 -2
- data/test/unit/cache_support_test.rb +1 -1
- data/test/unit/configuration_test.rb +2 -2
- data/test/unit/content_state/feedback_states_test.rb +7 -11
- data/test/unit/ping_pinger_test.rb +30 -0
- data/test/unit/ping_test.rb +4 -2
- data/test/unit/route_cache_test.rb +11 -0
- data/test/unit/sidebar_test.rb +1 -1
- data/test/unit/theme_test.rb +3 -3
- data/test/unit/trackback_test.rb +0 -37
- data/test/unit/typo_deprecated_test.rb +22 -0
- data/test/unit/user_test.rb +1 -1
- data/themes/dirtylicious/about.markdown +3 -0
- data/themes/dirtylicious/images/body.jpg +0 -0
- data/themes/dirtylicious/images/container.jpg +0 -0
- data/themes/dirtylicious/images/gravatar.gif +0 -0
- data/themes/dirtylicious/images/header.jpg +0 -0
- data/themes/dirtylicious/images/li.gif +0 -0
- data/themes/dirtylicious/images/main.gif +0 -0
- data/themes/dirtylicious/images/nav.gif +0 -0
- data/themes/dirtylicious/images/quote.gif +0 -0
- data/themes/dirtylicious/images/spinner.gif +0 -0
- data/themes/dirtylicious/layouts/default.html.erb +60 -0
- data/themes/dirtylicious/preview.png +0 -0
- data/themes/dirtylicious/stylesheets/application.css +327 -0
- data/themes/dirtylicious/views/articles/_article.html.erb +33 -0
- data/themes/dirtylicious/views/articles/_comment.html.erb +14 -0
- data/themes/dirtylicious/views/articles/_comment_form.html.erb +37 -0
- data/themes/dirtylicious/views/articles/_comment_list.html.erb +7 -0
- data/themes/dirtylicious/views/articles/_trackback.html.erb +9 -0
- data/themes/dirtylicious/views/articles/comment_preview.html.erb +10 -0
- data/themes/dirtylicious/views/articles/index.html.erb +5 -0
- data/themes/dirtylicious/views/articles/read.html.erb +42 -0
- data/themes/dirtylicious/views/shared/_search.html.erb +16 -0
- data/themes/scribbish/layouts/default.html.erb +42 -0
- data/themes/scribbish/stylesheets/application.css +1 -1
- data/themes/scribbish/stylesheets/content.css +3 -3
- data/themes/scribbish/views/articles/{_article.rhtml → _article.html.erb} +0 -0
- data/themes/scribbish/views/articles/{_comment.rhtml → _comment.html.erb} +0 -0
- data/themes/scribbish/views/articles/_comment_form.html.erb +53 -0
- data/themes/scribbish/views/articles/_comment_list.html.erb +7 -0
- data/themes/scribbish/views/articles/_trackback.html.erb +9 -0
- data/themes/scribbish/views/articles/comment_preview.html.erb +10 -0
- data/themes/scribbish/views/articles/index.html.erb +5 -0
- data/themes/scribbish/views/articles/{read.rhtml → read.html.erb} +0 -0
- data/themes/scribbish/views/shared/_search.html.erb +16 -0
- data/themes/standard_issue/about.markdown +5 -0
- data/themes/standard_issue/images/img01.gif +0 -0
- data/themes/standard_issue/images/img02.gif +0 -0
- data/themes/standard_issue/images/img03.gif +0 -0
- data/themes/standard_issue/images/img04.jpg +0 -0
- data/themes/standard_issue/images/img05.gif +0 -0
- data/themes/standard_issue/images/img06.gif +0 -0
- data/themes/standard_issue/images/img07.gif +0 -0
- data/themes/standard_issue/images/img08.gif +0 -0
- data/themes/standard_issue/images/img09.gif +0 -0
- data/themes/standard_issue/images/img10.gif +0 -0
- data/themes/standard_issue/images/spacer.gif +0 -0
- data/themes/standard_issue/images/spinner.gif +0 -0
- data/themes/standard_issue/layouts/default.html.erb +59 -0
- data/themes/standard_issue/preview.png +0 -0
- data/themes/standard_issue/stylesheets/application.css +461 -0
- data/themes/standard_issue/views/articles/_article.html.erb +32 -0
- data/themes/standard_issue/views/articles/_comment.html.erb +12 -0
- data/themes/standard_issue/views/articles/_comment_form.html.erb +48 -0
- data/themes/standard_issue/views/articles/_comment_list.html.erb +7 -0
- data/themes/standard_issue/views/articles/_trackback.html.erb +9 -0
- data/themes/standard_issue/views/articles/comment_preview.html.erb +10 -0
- data/themes/standard_issue/views/articles/index.html.erb +5 -0
- data/themes/standard_issue/views/articles/read.html.erb +42 -0
- data/themes/standard_issue/views/shared/_search.html.erb +17 -0
- data/themes/standard_issue/views/theme/static_view_test.html.erb +1 -0
- data/vendor/actionwebservice/CHANGELOG +265 -0
- data/vendor/actionwebservice/MIT-LICENSE +21 -0
- data/vendor/actionwebservice/README +364 -0
- data/vendor/actionwebservice/Rakefile +172 -0
- data/vendor/actionwebservice/TODO +32 -0
- data/vendor/actionwebservice/examples/googlesearch/README +143 -0
- data/vendor/actionwebservice/examples/googlesearch/autoloading/google_search_api.rb +50 -0
- data/vendor/actionwebservice/examples/googlesearch/autoloading/google_search_controller.rb +57 -0
- data/vendor/actionwebservice/examples/googlesearch/delegated/google_search_service.rb +108 -0
- data/vendor/actionwebservice/examples/googlesearch/delegated/search_controller.rb +7 -0
- data/vendor/actionwebservice/examples/googlesearch/direct/google_search_api.rb +50 -0
- data/vendor/actionwebservice/examples/googlesearch/direct/search_controller.rb +58 -0
- data/vendor/actionwebservice/examples/metaWeblog/README +17 -0
- data/vendor/actionwebservice/examples/metaWeblog/apis/blogger_api.rb +60 -0
- data/vendor/actionwebservice/examples/metaWeblog/apis/blogger_service.rb +34 -0
- data/vendor/actionwebservice/examples/metaWeblog/apis/meta_weblog_api.rb +67 -0
- data/vendor/actionwebservice/examples/metaWeblog/apis/meta_weblog_service.rb +48 -0
- data/vendor/actionwebservice/examples/metaWeblog/controllers/xmlrpc_controller.rb +16 -0
- data/vendor/actionwebservice/install.rb +30 -0
- data/vendor/actionwebservice/lib/action_web_service.rb +66 -0
- data/vendor/actionwebservice/lib/action_web_service/api.rb +297 -0
- data/vendor/actionwebservice/lib/action_web_service/base.rb +38 -0
- data/vendor/actionwebservice/lib/action_web_service/casting.rb +138 -0
- data/vendor/actionwebservice/lib/action_web_service/client.rb +3 -0
- data/vendor/actionwebservice/lib/action_web_service/client/base.rb +28 -0
- data/vendor/actionwebservice/lib/action_web_service/client/soap_client.rb +113 -0
- data/vendor/actionwebservice/lib/action_web_service/client/xmlrpc_client.rb +58 -0
- data/vendor/actionwebservice/lib/action_web_service/container.rb +3 -0
- data/vendor/actionwebservice/lib/action_web_service/container/action_controller_container.rb +93 -0
- data/vendor/actionwebservice/lib/action_web_service/container/delegated_container.rb +86 -0
- data/vendor/actionwebservice/lib/action_web_service/container/direct_container.rb +69 -0
- data/vendor/actionwebservice/lib/action_web_service/dispatcher.rb +2 -0
- data/vendor/actionwebservice/lib/action_web_service/dispatcher/abstract.rb +207 -0
- data/vendor/actionwebservice/lib/action_web_service/dispatcher/action_controller_dispatcher.rb +379 -0
- data/vendor/actionwebservice/lib/action_web_service/invocation.rb +202 -0
- data/vendor/actionwebservice/lib/action_web_service/protocol.rb +4 -0
- data/vendor/actionwebservice/lib/action_web_service/protocol/abstract.rb +112 -0
- data/vendor/actionwebservice/lib/action_web_service/protocol/discovery.rb +37 -0
- data/vendor/actionwebservice/lib/action_web_service/protocol/soap_protocol.rb +176 -0
- data/vendor/actionwebservice/lib/action_web_service/protocol/soap_protocol/marshaler.rb +235 -0
- data/vendor/actionwebservice/lib/action_web_service/protocol/xmlrpc_protocol.rb +122 -0
- data/vendor/actionwebservice/lib/action_web_service/scaffolding.rb +283 -0
- data/vendor/actionwebservice/lib/action_web_service/struct.rb +64 -0
- data/vendor/actionwebservice/lib/action_web_service/support/class_inheritable_options.rb +26 -0
- data/vendor/actionwebservice/lib/action_web_service/support/signature_types.rb +226 -0
- data/vendor/actionwebservice/lib/action_web_service/templates/scaffolds/layout.erb +65 -0
- data/vendor/{plugins/sitealizer/lib/app/views/sitealizer/_hits_summary.rhtml → actionwebservice/lib/action_web_service/templates/scaffolds/layout.rhtml} +0 -0
- data/vendor/actionwebservice/lib/action_web_service/templates/scaffolds/methods.erb +6 -0
- data/vendor/actionwebservice/lib/action_web_service/templates/scaffolds/methods.rhtml +0 -0
- data/vendor/actionwebservice/lib/action_web_service/templates/scaffolds/parameters.erb +29 -0
- data/vendor/actionwebservice/lib/action_web_service/templates/scaffolds/parameters.rhtml +0 -0
- data/vendor/actionwebservice/lib/action_web_service/templates/scaffolds/result.erb +30 -0
- data/vendor/actionwebservice/lib/action_web_service/templates/scaffolds/result.rhtml +0 -0
- data/vendor/actionwebservice/lib/action_web_service/test_invoke.rb +110 -0
- data/vendor/actionwebservice/lib/action_web_service/version.rb +9 -0
- data/vendor/actionwebservice/lib/actionwebservice.rb +1 -0
- data/vendor/actionwebservice/setup.rb +1379 -0
- data/vendor/actionwebservice/test/abstract_client.rb +183 -0
- data/vendor/actionwebservice/test/abstract_dispatcher.rb +551 -0
- data/vendor/actionwebservice/test/abstract_unit.rb +45 -0
- data/vendor/actionwebservice/test/api_test.rb +102 -0
- data/vendor/actionwebservice/test/apis/auto_load_api.rb +3 -0
- data/vendor/actionwebservice/test/apis/broken_auto_load_api.rb +2 -0
- data/vendor/actionwebservice/test/base_test.rb +42 -0
- data/vendor/actionwebservice/test/casting_test.rb +86 -0
- data/vendor/actionwebservice/test/client_soap_test.rb +153 -0
- data/vendor/actionwebservice/test/client_xmlrpc_test.rb +152 -0
- data/vendor/actionwebservice/test/container_test.rb +73 -0
- data/vendor/actionwebservice/test/dispatcher_action_controller_soap_test.rb +137 -0
- data/vendor/actionwebservice/test/dispatcher_action_controller_xmlrpc_test.rb +59 -0
- data/vendor/actionwebservice/test/fixtures/db_definitions/mysql.sql +8 -0
- data/vendor/actionwebservice/test/fixtures/users.yml +12 -0
- data/vendor/actionwebservice/test/gencov +3 -0
- data/vendor/actionwebservice/test/invocation_test.rb +185 -0
- data/vendor/actionwebservice/test/run +6 -0
- data/vendor/actionwebservice/test/scaffolded_controller_test.rb +146 -0
- data/vendor/actionwebservice/test/struct_test.rb +52 -0
- data/vendor/actionwebservice/test/test_invoke_test.rb +112 -0
- data/vendor/memcache-client/lib/memcache.rb +1 -2
- data/vendor/plugins/acts_as_list/README +23 -0
- data/vendor/plugins/acts_as_list/init.rb +3 -0
- data/vendor/plugins/acts_as_list/lib/active_record/acts/list.rb +256 -0
- data/vendor/plugins/acts_as_list/test/list_test.rb +332 -0
- data/vendor/plugins/archives_sidebar/lib/archives_sidebar.rb +14 -5
- data/vendor/plugins/archives_sidebar/views/content.rhtml +1 -1
- data/vendor/plugins/category_sidebar/views/content.rhtml +1 -1
- data/vendor/plugins/classic_pagination/CHANGELOG +152 -0
- data/vendor/plugins/classic_pagination/README +18 -0
- data/vendor/plugins/classic_pagination/Rakefile +22 -0
- data/vendor/plugins/classic_pagination/init.rb +33 -0
- data/vendor/plugins/classic_pagination/install.rb +1 -0
- data/vendor/plugins/classic_pagination/lib/pagination.rb +405 -0
- data/vendor/plugins/classic_pagination/lib/pagination_helper.rb +135 -0
- data/vendor/plugins/classic_pagination/test/fixtures/companies.yml +24 -0
- data/vendor/plugins/classic_pagination/test/fixtures/company.rb +9 -0
- data/vendor/plugins/classic_pagination/test/fixtures/developer.rb +7 -0
- data/vendor/plugins/classic_pagination/test/fixtures/developers.yml +21 -0
- data/vendor/plugins/classic_pagination/test/fixtures/developers_projects.yml +13 -0
- data/vendor/plugins/classic_pagination/test/fixtures/project.rb +3 -0
- data/vendor/plugins/classic_pagination/test/fixtures/projects.yml +7 -0
- data/vendor/plugins/classic_pagination/test/fixtures/replies.yml +13 -0
- data/vendor/plugins/classic_pagination/test/fixtures/reply.rb +5 -0
- data/vendor/plugins/classic_pagination/test/fixtures/schema.sql +42 -0
- data/vendor/plugins/classic_pagination/test/fixtures/topic.rb +3 -0
- data/vendor/plugins/classic_pagination/test/fixtures/topics.yml +22 -0
- data/vendor/plugins/classic_pagination/test/helper.rb +117 -0
- data/vendor/plugins/classic_pagination/test/pagination_helper_test.rb +38 -0
- data/vendor/plugins/classic_pagination/test/pagination_test.rb +177 -0
- data/vendor/plugins/datestamped_resources/README +4 -0
- data/vendor/plugins/datestamped_resources/Rakefile +22 -0
- data/vendor/plugins/datestamped_resources/init.rb +2 -0
- data/vendor/plugins/datestamped_resources/install.rb +1 -0
- data/vendor/plugins/datestamped_resources/lib/datestamped_resources.rb +202 -0
- data/vendor/plugins/datestamped_resources/tasks/datestamped_resources_tasks.rake +4 -0
- data/vendor/plugins/datestamped_resources/test/datestamped_resources_test.rb +8 -0
- data/vendor/plugins/datestamped_resources/uninstall.rb +1 -0
- data/vendor/plugins/expiring_action_cache/lib/actionparamcache.rb +2 -2
- data/vendor/plugins/localization/lib/localization.rb +1 -1
- data/vendor/plugins/page_sidebar/Rakefile +22 -0
- data/vendor/plugins/page_sidebar/init.rb +5 -0
- data/vendor/plugins/page_sidebar/lib/page_sidebar.rb +10 -0
- data/vendor/plugins/page_sidebar/test/page_sidebar_test.rb +8 -0
- data/vendor/plugins/page_sidebar/views/content.rhtml +12 -0
- data/vendor/plugins/rspec/CHANGES +1021 -0
- data/vendor/plugins/rspec/MIT-LICENSE +20 -0
- data/vendor/plugins/rspec/README +72 -0
- data/vendor/plugins/rspec/Rakefile +277 -0
- data/vendor/plugins/rspec/TODO +2 -0
- data/vendor/plugins/rspec/UPGRADE +31 -0
- data/vendor/plugins/rspec/autotest/discover.rb +6 -0
- data/vendor/plugins/rspec/autotest/rspec.rb +1 -0
- data/vendor/plugins/rspec/bin/spec +3 -0
- data/vendor/plugins/rspec/bin/spec_translator +8 -0
- data/vendor/plugins/rspec/examples/pure/autogenerated_docstrings_example.rb +19 -0
- data/vendor/plugins/rspec/examples/pure/before_and_after_example.rb +40 -0
- data/vendor/plugins/rspec/examples/pure/behave_as_example.rb +45 -0
- data/vendor/plugins/rspec/examples/pure/custom_expectation_matchers.rb +54 -0
- data/vendor/plugins/rspec/examples/pure/custom_formatter.rb +12 -0
- data/vendor/plugins/rspec/examples/pure/dynamic_spec.rb +9 -0
- data/vendor/plugins/rspec/examples/pure/file_accessor.rb +19 -0
- data/vendor/plugins/rspec/examples/pure/file_accessor_spec.rb +38 -0
- data/vendor/plugins/rspec/examples/pure/greeter_spec.rb +31 -0
- data/vendor/plugins/rspec/examples/pure/helper_method_example.rb +14 -0
- data/vendor/plugins/rspec/examples/pure/io_processor.rb +8 -0
- data/vendor/plugins/rspec/examples/pure/io_processor_spec.rb +21 -0
- data/vendor/plugins/rspec/examples/pure/legacy_spec.rb +11 -0
- data/vendor/plugins/rspec/examples/pure/mocking_example.rb +27 -0
- data/vendor/plugins/rspec/examples/pure/multi_threaded_behaviour_runner.rb +28 -0
- data/vendor/plugins/rspec/examples/pure/nested_classes_example.rb +36 -0
- data/vendor/plugins/rspec/examples/pure/partial_mock_example.rb +28 -0
- data/vendor/plugins/rspec/examples/pure/pending_example.rb +20 -0
- data/vendor/plugins/rspec/examples/pure/predicate_example.rb +27 -0
- data/vendor/plugins/rspec/examples/pure/priority.txt +1 -0
- data/vendor/plugins/rspec/examples/pure/shared_example_group_example.rb +81 -0
- data/vendor/plugins/rspec/examples/pure/shared_stack_examples.rb +38 -0
- data/vendor/plugins/rspec/examples/pure/spec_helper.rb +3 -0
- data/vendor/plugins/rspec/examples/pure/stack.rb +36 -0
- data/vendor/plugins/rspec/examples/pure/stack_spec.rb +63 -0
- data/vendor/plugins/rspec/examples/pure/stack_spec_with_nested_example_groups.rb +67 -0
- data/vendor/plugins/rspec/examples/pure/stubbing_example.rb +69 -0
- data/vendor/plugins/rspec/examples/stories/adder.rb +13 -0
- data/vendor/plugins/rspec/examples/stories/addition +34 -0
- data/vendor/plugins/rspec/examples/stories/addition.rb +9 -0
- data/vendor/plugins/rspec/examples/stories/calculator.rb +65 -0
- data/vendor/plugins/rspec/examples/stories/game-of-life/.loadpath +5 -0
- data/vendor/plugins/rspec/examples/stories/game-of-life/README.txt +21 -0
- data/vendor/plugins/rspec/examples/stories/game-of-life/behaviour/everything.rb +6 -0
- data/vendor/plugins/rspec/examples/stories/game-of-life/behaviour/examples/examples.rb +3 -0
- data/vendor/plugins/rspec/examples/stories/game-of-life/behaviour/examples/game_behaviour.rb +35 -0
- data/vendor/plugins/rspec/examples/stories/game-of-life/behaviour/examples/grid_behaviour.rb +66 -0
- data/vendor/plugins/rspec/examples/stories/game-of-life/behaviour/stories/CellsWithLessThanTwoNeighboursDie.story +21 -0
- data/vendor/plugins/rspec/examples/stories/game-of-life/behaviour/stories/CellsWithMoreThanThreeNeighboursDie.story +21 -0
- data/vendor/plugins/rspec/examples/stories/game-of-life/behaviour/stories/EmptySpacesWithThreeNeighboursCreateACell.story +42 -0
- data/vendor/plugins/rspec/examples/stories/game-of-life/behaviour/stories/ICanCreateACell.story +42 -0
- data/vendor/plugins/rspec/examples/stories/game-of-life/behaviour/stories/ICanKillACell.story +17 -0
- data/vendor/plugins/rspec/examples/stories/game-of-life/behaviour/stories/TheGridWraps.story +53 -0
- data/vendor/plugins/rspec/examples/stories/game-of-life/behaviour/stories/create_a_cell.rb +52 -0
- data/vendor/plugins/rspec/examples/stories/game-of-life/behaviour/stories/helper.rb +6 -0
- data/vendor/plugins/rspec/examples/stories/game-of-life/behaviour/stories/kill_a_cell.rb +26 -0
- data/vendor/plugins/rspec/examples/stories/game-of-life/behaviour/stories/steps.rb +5 -0
- data/vendor/plugins/rspec/examples/stories/game-of-life/behaviour/stories/stories.rb +3 -0
- data/vendor/plugins/rspec/examples/stories/game-of-life/behaviour/stories/stories.txt +22 -0
- data/vendor/plugins/rspec/examples/stories/game-of-life/life.rb +3 -0
- data/vendor/plugins/rspec/examples/stories/game-of-life/life/game.rb +23 -0
- data/vendor/plugins/rspec/examples/stories/game-of-life/life/grid.rb +43 -0
- data/vendor/plugins/rspec/examples/stories/helper.rb +9 -0
- data/vendor/plugins/rspec/examples/stories/steps/addition_steps.rb +18 -0
- data/vendor/plugins/rspec/failing_examples/diffing_spec.rb +36 -0
- data/vendor/plugins/rspec/failing_examples/failing_autogenerated_docstrings_example.rb +19 -0
- data/vendor/plugins/rspec/failing_examples/failure_in_setup.rb +10 -0
- data/vendor/plugins/rspec/failing_examples/failure_in_teardown.rb +10 -0
- data/vendor/plugins/rspec/failing_examples/mocking_example.rb +40 -0
- data/vendor/plugins/rspec/failing_examples/mocking_with_flexmock.rb +26 -0
- data/vendor/plugins/rspec/failing_examples/mocking_with_mocha.rb +25 -0
- data/vendor/plugins/rspec/failing_examples/mocking_with_rr.rb +27 -0
- data/vendor/plugins/rspec/failing_examples/partial_mock_example.rb +20 -0
- data/vendor/plugins/rspec/failing_examples/predicate_example.rb +29 -0
- data/vendor/plugins/rspec/failing_examples/raising_example.rb +47 -0
- data/vendor/plugins/rspec/failing_examples/spec_helper.rb +3 -0
- data/vendor/plugins/rspec/failing_examples/syntax_error_example.rb +7 -0
- data/vendor/plugins/rspec/failing_examples/team_spec.rb +44 -0
- data/vendor/plugins/rspec/failing_examples/timeout_behaviour.rb +7 -0
- data/vendor/plugins/rspec/init.rb +9 -0
- data/vendor/plugins/rspec/lib/autotest/discover.rb +3 -0
- data/vendor/plugins/rspec/lib/autotest/rspec.rb +94 -0
- data/vendor/plugins/rspec/lib/spec.rb +37 -0
- data/vendor/plugins/rspec/lib/spec/example.rb +12 -0
- data/vendor/plugins/rspec/lib/spec/example/configuration.rb +144 -0
- data/vendor/plugins/rspec/lib/spec/example/errors.rb +9 -0
- data/vendor/plugins/rspec/lib/spec/example/example_group.rb +16 -0
- data/vendor/plugins/rspec/lib/spec/example/example_group_factory.rb +62 -0
- data/vendor/plugins/rspec/lib/spec/example/example_group_methods.rb +418 -0
- data/vendor/plugins/rspec/lib/spec/example/example_matcher.rb +42 -0
- data/vendor/plugins/rspec/lib/spec/example/example_methods.rb +102 -0
- data/vendor/plugins/rspec/lib/spec/example/module_reopening_fix.rb +21 -0
- data/vendor/plugins/rspec/lib/spec/example/pending.rb +18 -0
- data/vendor/plugins/rspec/lib/spec/example/shared_example_group.rb +58 -0
- data/vendor/plugins/rspec/lib/spec/expectations.rb +56 -0
- data/vendor/plugins/rspec/lib/spec/expectations/differs/default.rb +66 -0
- data/vendor/plugins/rspec/lib/spec/expectations/errors.rb +12 -0
- data/vendor/plugins/rspec/lib/spec/expectations/extensions.rb +2 -0
- data/vendor/plugins/rspec/lib/spec/expectations/extensions/object.rb +71 -0
- data/vendor/plugins/rspec/lib/spec/expectations/extensions/string_and_symbol.rb +17 -0
- data/vendor/plugins/rspec/lib/spec/expectations/handler.rb +52 -0
- data/vendor/plugins/rspec/lib/spec/extensions.rb +3 -0
- data/vendor/plugins/rspec/lib/spec/extensions/class.rb +24 -0
- data/vendor/plugins/rspec/lib/spec/extensions/main.rb +102 -0
- data/vendor/plugins/rspec/lib/spec/extensions/object.rb +10 -0
- data/vendor/plugins/rspec/lib/spec/interop/test.rb +10 -0
- data/vendor/plugins/rspec/lib/spec/interop/test/unit/autorunner.rb +6 -0
- data/vendor/plugins/rspec/lib/spec/interop/test/unit/testcase.rb +61 -0
- data/vendor/plugins/rspec/lib/spec/interop/test/unit/testresult.rb +6 -0
- data/vendor/plugins/rspec/lib/spec/interop/test/unit/testsuite_adapter.rb +34 -0
- data/vendor/plugins/rspec/lib/spec/interop/test/unit/ui/console/testrunner.rb +60 -0
- data/vendor/plugins/rspec/lib/spec/matchers.rb +156 -0
- data/vendor/plugins/rspec/lib/spec/matchers/be.rb +224 -0
- data/vendor/plugins/rspec/lib/spec/matchers/be_close.rb +37 -0
- data/vendor/plugins/rspec/lib/spec/matchers/change.rb +144 -0
- data/vendor/plugins/rspec/lib/spec/matchers/eql.rb +43 -0
- data/vendor/plugins/rspec/lib/spec/matchers/equal.rb +43 -0
- data/vendor/plugins/rspec/lib/spec/matchers/exist.rb +17 -0
- data/vendor/plugins/rspec/lib/spec/matchers/has.rb +44 -0
- data/vendor/plugins/rspec/lib/spec/matchers/have.rb +142 -0
- data/vendor/plugins/rspec/lib/spec/matchers/include.rb +70 -0
- data/vendor/plugins/rspec/lib/spec/matchers/match.rb +41 -0
- data/vendor/plugins/rspec/lib/spec/matchers/operator_matcher.rb +73 -0
- data/vendor/plugins/rspec/lib/spec/matchers/raise_error.rb +105 -0
- data/vendor/plugins/rspec/lib/spec/matchers/respond_to.rb +45 -0
- data/vendor/plugins/rspec/lib/spec/matchers/satisfy.rb +47 -0
- data/vendor/plugins/rspec/lib/spec/matchers/simple_matcher.rb +29 -0
- data/vendor/plugins/rspec/lib/spec/matchers/throw_symbol.rb +74 -0
- data/vendor/plugins/rspec/lib/spec/mocks.rb +211 -0
- data/vendor/plugins/rspec/lib/spec/mocks/argument_constraint_matchers.rb +27 -0
- data/vendor/plugins/rspec/lib/spec/mocks/argument_expectation.rb +183 -0
- data/vendor/plugins/rspec/lib/spec/mocks/error_generator.rb +84 -0
- data/vendor/plugins/rspec/lib/spec/mocks/errors.rb +10 -0
- data/vendor/plugins/rspec/lib/spec/mocks/extensions/object.rb +3 -0
- data/vendor/plugins/rspec/lib/spec/mocks/message_expectation.rb +267 -0
- data/vendor/plugins/rspec/lib/spec/mocks/methods.rb +39 -0
- data/vendor/plugins/rspec/lib/spec/mocks/mock.rb +50 -0
- data/vendor/plugins/rspec/lib/spec/mocks/order_group.rb +29 -0
- data/vendor/plugins/rspec/lib/spec/mocks/proxy.rb +170 -0
- data/vendor/plugins/rspec/lib/spec/mocks/space.rb +28 -0
- data/vendor/plugins/rspec/lib/spec/mocks/spec_methods.rb +38 -0
- data/vendor/plugins/rspec/lib/spec/rake/spectask.rb +235 -0
- data/vendor/plugins/rspec/lib/spec/rake/verify_rcov.rb +52 -0
- data/vendor/plugins/rspec/lib/spec/runner.rb +188 -0
- data/vendor/plugins/rspec/lib/spec/runner/backtrace_tweaker.rb +57 -0
- data/vendor/plugins/rspec/lib/spec/runner/class_and_arguments_parser.rb +16 -0
- data/vendor/plugins/rspec/lib/spec/runner/command_line.rb +28 -0
- data/vendor/plugins/rspec/lib/spec/runner/drb_command_line.rb +20 -0
- data/vendor/plugins/rspec/lib/spec/runner/example_group_runner.rb +59 -0
- data/vendor/plugins/rspec/lib/spec/runner/formatter/base_formatter.rb +78 -0
- data/vendor/plugins/rspec/lib/spec/runner/formatter/base_text_formatter.rb +130 -0
- data/vendor/plugins/rspec/lib/spec/runner/formatter/failing_example_groups_formatter.rb +31 -0
- data/vendor/plugins/rspec/lib/spec/runner/formatter/failing_examples_formatter.rb +20 -0
- data/vendor/plugins/rspec/lib/spec/runner/formatter/html_formatter.rb +333 -0
- data/vendor/plugins/rspec/lib/spec/runner/formatter/profile_formatter.rb +47 -0
- data/vendor/plugins/rspec/lib/spec/runner/formatter/progress_bar_formatter.rb +30 -0
- data/vendor/plugins/rspec/lib/spec/runner/formatter/snippet_extractor.rb +52 -0
- data/vendor/plugins/rspec/lib/spec/runner/formatter/specdoc_formatter.rb +39 -0
- data/vendor/plugins/rspec/lib/spec/runner/formatter/story/html_formatter.rb +124 -0
- data/vendor/plugins/rspec/lib/spec/runner/formatter/story/plain_text_formatter.rb +126 -0
- data/vendor/plugins/rspec/lib/spec/runner/formatter/text_mate_formatter.rb +16 -0
- data/vendor/plugins/rspec/lib/spec/runner/heckle_runner.rb +72 -0
- data/vendor/plugins/rspec/lib/spec/runner/heckle_runner_unsupported.rb +10 -0
- data/vendor/plugins/rspec/lib/spec/runner/option_parser.rb +229 -0
- data/vendor/plugins/rspec/lib/spec/runner/options.rb +253 -0
- data/vendor/plugins/rspec/lib/spec/runner/reporter.rb +143 -0
- data/vendor/plugins/rspec/lib/spec/runner/spec_parser.rb +53 -0
- data/vendor/plugins/rspec/lib/spec/story.rb +10 -0
- data/vendor/plugins/rspec/lib/spec/story/extensions.rb +1 -0
- data/vendor/plugins/rspec/lib/spec/story/extensions/main.rb +86 -0
- data/vendor/plugins/rspec/lib/spec/story/given_scenario.rb +14 -0
- data/vendor/plugins/rspec/lib/spec/story/runner.rb +58 -0
- data/vendor/plugins/rspec/lib/spec/story/runner/plain_text_story_runner.rb +48 -0
- data/vendor/plugins/rspec/lib/spec/story/runner/scenario_collector.rb +18 -0
- data/vendor/plugins/rspec/lib/spec/story/runner/scenario_runner.rb +46 -0
- data/vendor/plugins/rspec/lib/spec/story/runner/story_mediator.rb +123 -0
- data/vendor/plugins/rspec/lib/spec/story/runner/story_parser.rb +227 -0
- data/vendor/plugins/rspec/lib/spec/story/runner/story_runner.rb +68 -0
- data/vendor/plugins/rspec/lib/spec/story/scenario.rb +14 -0
- data/vendor/plugins/rspec/lib/spec/story/step.rb +48 -0
- data/vendor/plugins/rspec/lib/spec/story/step_group.rb +89 -0
- data/vendor/plugins/rspec/lib/spec/story/step_mother.rb +37 -0
- data/vendor/plugins/rspec/lib/spec/story/story.rb +42 -0
- data/vendor/plugins/rspec/lib/spec/story/world.rb +124 -0
- data/vendor/plugins/rspec/lib/spec/translator.rb +114 -0
- data/vendor/plugins/rspec/lib/spec/version.rb +22 -0
- data/vendor/plugins/rspec/plugins/mock_frameworks/flexmock.rb +23 -0
- data/vendor/plugins/rspec/plugins/mock_frameworks/mocha.rb +19 -0
- data/vendor/plugins/rspec/plugins/mock_frameworks/rr.rb +21 -0
- data/vendor/plugins/rspec/plugins/mock_frameworks/rspec.rb +18 -0
- data/vendor/plugins/rspec/rake_tasks/examples.rake +7 -0
- data/vendor/plugins/rspec/rake_tasks/examples_with_rcov.rake +9 -0
- data/vendor/plugins/rspec/rake_tasks/failing_examples_with_html.rake +9 -0
- data/vendor/plugins/rspec/rake_tasks/verify_rcov.rake +7 -0
- data/vendor/plugins/rspec/spec.opts +6 -0
- data/vendor/plugins/rspec/spec/README.jruby +14 -0
- data/vendor/plugins/rspec/spec/autotest/discover_spec.rb +19 -0
- data/vendor/plugins/rspec/spec/autotest/rspec_spec.rb +264 -0
- data/vendor/plugins/rspec/spec/autotest_helper.rb +5 -0
- data/vendor/plugins/rspec/spec/rspec_suite.rb +7 -0
- data/vendor/plugins/rspec/spec/ruby_forker.rb +13 -0
- data/vendor/plugins/rspec/spec/spec/example/configuration_spec.rb +282 -0
- data/vendor/plugins/rspec/spec/spec/example/example_group_class_definition_spec.rb +48 -0
- data/vendor/plugins/rspec/spec/spec/example/example_group_factory_spec.rb +129 -0
- data/vendor/plugins/rspec/spec/spec/example/example_group_methods_spec.rb +480 -0
- data/vendor/plugins/rspec/spec/spec/example/example_group_spec.rb +711 -0
- data/vendor/plugins/rspec/spec/spec/example/example_matcher_spec.rb +96 -0
- data/vendor/plugins/rspec/spec/spec/example/example_methods_spec.rb +91 -0
- data/vendor/plugins/rspec/spec/spec/example/example_runner_spec.rb +194 -0
- data/vendor/plugins/rspec/spec/spec/example/example_spec.rb +53 -0
- data/vendor/plugins/rspec/spec/spec/example/nested_example_group_spec.rb +59 -0
- data/vendor/plugins/rspec/spec/spec/example/pending_module_spec.rb +31 -0
- data/vendor/plugins/rspec/spec/spec/example/predicate_matcher_spec.rb +21 -0
- data/vendor/plugins/rspec/spec/spec/example/shared_example_group_spec.rb +265 -0
- data/vendor/plugins/rspec/spec/spec/example/subclassing_example_group_spec.rb +25 -0
- data/vendor/plugins/rspec/spec/spec/expectations/differs/default_spec.rb +109 -0
- data/vendor/plugins/rspec/spec/spec/expectations/extensions/object_spec.rb +107 -0
- data/vendor/plugins/rspec/spec/spec/expectations/fail_with_spec.rb +71 -0
- data/vendor/plugins/rspec/spec/spec/extensions/main_spec.rb +76 -0
- data/vendor/plugins/rspec/spec/spec/interop/test/unit/test_unit_spec_helper.rb +14 -0
- data/vendor/plugins/rspec/spec/spec/interop/test/unit/testcase_spec.rb +10 -0
- data/vendor/plugins/rspec/spec/spec/interop/test/unit/testcase_spec_with_test_unit.rb +20 -0
- data/vendor/plugins/rspec/spec/spec/interop/test/unit/testsuite_adapter_spec.rb +9 -0
- data/vendor/plugins/rspec/spec/spec/interop/test/unit/testsuite_adapter_spec_with_test_unit.rb +34 -0
- data/vendor/plugins/rspec/spec/spec/matchers/be_close_spec.rb +39 -0
- data/vendor/plugins/rspec/spec/spec/matchers/be_spec.rb +224 -0
- data/vendor/plugins/rspec/spec/spec/matchers/change_spec.rb +319 -0
- data/vendor/plugins/rspec/spec/spec/matchers/description_generation_spec.rb +153 -0
- data/vendor/plugins/rspec/spec/spec/matchers/eql_spec.rb +28 -0
- data/vendor/plugins/rspec/spec/spec/matchers/equal_spec.rb +28 -0
- data/vendor/plugins/rspec/spec/spec/matchers/exist_spec.rb +57 -0
- data/vendor/plugins/rspec/spec/spec/matchers/handler_spec.rb +129 -0
- data/vendor/plugins/rspec/spec/spec/matchers/has_spec.rb +37 -0
- data/vendor/plugins/rspec/spec/spec/matchers/have_spec.rb +272 -0
- data/vendor/plugins/rspec/spec/spec/matchers/include_spec.rb +45 -0
- data/vendor/plugins/rspec/spec/spec/matchers/match_spec.rb +37 -0
- data/vendor/plugins/rspec/spec/spec/matchers/matcher_methods_spec.rb +78 -0
- data/vendor/plugins/rspec/spec/spec/matchers/mock_constraint_matchers_spec.rb +24 -0
- data/vendor/plugins/rspec/spec/spec/matchers/operator_matcher_spec.rb +158 -0
- data/vendor/plugins/rspec/spec/spec/matchers/raise_error_spec.rb +185 -0
- data/vendor/plugins/rspec/spec/spec/matchers/respond_to_spec.rb +54 -0
- data/vendor/plugins/rspec/spec/spec/matchers/satisfy_spec.rb +36 -0
- data/vendor/plugins/rspec/spec/spec/matchers/simple_matcher_spec.rb +31 -0
- data/vendor/plugins/rspec/spec/spec/matchers/throw_symbol_spec.rb +54 -0
- data/vendor/plugins/rspec/spec/spec/mocks/any_number_of_times_spec.rb +29 -0
- data/vendor/plugins/rspec/spec/spec/mocks/argument_expectation_spec.rb +23 -0
- data/vendor/plugins/rspec/spec/spec/mocks/at_least_spec.rb +97 -0
- data/vendor/plugins/rspec/spec/spec/mocks/at_most_spec.rb +93 -0
- data/vendor/plugins/rspec/spec/spec/mocks/bug_report_10260_spec.rb +8 -0
- data/vendor/plugins/rspec/spec/spec/mocks/bug_report_10263.rb +24 -0
- data/vendor/plugins/rspec/spec/spec/mocks/bug_report_11545_spec.rb +31 -0
- data/vendor/plugins/rspec/spec/spec/mocks/bug_report_15719_spec.rb +30 -0
- data/vendor/plugins/rspec/spec/spec/mocks/bug_report_7611_spec.rb +19 -0
- data/vendor/plugins/rspec/spec/spec/mocks/bug_report_7805_spec.rb +22 -0
- data/vendor/plugins/rspec/spec/spec/mocks/bug_report_8165_spec.rb +31 -0
- data/vendor/plugins/rspec/spec/spec/mocks/bug_report_8302_spec.rb +26 -0
- data/vendor/plugins/rspec/spec/spec/mocks/failing_mock_argument_constraints_spec.rb +115 -0
- data/vendor/plugins/rspec/spec/spec/mocks/mock_ordering_spec.rb +84 -0
- data/vendor/plugins/rspec/spec/spec/mocks/mock_space_spec.rb +54 -0
- data/vendor/plugins/rspec/spec/spec/mocks/mock_spec.rb +475 -0
- data/vendor/plugins/rspec/spec/spec/mocks/multiple_return_value_spec.rb +113 -0
- data/vendor/plugins/rspec/spec/spec/mocks/null_object_mock_spec.rb +40 -0
- data/vendor/plugins/rspec/spec/spec/mocks/once_counts_spec.rb +53 -0
- data/vendor/plugins/rspec/spec/spec/mocks/options_hash_spec.rb +45 -0
- data/vendor/plugins/rspec/spec/spec/mocks/partial_mock_spec.rb +106 -0
- data/vendor/plugins/rspec/spec/spec/mocks/partial_mock_using_mocks_directly_spec.rb +66 -0
- data/vendor/plugins/rspec/spec/spec/mocks/passing_mock_argument_constraints_spec.rb +154 -0
- data/vendor/plugins/rspec/spec/spec/mocks/precise_counts_spec.rb +52 -0
- data/vendor/plugins/rspec/spec/spec/mocks/record_messages_spec.rb +26 -0
- data/vendor/plugins/rspec/spec/spec/mocks/stub_spec.rb +181 -0
- data/vendor/plugins/rspec/spec/spec/mocks/twice_counts_spec.rb +67 -0
- data/vendor/plugins/rspec/spec/spec/package/bin_spec_spec.rb +14 -0
- data/vendor/plugins/rspec/spec/spec/runner/class_and_argument_parser_spec.rb +23 -0
- data/vendor/plugins/rspec/spec/spec/runner/command_line_spec.rb +146 -0
- data/vendor/plugins/rspec/spec/spec/runner/drb_command_line_spec.rb +92 -0
- data/vendor/plugins/rspec/spec/spec/runner/empty_file.txt +0 -0
- data/vendor/plugins/rspec/spec/spec/runner/examples.txt +2 -0
- data/vendor/plugins/rspec/spec/spec/runner/execution_context_spec.rb +31 -0
- data/vendor/plugins/rspec/spec/spec/runner/failed.txt +3 -0
- data/vendor/plugins/rspec/spec/spec/runner/formatter/failing_example_groups_formatter_spec.rb +44 -0
- data/vendor/plugins/rspec/spec/spec/runner/formatter/failing_examples_formatter_spec.rb +33 -0
- data/vendor/plugins/rspec/spec/spec/runner/formatter/html_formatted-1.8.4.html +365 -0
- data/vendor/plugins/rspec/spec/spec/runner/formatter/html_formatted-1.8.5-jruby.html +387 -0
- data/vendor/plugins/rspec/spec/spec/runner/formatter/html_formatted-1.8.5.html +371 -0
- data/vendor/plugins/rspec/spec/spec/runner/formatter/html_formatted-1.8.6.html +365 -0
- data/vendor/plugins/rspec/spec/spec/runner/formatter/html_formatter_spec.rb +66 -0
- data/vendor/plugins/rspec/spec/spec/runner/formatter/profile_formatter_spec.rb +65 -0
- data/vendor/plugins/rspec/spec/spec/runner/formatter/progress_bar_formatter_spec.rb +127 -0
- data/vendor/plugins/rspec/spec/spec/runner/formatter/snippet_extractor_spec.rb +18 -0
- data/vendor/plugins/rspec/spec/spec/runner/formatter/spec_mate_formatter_spec.rb +103 -0
- data/vendor/plugins/rspec/spec/spec/runner/formatter/specdoc_formatter_spec.rb +126 -0
- data/vendor/plugins/rspec/spec/spec/runner/formatter/story/html_formatter_spec.rb +56 -0
- data/vendor/plugins/rspec/spec/spec/runner/formatter/story/plain_text_formatter_spec.rb +330 -0
- data/vendor/plugins/rspec/spec/spec/runner/formatter/text_mate_formatted-1.8.4.html +365 -0
- data/vendor/plugins/rspec/spec/spec/runner/formatter/text_mate_formatted-1.8.6.html +365 -0
- data/vendor/plugins/rspec/spec/spec/runner/heckle_runner_spec.rb +78 -0
- data/vendor/plugins/rspec/spec/spec/runner/heckler_spec.rb +13 -0
- data/vendor/plugins/rspec/spec/spec/runner/noisy_backtrace_tweaker_spec.rb +45 -0
- data/vendor/plugins/rspec/spec/spec/runner/option_parser_spec.rb +377 -0
- data/vendor/plugins/rspec/spec/spec/runner/options_spec.rb +294 -0
- data/vendor/plugins/rspec/spec/spec/runner/output_one_time_fixture.rb +7 -0
- data/vendor/plugins/rspec/spec/spec/runner/output_one_time_fixture_runner.rb +8 -0
- data/vendor/plugins/rspec/spec/spec/runner/output_one_time_spec.rb +16 -0
- data/vendor/plugins/rspec/spec/spec/runner/quiet_backtrace_tweaker_spec.rb +56 -0
- data/vendor/plugins/rspec/spec/spec/runner/reporter_spec.rb +189 -0
- data/vendor/plugins/rspec/spec/spec/runner/spec.opts +2 -0
- data/vendor/plugins/rspec/spec/spec/runner/spec_parser_spec.rb +124 -0
- data/vendor/plugins/rspec/spec/spec/runner/spec_spaced.opts +2 -0
- data/vendor/plugins/rspec/spec/spec/runner_spec.rb +11 -0
- data/vendor/plugins/rspec/spec/spec/spec_classes.rb +126 -0
- data/vendor/plugins/rspec/spec/spec/story/builders.rb +46 -0
- data/vendor/plugins/rspec/spec/spec/story/extensions/main_spec.rb +161 -0
- data/vendor/plugins/rspec/spec/spec/story/extensions_spec.rb +14 -0
- data/vendor/plugins/rspec/spec/spec/story/given_scenario_spec.rb +27 -0
- data/vendor/plugins/rspec/spec/spec/story/runner/plain_text_story_runner_spec.rb +92 -0
- data/vendor/plugins/rspec/spec/spec/story/runner/scenario_collector_spec.rb +27 -0
- data/vendor/plugins/rspec/spec/spec/story/runner/scenario_runner_spec.rb +142 -0
- data/vendor/plugins/rspec/spec/spec/story/runner/story_mediator_spec.rb +133 -0
- data/vendor/plugins/rspec/spec/spec/story/runner/story_parser_spec.rb +384 -0
- data/vendor/plugins/rspec/spec/spec/story/runner/story_runner_spec.rb +256 -0
- data/vendor/plugins/rspec/spec/spec/story/runner_spec.rb +106 -0
- data/vendor/plugins/rspec/spec/spec/story/scenario_spec.rb +20 -0
- data/vendor/plugins/rspec/spec/spec/story/step_group_spec.rb +157 -0
- data/vendor/plugins/rspec/spec/spec/story/step_mother_spec.rb +72 -0
- data/vendor/plugins/rspec/spec/spec/story/step_spec.rb +147 -0
- data/vendor/plugins/rspec/spec/spec/story/story_helper.rb +2 -0
- data/vendor/plugins/rspec/spec/spec/story/story_spec.rb +86 -0
- data/vendor/plugins/rspec/spec/spec/story/world_spec.rb +416 -0
- data/vendor/plugins/rspec/spec/spec/translator_spec.rb +265 -0
- data/vendor/plugins/rspec/spec/spec_helper.rb +103 -0
- data/vendor/plugins/rspec/stories/all.rb +5 -0
- data/vendor/plugins/rspec/stories/example_groups/autogenerated_docstrings +45 -0
- data/vendor/plugins/rspec/stories/example_groups/example_group_with_should_methods +17 -0
- data/vendor/plugins/rspec/stories/example_groups/nested_groups +17 -0
- data/vendor/plugins/rspec/stories/example_groups/output +25 -0
- data/vendor/plugins/rspec/stories/example_groups/stories.rb +7 -0
- data/vendor/plugins/rspec/stories/helper.rb +6 -0
- data/vendor/plugins/rspec/stories/interop/examples_and_tests_together +30 -0
- data/vendor/plugins/rspec/stories/interop/stories.rb +7 -0
- data/vendor/plugins/rspec/stories/interop/test_case_with_should_methods +17 -0
- data/vendor/plugins/rspec/stories/pending_stories/README +3 -0
- data/vendor/plugins/rspec/stories/resources/helpers/cmdline.rb +9 -0
- data/vendor/plugins/rspec/stories/resources/helpers/story_helper.rb +16 -0
- data/vendor/plugins/rspec/stories/resources/matchers/smart_match.rb +37 -0
- data/vendor/plugins/rspec/stories/resources/spec/example_group_with_should_methods.rb +12 -0
- data/vendor/plugins/rspec/stories/resources/spec/simple_spec.rb +8 -0
- data/vendor/plugins/rspec/stories/resources/steps/running_rspec.rb +50 -0
- data/vendor/plugins/rspec/stories/resources/stories/failing_story.rb +15 -0
- data/vendor/plugins/rspec/stories/resources/test/spec_and_test_together.rb +57 -0
- data/vendor/plugins/rspec/stories/resources/test/test_case_with_should_methods.rb +30 -0
- data/vendor/plugins/rspec/story_server/prototype/javascripts/builder.js +136 -0
- data/vendor/plugins/rspec/story_server/prototype/javascripts/controls.js +972 -0
- data/vendor/plugins/rspec/story_server/prototype/javascripts/dragdrop.js +976 -0
- data/vendor/plugins/rspec/story_server/prototype/javascripts/effects.js +1117 -0
- data/vendor/plugins/rspec/story_server/prototype/javascripts/prototype.js +4140 -0
- data/vendor/plugins/rspec/story_server/prototype/javascripts/rspec.js +149 -0
- data/vendor/plugins/rspec/story_server/prototype/javascripts/scriptaculous.js +58 -0
- data/vendor/plugins/rspec/story_server/prototype/javascripts/slider.js +276 -0
- data/vendor/plugins/rspec/story_server/prototype/javascripts/sound.js +55 -0
- data/vendor/plugins/rspec/story_server/prototype/javascripts/unittest.js +568 -0
- data/vendor/plugins/rspec/story_server/prototype/lib/server.rb +24 -0
- data/vendor/plugins/rspec/story_server/prototype/stories.html +176 -0
- data/vendor/plugins/rspec/story_server/prototype/stylesheets/rspec.css +136 -0
- data/vendor/plugins/rspec/story_server/prototype/stylesheets/test.css +90 -0
- data/vendor/plugins/rspec_on_rails/MIT-LICENSE +31 -0
- data/vendor/plugins/rspec_on_rails/README +3 -0
- data/vendor/plugins/rspec_on_rails/Rakefile +9 -0
- data/vendor/plugins/rspec_on_rails/generators/helpers/rails_identifier.rb +16 -0
- data/vendor/plugins/rspec_on_rails/generators/rspec/CHANGES +1 -0
- data/vendor/plugins/rspec_on_rails/generators/rspec/rspec_generator.rb +35 -0
- data/vendor/plugins/rspec_on_rails/generators/rspec/templates/all_stories.rb +4 -0
- data/vendor/plugins/rspec_on_rails/generators/rspec/templates/previous_failures.txt +0 -0
- data/vendor/plugins/rspec_on_rails/generators/rspec/templates/rcov.opts +2 -0
- data/vendor/plugins/rspec_on_rails/generators/rspec/templates/script/spec +4 -0
- data/vendor/plugins/rspec_on_rails/generators/rspec/templates/script/spec_server +102 -0
- data/vendor/plugins/rspec_on_rails/generators/rspec/templates/spec.opts +7 -0
- data/vendor/plugins/rspec_on_rails/generators/rspec/templates/spec_helper.rb +39 -0
- data/vendor/plugins/rspec_on_rails/generators/rspec/templates/stories_helper.rb +3 -0
- data/vendor/plugins/rspec_on_rails/generators/rspec_controller/USAGE +33 -0
- data/vendor/plugins/rspec_on_rails/generators/rspec_controller/rspec_controller_generator.rb +50 -0
- data/vendor/plugins/rspec_on_rails/generators/rspec_controller/templates/controller_spec.rb +25 -0
- data/vendor/plugins/rspec_on_rails/generators/rspec_controller/templates/helper_spec.rb +11 -0
- data/vendor/plugins/rspec_on_rails/generators/rspec_controller/templates/view_spec.rb +12 -0
- data/vendor/plugins/rspec_on_rails/generators/rspec_model/USAGE +18 -0
- data/vendor/plugins/rspec_on_rails/generators/rspec_model/rspec_model_generator.rb +30 -0
- data/vendor/plugins/rspec_on_rails/generators/rspec_model/templates/model_spec.rb +11 -0
- data/vendor/plugins/rspec_on_rails/generators/rspec_scaffold/rspec_scaffold_generator.rb +169 -0
- data/vendor/plugins/rspec_on_rails/generators/rspec_scaffold/templates/controller_spec.rb +313 -0
- data/vendor/plugins/rspec_on_rails/generators/rspec_scaffold/templates/edit_erb_spec.rb +25 -0
- data/vendor/plugins/rspec_on_rails/generators/rspec_scaffold/templates/helper_spec.rb +11 -0
- data/vendor/plugins/rspec_on_rails/generators/rspec_scaffold/templates/index_erb_spec.rb +22 -0
- data/vendor/plugins/rspec_on_rails/generators/rspec_scaffold/templates/new_erb_spec.rb +26 -0
- data/vendor/plugins/rspec_on_rails/generators/rspec_scaffold/templates/routing_spec.rb +61 -0
- data/vendor/plugins/rspec_on_rails/generators/rspec_scaffold/templates/show_erb_spec.rb +22 -0
- data/vendor/plugins/rspec_on_rails/init.rb +9 -0
- data/vendor/plugins/rspec_on_rails/lib/autotest/rails_rspec.rb +81 -0
- data/vendor/plugins/rspec_on_rails/lib/spec/rails.rb +51 -0
- data/vendor/plugins/rspec_on_rails/lib/spec/rails/example.rb +47 -0
- data/vendor/plugins/rspec_on_rails/lib/spec/rails/example/assigns_hash_proxy.rb +42 -0
- data/vendor/plugins/rspec_on_rails/lib/spec/rails/example/controller_example_group.rb +245 -0
- data/vendor/plugins/rspec_on_rails/lib/spec/rails/example/functional_example_group.rb +66 -0
- data/vendor/plugins/rspec_on_rails/lib/spec/rails/example/helper_example_group.rb +82 -0
- data/vendor/plugins/rspec_on_rails/lib/spec/rails/example/ivar_proxy.rb +62 -0
- data/vendor/plugins/rspec_on_rails/lib/spec/rails/example/model_example_group.rb +14 -0
- data/vendor/plugins/rspec_on_rails/lib/spec/rails/example/rails_example_group.rb +60 -0
- data/vendor/plugins/rspec_on_rails/lib/spec/rails/example/render_observer.rb +90 -0
- data/vendor/plugins/rspec_on_rails/lib/spec/rails/example/view_example_group.rb +172 -0
- data/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions.rb +12 -0
- data/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/action_controller/base.rb +14 -0
- data/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/action_controller/rescue.rb +21 -0
- data/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/action_controller/test_response.rb +11 -0
- data/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/action_view/base.rb +27 -0
- data/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/active_record/base.rb +30 -0
- data/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/object.rb +5 -0
- data/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/spec/example/configuration.rb +66 -0
- data/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/spec/matchers/have.rb +21 -0
- data/vendor/plugins/rspec_on_rails/lib/spec/rails/matchers.rb +29 -0
- data/vendor/plugins/rspec_on_rails/lib/spec/rails/matchers/assert_select.rb +130 -0
- data/vendor/plugins/rspec_on_rails/lib/spec/rails/matchers/have_text.rb +55 -0
- data/vendor/plugins/rspec_on_rails/lib/spec/rails/matchers/redirect_to.rb +113 -0
- data/vendor/plugins/rspec_on_rails/lib/spec/rails/matchers/render_template.rb +66 -0
- data/vendor/plugins/rspec_on_rails/lib/spec/rails/story_adapter.rb +71 -0
- data/vendor/plugins/rspec_on_rails/lib/spec/rails/version.rb +23 -0
- data/vendor/plugins/rspec_on_rails/spec/rails/autotest/mappings_spec.rb +39 -0
- data/vendor/plugins/rspec_on_rails/spec/rails/autotest/rails_rspec_spec.rb +8 -0
- data/vendor/plugins/rspec_on_rails/spec/rails/example/assigns_hash_proxy_spec.rb +55 -0
- data/vendor/plugins/rspec_on_rails/spec/rails/example/configuration_spec.rb +83 -0
- data/vendor/plugins/rspec_on_rails/spec/rails/example/controller_isolation_spec.rb +43 -0
- data/vendor/plugins/rspec_on_rails/spec/rails/example/controller_spec_spec.rb +174 -0
- data/vendor/plugins/rspec_on_rails/spec/rails/example/example_group_factory_spec.rb +112 -0
- data/vendor/plugins/rspec_on_rails/spec/rails/example/helper_spec_spec.rb +118 -0
- data/vendor/plugins/rspec_on_rails/spec/rails/example/ivar_proxy_spec.rb +64 -0
- data/vendor/plugins/rspec_on_rails/spec/rails/example/model_spec_spec.rb +18 -0
- data/vendor/plugins/rspec_on_rails/spec/rails/example/shared_behaviour_spec.rb +16 -0
- data/vendor/plugins/rspec_on_rails/spec/rails/example/test_unit_assertion_accessibility_spec.rb +33 -0
- data/vendor/plugins/rspec_on_rails/spec/rails/example/view_spec_spec.rb +249 -0
- data/vendor/plugins/rspec_on_rails/spec/rails/extensions/action_controller_rescue_action_spec.rb +54 -0
- data/vendor/plugins/rspec_on_rails/spec/rails/extensions/action_view_base_spec.rb +37 -0
- data/vendor/plugins/rspec_on_rails/spec/rails/extensions/active_record_spec.rb +14 -0
- data/vendor/plugins/rspec_on_rails/spec/rails/matchers/assert_select_spec.rb +783 -0
- data/vendor/plugins/rspec_on_rails/spec/rails/matchers/description_generation_spec.rb +37 -0
- data/vendor/plugins/rspec_on_rails/spec/rails/matchers/errors_on_spec.rb +13 -0
- data/vendor/plugins/rspec_on_rails/spec/rails/matchers/have_text_spec.rb +62 -0
- data/vendor/plugins/rspec_on_rails/spec/rails/matchers/redirect_to_spec.rb +203 -0
- data/vendor/plugins/rspec_on_rails/spec/rails/matchers/render_spec.rb +86 -0
- data/vendor/plugins/rspec_on_rails/spec/rails/mocks/mock_model_spec.rb +65 -0
- data/vendor/plugins/rspec_on_rails/spec/rails/sample_spec.rb +7 -0
- data/vendor/plugins/rspec_on_rails/spec/rails/spec_server_spec.rb +89 -0
- data/vendor/plugins/rspec_on_rails/spec/rails/spec_spec.rb +11 -0
- data/vendor/plugins/rspec_on_rails/spec/rails_suite.rb +7 -0
- data/vendor/plugins/rspec_on_rails/spec/spec_helper.rb +46 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/controllers/action_view_base_spec_controller.rb +2 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/controllers/controller_spec_controller.rb +48 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/controllers/redirect_spec_controller.rb +59 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/controllers/render_spec_controller.rb +22 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/controllers/rjs_spec_controller.rb +58 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/helpers/explicit_helper.rb +10 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/helpers/more_explicit_helper.rb +5 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/helpers/plugin_application_helper.rb +6 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/helpers/view_spec_helper.rb +13 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/views/controller_spec/_partial.rhtml +0 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/views/controller_spec/action_setting_flash_after_session_reset.rhtml +1 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/views/controller_spec/action_setting_flash_before_session_reset.rhtml +1 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/views/controller_spec/action_setting_the_assigns_hash.rhtml +0 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/views/controller_spec/action_with_errors_in_template.rhtml +1 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/views/controller_spec/action_with_template.rhtml +1 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/views/render_spec/_a_partial.rhtml +0 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/views/render_spec/some_action.js.rjs +1 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/views/render_spec/some_action.rhtml +0 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/views/render_spec/some_action.rjs +1 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/views/rjs_spec/_replacement_partial.rhtml +1 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/views/rjs_spec/hide_div.rjs +1 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/views/rjs_spec/hide_page_element.rjs +1 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/views/rjs_spec/insert_html.rjs +1 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/views/rjs_spec/replace.rjs +1 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/views/rjs_spec/replace_html.rjs +1 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/views/rjs_spec/replace_html_with_partial.rjs +1 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/views/rjs_spec/visual_effect.rjs +1 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/views/rjs_spec/visual_toggle_effect.rjs +1 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/views/tag_spec/no_tags.rhtml +1 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/views/tag_spec/single_div_with_no_attributes.rhtml +1 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/views/tag_spec/single_div_with_one_attribute.rhtml +1 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/_partial.rhtml +2 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/_partial_used_twice.rhtml +0 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/_partial_with_local_variable.rhtml +1 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/_partial_with_sub_partial.rhtml +1 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/_spacer.rhtml +1 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/accessor.rhtml +3 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/entry_form.rhtml +2 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/explicit_helper.rhtml +2 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/foo/show.rhtml +1 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/implicit_helper.rhtml +2 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/multiple_helpers.rhtml +3 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/template_with_partial.rhtml +5 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/template_with_partial_using_collection.rhtml +3 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/template_with_partial_with_array.rhtml +1 -0
- data/vendor/plugins/rspec_on_rails/stories/all.rb +6 -0
- data/vendor/plugins/rspec_on_rails/stories/helper.rb +5 -0
- data/vendor/plugins/rspec_on_rails/stories/steps/people.rb +8 -0
- data/vendor/plugins/rspec_on_rails/stories/transactions_should_rollback +15 -0
- data/vendor/plugins/rspec_on_rails/stories/transactions_should_rollback.rb +25 -0
- data/vendor/plugins/rspec_on_rails/tasks/rspec.rake +135 -0
- data/vendor/plugins/tag_sidebar/views/content.rhtml +1 -1
- metadata +1661 -906
- data/CHANGES-4.1 +0 -83
- data/TODO-4.2 +0 -14
- data/app/models/content_state/base.rb +0 -111
- data/app/models/content_state/draft.rb +0 -32
- data/app/models/content_state/factory.rb +0 -13
- data/app/models/content_state/ham.rb +0 -35
- data/app/models/content_state/just_marked_as_ham.rb +0 -22
- data/app/models/content_state/just_marked_as_spam.rb +0 -27
- data/app/models/content_state/just_presumed_ham.rb +0 -38
- data/app/models/content_state/just_published.rb +0 -47
- data/app/models/content_state/just_withdrawn.rb +0 -11
- data/app/models/content_state/new.rb +0 -37
- data/app/models/content_state/presumed_ham.rb +0 -38
- data/app/models/content_state/presumed_spam.rb +0 -35
- data/app/models/content_state/publication_pending.rb +0 -41
- data/app/models/content_state/published.rb +0 -35
- data/app/models/content_state/spam.rb +0 -27
- data/app/models/content_state/unclassified.rb +0 -38
- data/app/models/content_state/withdrawn.rb +0 -27
- data/app/views/accounts/login.rhtml +0 -28
- data/app/views/accounts/logout.rhtml +0 -12
- data/app/views/accounts/signup.rhtml +0 -26
- data/app/views/admin/categories/_categories.rhtml +0 -18
- data/app/views/admin/categories/list.rhtml +0 -18
- data/app/views/admin/categories/show.rhtml +0 -19
- data/app/views/admin/comments/_form.rhtml +0 -19
- data/app/views/admin/comments/list.rhtml +0 -33
- data/app/views/admin/comments/new.rhtml +0 -17
- data/app/views/admin/content/_articles.rhtml +0 -22
- data/app/views/admin/content/_form.rhtml +0 -77
- data/app/views/admin/content/edit.rhtml +0 -10
- data/app/views/admin/content/list.rhtml +0 -20
- data/app/views/admin/content/new.rhtml +0 -8
- data/app/views/admin/content/preview.rhtml +0 -10
- data/app/views/admin/content/show.rhtml +0 -26
- data/app/views/admin/feedback/_item.rhtml +0 -19
- data/app/views/admin/feedback/list.rhtml +0 -51
- data/app/views/admin/general/index.rhtml +0 -281
- data/app/views/admin/pages/_form.rhtml +0 -37
- data/app/views/admin/pages/_pages.rhtml +0 -19
- data/app/views/admin/pages/list.rhtml +0 -14
- data/app/views/admin/pages/new.rhtml +0 -8
- data/app/views/admin/pages/show.rhtml +0 -14
- data/app/views/admin/resources/_resources.rhtml +0 -40
- data/app/views/admin/resources/list.rhtml +0 -12
- data/app/views/admin/resources/new.rhtml +0 -16
- data/app/views/admin/shared/_edit.rhtml +0 -17
- data/app/views/admin/sidebar/index.rhtml +0 -38
- data/app/views/admin/textfilters/_form.rhtml +0 -53
- data/app/views/admin/textfilters/_macros.rhtml +0 -16
- data/app/views/admin/textfilters/_textfilters.rhtml +0 -20
- data/app/views/admin/textfilters/edit.rhtml +0 -14
- data/app/views/admin/textfilters/list.rhtml +0 -17
- data/app/views/admin/textfilters/macro_help.rhtml +0 -3
- data/app/views/admin/textfilters/new.rhtml +0 -17
- data/app/views/admin/themes/index.rhtml +0 -18
- data/app/views/admin/users/_form.rhtml +0 -48
- data/app/views/admin/users/_user.rhtml +0 -9
- data/app/views/admin/users/edit.rhtml +0 -18
- data/app/views/admin/users/list.rhtml +0 -9
- data/app/views/admin/users/new.rhtml +0 -17
- data/app/views/admin/users/show.rhtml +0 -24
- data/app/views/articles/_comment_box.rhtml +0 -44
- data/app/views/articles/index.rhtml +0 -11
- data/app/views/articles/read.rhtml +0 -70
- data/app/views/layouts/administration.rhtml +0 -73
- data/app/views/notification_mailer/article.rhtml +0 -6
- data/app/views/notification_mailer/comment.rhtml +0 -11
- data/app/views/shared/_search.rhtml +0 -10
- data/app/views/xml/atom10_feed.rxml +0 -18
- data/app/views/xml/itunes_feed.rxml +0 -29
- data/app/views/xml/rss20_feed.rxml +0 -18
- data/lib/sanitize.rb +0 -107
- data/public/images/admin/dot-vertical.gif +0 -0
- data/public/images/admin/h-tile.gif +0 -0
- data/public/images/admin/hdr-tile.gif +0 -0
- data/public/images/admin/toggle.gif +0 -0
- data/public/images/bg.jpg +0 -0
- data/public/images/bgcolor.jpg +0 -0
- data/public/images/body_bg.png +0 -0
- data/public/images/branding_bg.png +0 -0
- data/public/images/branding_logo.png +0 -0
- data/public/images/cancel.png +0 -0
- data/public/images/checked.png +0 -0
- data/public/images/content_bg.png +0 -0
- data/public/images/delete.png +0 -0
- data/public/images/edit.png +0 -0
- data/public/images/footer.jpg +0 -0
- data/public/images/footer.png +0 -0
- data/public/images/global_bg.png +0 -0
- data/public/images/global_logo.png +0 -0
- data/public/images/not-checked copy.gif +0 -0
- data/public/images/not-checked.gif +0 -0
- data/public/images/section_bg.png +0 -0
- data/public/images/sections_bg.png +0 -0
- data/public/images/sections_hilite.png +0 -0
- data/public/images/sections_hover.png +0 -0
- data/public/images/show.png +0 -0
- data/public/images/sitealizer/bar.gif +0 -0
- data/public/images/sitealizer/uv.png +0 -0
- data/public/images/sitealizer/vh.png +0 -0
- data/public/images/spot-header.gif +0 -0
- data/public/images/spot-title.gif +0 -0
- data/public/images/x-ed.gif +0 -0
- data/public/javascripts/tiny_mce/blank.htm +0 -9
- data/public/javascripts/tiny_mce/themes/advanced/css/editor_content.css +0 -58
- data/public/javascripts/tiny_mce/themes/advanced/css/editor_popup.css +0 -331
- data/public/javascripts/tiny_mce/themes/advanced/css/editor_ui.css +0 -97
- data/public/javascripts/tiny_mce/themes/advanced/docs/en/about.htm +0 -31
- data/public/javascripts/tiny_mce/themes/advanced/docs/en/common_buttons.htm +0 -162
- data/public/javascripts/tiny_mce/themes/advanced/docs/en/create_accessible_content.htm +0 -45
- data/public/javascripts/tiny_mce/themes/advanced/docs/en/images/insert_anchor_window.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/docs/en/images/insert_image_window.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/docs/en/images/insert_link_window.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/docs/en/images/insert_table_window.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/docs/en/index.htm +0 -27
- data/public/javascripts/tiny_mce/themes/advanced/docs/en/insert_anchor_button.htm +0 -32
- data/public/javascripts/tiny_mce/themes/advanced/docs/en/insert_image_button.htm +0 -65
- data/public/javascripts/tiny_mce/themes/advanced/docs/en/insert_link_button.htm +0 -33
- data/public/javascripts/tiny_mce/themes/advanced/docs/en/insert_table_button.htm +0 -71
- data/public/javascripts/tiny_mce/themes/advanced/docs/en/style.css +0 -28
- data/public/javascripts/tiny_mce/themes/advanced/images/anchor.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/backcolor.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/bold.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/bold_de_se.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/bold_es.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/bold_fr.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/bold_ru.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/bold_tw.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/browse.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/bullist.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/button_menu.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/buttons.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/cancel_button_bg.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/charmap.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/cleanup.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/close.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/code.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/color.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/copy.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/custom_1.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/cut.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/forecolor.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/help.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/hr.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/image.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/indent.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/insert_button_bg.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/italic.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/italic_de_se.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/italic_es.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/italic_ru.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/italic_tw.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/justifycenter.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/justifyfull.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/justifyleft.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/justifyright.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/link.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/menu_check.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/newdocument.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/numlist.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/opacity.png +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/outdent.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/paste.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/redo.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/removeformat.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/separator.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/statusbar_resize.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/strikethrough.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/sub.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/sup.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/underline.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/underline_es.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/underline_fr.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/underline_ru.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/underline_tw.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/undo.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/unlink.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/visualaid.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/xp/tab_bg.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/xp/tab_end.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/xp/tab_sel_bg.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/xp/tab_sel_end.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/images/xp/tabs_bg.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/jscripts/about.js +0 -75
- data/public/javascripts/tiny_mce/themes/advanced/jscripts/anchor.js +0 -74
- data/public/javascripts/tiny_mce/themes/advanced/jscripts/charmap.js +0 -326
- data/public/javascripts/tiny_mce/themes/advanced/jscripts/color_picker.js +0 -108
- data/public/javascripts/tiny_mce/themes/advanced/jscripts/image.js +0 -81
- data/public/javascripts/tiny_mce/themes/advanced/jscripts/link.js +0 -70
- data/public/javascripts/tiny_mce/themes/advanced/jscripts/source_editor.js +0 -60
- data/spec/fixtures/whiteboards.yml +0 -13
- data/spec/models/audioscrobbler_spec.rb +0 -134
- data/spec/models/content_state_spec.rb +0 -1010
- data/spec/models/delegate_to_content_state_spec.rb +0 -126
- data/spec/models/delicious_spec.rb +0 -101
- data/spec/models/flickr_spec.rb +0 -128
- data/spec/models/page_cache_spec.rb +0 -35
- data/test/mocks/themes/azure/about.markdown +0 -5
- data/test/mocks/themes/azure/layouts/default.rhtml +0 -50
- data/test/mocks/themes/azure/preview.png +0 -0
- data/test/mocks/themes/azure/views/theme/static_view_test.rhtml +0 -1
- data/test/unit/audioscrobbler_test.rb +0 -132
- data/test/unit/content_state/factory_test.rb +0 -88
- data/test/unit/delicious_test.rb +0 -96
- data/test/unit/flickr_test.rb +0 -134
- data/test/unit/fortythree_test.rb +0 -66
- data/test/unit/magnolia_test.rb +0 -87
- data/test/unit/page_cache_test.rb +0 -34
- data/themes/azure/about.markdown +0 -5
- data/themes/azure/images/bg-tile.gif +0 -0
- data/themes/azure/images/bracket.gif +0 -0
- data/themes/azure/images/bullet.gif +0 -0
- data/themes/azure/images/hdr.gif +0 -0
- data/themes/azure/images/q-close.gif +0 -0
- data/themes/azure/images/q-open.gif +0 -0
- data/themes/azure/images/sbar-tile.gif +0 -0
- data/themes/azure/images/xlink.gif +0 -0
- data/themes/azure/layouts/default.rhtml +0 -50
- data/themes/azure/preview.png +0 -0
- data/themes/azure/stylesheets/azure.css +0 -443
- data/themes/azure/stylesheets/print.css +0 -30
- data/themes/azure/views/theme/static_view_test.rhtml +0 -1
- data/themes/scribbish/layouts/default.rhtml +0 -42
- data/themes/scribbish/views/articles/_comment_form.rhtml +0 -52
- data/themes/scribbish/views/articles/_search.rhtml +0 -16
- data/themes/scribbish/views/articles/index.rhtml +0 -5
- data/vendor/plugins/aimpresence_sidebar/Rakefile +0 -22
- data/vendor/plugins/aimpresence_sidebar/init.rb +0 -4
- data/vendor/plugins/aimpresence_sidebar/lib/aimpresence_sidebar.rb +0 -21
- data/vendor/plugins/aimpresence_sidebar/test/aimpresence_sidebar_test.rb +0 -33
- data/vendor/plugins/aimpresence_sidebar/views/content.rhtml +0 -4
- data/vendor/plugins/audioscrobbler_sidebar/MAINTAINERS +0 -26
- data/vendor/plugins/audioscrobbler_sidebar/MIT-LICENSE +0 -21
- data/vendor/plugins/audioscrobbler_sidebar/README +0 -27
- data/vendor/plugins/audioscrobbler_sidebar/Rakefile +0 -22
- data/vendor/plugins/audioscrobbler_sidebar/init.rb +0 -5
- data/vendor/plugins/audioscrobbler_sidebar/lib/audioscrobbler.rb +0 -54
- data/vendor/plugins/audioscrobbler_sidebar/lib/audioscrobbler_sidebar.rb +0 -13
- data/vendor/plugins/audioscrobbler_sidebar/test/audioscrobbler_sidebar_test.rb +0 -8
- data/vendor/plugins/audioscrobbler_sidebar/views/content.rhtml +0 -10
- data/vendor/plugins/backpack_sidebar/MAINTAINERS +0 -26
- data/vendor/plugins/backpack_sidebar/MIT-LICENSE +0 -21
- data/vendor/plugins/backpack_sidebar/README +0 -27
- data/vendor/plugins/backpack_sidebar/Rakefile +0 -22
- data/vendor/plugins/backpack_sidebar/init.rb +0 -5
- data/vendor/plugins/backpack_sidebar/lib/backpack.rb +0 -57
- data/vendor/plugins/backpack_sidebar/lib/backpack_sidebar.rb +0 -20
- data/vendor/plugins/backpack_sidebar/test/backpack_sidebar_test.rb +0 -8
- data/vendor/plugins/backpack_sidebar/views/content.rhtml +0 -12
- data/vendor/plugins/delicious_sidebar/Rakefile +0 -22
- data/vendor/plugins/delicious_sidebar/init.rb +0 -5
- data/vendor/plugins/delicious_sidebar/lib/delicious.rb +0 -57
- data/vendor/plugins/delicious_sidebar/lib/delicious_sidebar.rb +0 -35
- data/vendor/plugins/delicious_sidebar/test/delicious_sidebar_test.rb +0 -8
- data/vendor/plugins/delicious_sidebar/views/content.rhtml +0 -20
- data/vendor/plugins/flickr_sidebar/Rakefile +0 -22
- data/vendor/plugins/flickr_sidebar/init.rb +0 -5
- data/vendor/plugins/flickr_sidebar/lib/flickr.rb +0 -89
- data/vendor/plugins/flickr_sidebar/lib/flickr_sidebar.rb +0 -15
- data/vendor/plugins/flickr_sidebar/test/flickr_sidebar_test.rb +0 -8
- data/vendor/plugins/flickr_sidebar/views/content.rhtml +0 -15
- data/vendor/plugins/fortythree_sidebar/Rakefile +0 -22
- data/vendor/plugins/fortythree_sidebar/init.rb +0 -5
- data/vendor/plugins/fortythree_sidebar/lib/fortythree.rb +0 -62
- data/vendor/plugins/fortythree_sidebar/lib/fortythree_sidebar.rb +0 -13
- data/vendor/plugins/fortythree_sidebar/test/fortythree_sidebar_test.rb +0 -8
- data/vendor/plugins/fortythree_sidebar/views/content.rhtml +0 -8
- data/vendor/plugins/fortythreeplaces_sidebar/Rakefile +0 -22
- data/vendor/plugins/fortythreeplaces_sidebar/init.rb +0 -5
- data/vendor/plugins/fortythreeplaces_sidebar/lib/fortythree.rb +0 -62
- data/vendor/plugins/fortythreeplaces_sidebar/lib/fortythreeplaces_sidebar.rb +0 -13
- data/vendor/plugins/fortythreeplaces_sidebar/test/fortythreeplaces_sidebar_test.rb +0 -8
- data/vendor/plugins/fortythreeplaces_sidebar/views/content.rhtml +0 -8
- data/vendor/plugins/magnolia_sidebar/Rakefile +0 -22
- data/vendor/plugins/magnolia_sidebar/init.rb +0 -5
- data/vendor/plugins/magnolia_sidebar/lib/magnolia_aggregation.rb +0 -81
- data/vendor/plugins/magnolia_sidebar/lib/magnolia_sidebar.rb +0 -16
- data/vendor/plugins/magnolia_sidebar/test/magnolia_sidebar_test.rb +0 -8
- data/vendor/plugins/magnolia_sidebar/views/content.rhtml +0 -12
- data/vendor/plugins/recent_comments_sidebar/Rakefile +0 -22
- data/vendor/plugins/recent_comments_sidebar/init.rb +0 -5
- data/vendor/plugins/recent_comments_sidebar/lib/recent_comments_sidebar.rb +0 -16
- data/vendor/plugins/recent_comments_sidebar/test/recent_comments_sidebar_test.rb +0 -8
- data/vendor/plugins/recent_comments_sidebar/views/content.rhtml +0 -12
- data/vendor/plugins/sitealizer/CHANGELOG +0 -6
- data/vendor/plugins/sitealizer/LICENSE +0 -22
- data/vendor/plugins/sitealizer/README +0 -82
- data/vendor/plugins/sitealizer/Rakefile +0 -22
- data/vendor/plugins/sitealizer/init.rb +0 -24
- data/vendor/plugins/sitealizer/install.rb +0 -22
- data/vendor/plugins/sitealizer/lib/app/assets/images/bar.gif +0 -0
- data/vendor/plugins/sitealizer/lib/app/assets/images/uv.png +0 -0
- data/vendor/plugins/sitealizer/lib/app/assets/images/vh.png +0 -0
- data/vendor/plugins/sitealizer/lib/app/controllers/sitealizer_controller.rb +0 -118
- data/vendor/plugins/sitealizer/lib/app/models/site_tracker.rb +0 -145
- data/vendor/plugins/sitealizer/lib/app/views/layouts/sitealizer.rhtml +0 -66
- data/vendor/plugins/sitealizer/lib/app/views/sitealizer/_browsers.rhtml +0 -23
- data/vendor/plugins/sitealizer/lib/app/views/sitealizer/_daily_stats.rhtml +0 -67
- data/vendor/plugins/sitealizer/lib/app/views/sitealizer/_hosts.rhtml +0 -21
- data/vendor/plugins/sitealizer/lib/app/views/sitealizer/_keywords.rhtml +0 -19
- data/vendor/plugins/sitealizer/lib/app/views/sitealizer/_languages.rhtml +0 -21
- data/vendor/plugins/sitealizer/lib/app/views/sitealizer/_main_frame.rhtml +0 -84
- data/vendor/plugins/sitealizer/lib/app/views/sitealizer/_monthly_hits.rhtml +0 -67
- data/vendor/plugins/sitealizer/lib/app/views/sitealizer/_page_urls.rhtml +0 -20
- data/vendor/plugins/sitealizer/lib/app/views/sitealizer/_platforms.rhtml +0 -21
- data/vendor/plugins/sitealizer/lib/app/views/sitealizer/_referers.rhtml +0 -22
- data/vendor/plugins/sitealizer/lib/app/views/sitealizer/_robots.rhtml +0 -19
- data/vendor/plugins/sitealizer/lib/app/views/sitealizer/_search_engines.rhtml +0 -19
- data/vendor/plugins/sitealizer/lib/app/views/sitealizer/hourly_stats.rhtml +0 -39
- data/vendor/plugins/sitealizer/lib/app/views/sitealizer/index.rhtml +0 -8
- data/vendor/plugins/sitealizer/lib/app/views/sitealizer/login.rhtml +0 -20
- data/vendor/plugins/sitealizer/lib/app/views/sitealizer/menu.rhtml +0 -74
- data/vendor/plugins/sitealizer/lib/app/views/sitealizer/referrer_stats.rhtml +0 -20
- data/vendor/plugins/sitealizer/lib/app/views/sitealizer/search_stats.rhtml +0 -25
- data/vendor/plugins/sitealizer/lib/app/views/sitealizer/summary.rhtml +0 -22
- data/vendor/plugins/sitealizer/lib/app/views/sitealizer/visitor_info.rhtml +0 -30
- data/vendor/plugins/sitealizer/lib/config.yml +0 -18
- data/vendor/plugins/sitealizer/lib/sitealizer.rb +0 -78
- data/vendor/plugins/sitealizer/lib/sitealizer/parser.rb +0 -347
- data/vendor/plugins/sitealizer/lib/tasks/sitealizer.rake +0 -36
- data/vendor/plugins/sitealizer/test/fixtures/sitealizer.yml +0 -89
- data/vendor/plugins/sitealizer/test/sitealizer_controller_test.rb +0 -208
- data/vendor/plugins/sitealizer/test/sitealizer_parser_test.rb +0 -169
- data/vendor/plugins/sitealizer/test/test_helper.rb +0 -7
- data/vendor/plugins/tada_sidebar/MAINTAINERS +0 -26
- data/vendor/plugins/tada_sidebar/MIT-LICENSE +0 -21
- data/vendor/plugins/tada_sidebar/README +0 -27
- data/vendor/plugins/tada_sidebar/Rakefile +0 -22
- data/vendor/plugins/tada_sidebar/init.rb +0 -5
- data/vendor/plugins/tada_sidebar/lib/tada.rb +0 -75
- data/vendor/plugins/tada_sidebar/lib/tada_sidebar.rb +0 -16
- data/vendor/plugins/tada_sidebar/test/tada_sidebar_test.rb +0 -8
- data/vendor/plugins/tada_sidebar/views/content.rhtml +0 -12
- data/vendor/plugins/technorati_sidebar/Rakefile +0 -22
- data/vendor/plugins/technorati_sidebar/init.rb +0 -5
- data/vendor/plugins/technorati_sidebar/lib/technorati.rb +0 -51
- data/vendor/plugins/technorati_sidebar/lib/technorati_sidebar.rb +0 -16
- data/vendor/plugins/technorati_sidebar/test/technorati_sidebar_test.rb +0 -8
- data/vendor/plugins/technorati_sidebar/views/content.rhtml +0 -8
- data/vendor/plugins/upcoming_sidebar/Rakefile +0 -22
- data/vendor/plugins/upcoming_sidebar/init.rb +0 -5
- data/vendor/plugins/upcoming_sidebar/lib/upcoming.rb +0 -74
- data/vendor/plugins/upcoming_sidebar/lib/upcoming_sidebar.rb +0 -15
- data/vendor/plugins/upcoming_sidebar/test/upcoming_sidebar_test.rb +0 -8
- data/vendor/plugins/upcoming_sidebar/views/content.rhtml +0 -8
- data/vendor/plugins/xbox_sidebar/MAINTAINERS +0 -26
- data/vendor/plugins/xbox_sidebar/MIT-LICENSE +0 -21
- data/vendor/plugins/xbox_sidebar/README +0 -27
- data/vendor/plugins/xbox_sidebar/Rakefile +0 -22
- data/vendor/plugins/xbox_sidebar/init.rb +0 -5
- data/vendor/plugins/xbox_sidebar/lib/xbox_sidebar.rb +0 -6
- data/vendor/plugins/xbox_sidebar/test/xbox_sidebar_test.rb +0 -8
- data/vendor/plugins/xbox_sidebar/views/content.rhtml +0 -2
@@ -1,55 +1,55 @@
|
|
1
1
|
require File.dirname(__FILE__) + '/../spec_helper'
|
2
2
|
|
3
|
-
|
3
|
+
describe 'Given a published article' do
|
4
4
|
fixtures :blogs, :contents, :feedback, :users, :text_filters
|
5
5
|
|
6
|
-
|
6
|
+
before(:each) do
|
7
7
|
@article = contents(:article1)
|
8
8
|
end
|
9
9
|
|
10
|
-
|
11
|
-
@article.
|
10
|
+
it "An unchanged article does not invalidate the cache" do
|
11
|
+
@article.should_not be_invalidates_cache
|
12
12
|
end
|
13
13
|
|
14
|
-
|
14
|
+
it 'changing the body smashes the cache' do
|
15
15
|
@article.body = "New Body"
|
16
|
-
@article.
|
16
|
+
@article.should be_invalidates_cache
|
17
17
|
end
|
18
18
|
|
19
|
-
|
19
|
+
it 'withdrawing it smashes the cache' do
|
20
20
|
@article.withdraw!
|
21
|
-
@article.
|
21
|
+
@article.should be_invalidates_cache
|
22
22
|
end
|
23
23
|
|
24
|
-
|
24
|
+
it 'destroying it smashes the cache' do
|
25
25
|
@article.destroy
|
26
|
-
@article.
|
26
|
+
@article.should be_invalidates_cache(true)
|
27
27
|
end
|
28
28
|
|
29
|
-
|
29
|
+
it 'withdrawing, then destroying it smashes the cache' do
|
30
30
|
@article.withdraw
|
31
31
|
@article.destroy
|
32
|
-
@article.
|
32
|
+
@article.should be_invalidates_cache
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
36
|
-
|
36
|
+
describe "Given an unpublished article" do
|
37
37
|
fixtures :blogs, :contents, :feedback, :users, :text_filters
|
38
38
|
|
39
|
-
|
39
|
+
before(:each) { @article = contents(:article4) }
|
40
40
|
|
41
|
-
|
41
|
+
it "publishing smashes the cache" do
|
42
42
|
@article.publish!
|
43
|
-
@article.
|
43
|
+
@article.should be_invalidates_cache
|
44
44
|
end
|
45
45
|
|
46
|
-
|
46
|
+
it "changing it keeps the cache" do
|
47
47
|
@article.body = 'New body'
|
48
|
-
@article.
|
48
|
+
@article.should_not be_invalidates_cache
|
49
49
|
end
|
50
50
|
|
51
|
-
|
51
|
+
it "destroying it keeps the cache" do
|
52
52
|
@article.destroy
|
53
|
-
@article.
|
53
|
+
@article.should_not be_invalidates_cache
|
54
54
|
end
|
55
55
|
end
|
@@ -1,45 +1,45 @@
|
|
1
1
|
require File.dirname(__FILE__) + '/../spec_helper'
|
2
2
|
|
3
|
-
|
3
|
+
describe 'Given the results of Category.find_all_with_article_counters' do
|
4
4
|
fixtures :contents, :categories, :categorizations, :blogs
|
5
5
|
|
6
|
-
|
6
|
+
before(:each) { @cats = Category.find_all_with_article_counters }
|
7
7
|
|
8
|
-
|
8
|
+
it "Categories should be sorted by category.position" do
|
9
9
|
@cats.should == @cats.sort_by { |c| c.position }
|
10
10
|
end
|
11
11
|
|
12
|
-
|
12
|
+
it "Counts should be correct" do
|
13
13
|
@cats.each do |cat|
|
14
14
|
cat.article_counter.should == cat.published_articles.size
|
15
15
|
end
|
16
16
|
end
|
17
17
|
end
|
18
18
|
|
19
|
-
|
19
|
+
describe 'Given the fixtures' do
|
20
20
|
fixtures :contents, :categories, :categorizations, :blogs
|
21
21
|
|
22
|
-
|
22
|
+
it 'find gets the order right' do
|
23
23
|
cats = Category.find(:all)
|
24
24
|
cats.should == cats.sort_by { |c| c.position }
|
25
25
|
Category.reorder(cats.reverse.collect { |c| c.id })
|
26
26
|
Category.find(:all).should == cats.reverse
|
27
27
|
end
|
28
28
|
|
29
|
-
|
29
|
+
it 'can still override order in find' do
|
30
30
|
cats = Category.find(:all, :order => 'name ASC')
|
31
31
|
|
32
32
|
cats.should == cats.sort_by {|c| c.name}
|
33
33
|
Category.find(:all).should_not == cats
|
34
34
|
end
|
35
35
|
|
36
|
-
|
36
|
+
it '.reorder_alpha puts categories in alphabetical order' do
|
37
37
|
Category.find(:all).should_not == Category.find(:all, :order => :name)
|
38
38
|
Category.reorder_alpha
|
39
39
|
Category.find(:all).should == Category.find(:all, :order => :name)
|
40
40
|
end
|
41
41
|
|
42
|
-
|
42
|
+
it 'A category knows its url' do
|
43
43
|
categories(:software).permalink_url.should ==
|
44
44
|
'http://myblog.net/articles/category/software'
|
45
45
|
end
|
@@ -1,108 +1,108 @@
|
|
1
1
|
require File.dirname(__FILE__) + '/../spec_helper'
|
2
2
|
|
3
|
-
|
4
|
-
|
3
|
+
describe 'Given a new blog' do
|
4
|
+
before(:each) { @blog = Blog.new }
|
5
5
|
|
6
6
|
# Must find a better name for this key!
|
7
|
-
|
8
|
-
@blog.
|
7
|
+
it 'Global spam protection is not enabled' do
|
8
|
+
@blog.should_not be_sp_global
|
9
9
|
end
|
10
10
|
|
11
|
-
|
11
|
+
it '#blog_name should be My Shiny Weblog!' do
|
12
12
|
@blog.blog_name.should == 'My Shiny Weblog!'
|
13
13
|
end
|
14
14
|
|
15
|
-
|
15
|
+
it '#blog_subtitle should be ""' do
|
16
16
|
@blog.blog_subtitle.should == ''
|
17
17
|
end
|
18
18
|
|
19
|
-
|
19
|
+
it "#sp_article_auto_close should be 0" do
|
20
20
|
@blog.sp_article_auto_close.should == 0
|
21
21
|
end
|
22
22
|
|
23
|
-
|
24
|
-
@blog.
|
23
|
+
it "#sp_allow_non_ajax_comments should be false" do
|
24
|
+
@blog.should be_sp_allow_non_ajax_comments
|
25
25
|
end
|
26
26
|
|
27
|
-
|
28
|
-
@blog.sp_url_limit.
|
27
|
+
it "#sp_url_limit should be 0" do
|
28
|
+
@blog.sp_url_limit.should == 0
|
29
29
|
end
|
30
30
|
|
31
|
-
|
31
|
+
it "#sp_akismet_key should be blank" do
|
32
32
|
@blog.sp_akismet_key.should == ''
|
33
33
|
end
|
34
34
|
|
35
35
|
# Another icky setting name
|
36
|
-
|
37
|
-
@blog.itunes_explicit.
|
36
|
+
it "#itunes_explicit should be false" do
|
37
|
+
@blog.itunes_explicit.should be_false
|
38
38
|
end
|
39
39
|
|
40
|
-
|
40
|
+
it "Other itunes settings should be blank" do
|
41
41
|
%w{ author subtitle summary owner email name copyright}.each do |setting|
|
42
42
|
@blog.send("itunes_#{setting}").should == ''
|
43
43
|
end
|
44
44
|
end
|
45
45
|
|
46
|
-
|
46
|
+
it '#text_filter and #comment_text_filter should be blank' do
|
47
47
|
@blog.text_filter.should == ''
|
48
48
|
@blog.comment_text_filter.should == ''
|
49
49
|
end
|
50
50
|
|
51
|
-
|
51
|
+
it '#limit_article_display and #limit_rss_display should be 10' do
|
52
52
|
@blog.limit_article_display.should == 10
|
53
53
|
@blog.limit_rss_display.should == 10
|
54
54
|
end
|
55
55
|
|
56
|
-
|
57
|
-
@blog.
|
56
|
+
it 'Pings should not be allowed by default' do
|
57
|
+
@blog.should_not be_default_allow_pings
|
58
58
|
end
|
59
59
|
|
60
|
-
|
61
|
-
@blog.
|
60
|
+
it 'Comments should be allowed by default' do
|
61
|
+
@blog.should be_default_allow_comments
|
62
62
|
end
|
63
63
|
|
64
|
-
|
65
|
-
@blog.
|
64
|
+
it 'Should not link to author' do
|
65
|
+
@blog.should_not be_link_to_author
|
66
66
|
end
|
67
67
|
|
68
|
-
|
69
|
-
@blog.
|
68
|
+
it 'Should show extended on rss' do
|
69
|
+
@blog.should be_show_extended_on_rss
|
70
70
|
end
|
71
71
|
|
72
|
-
|
73
|
-
@blog.theme.should == '
|
72
|
+
it '#theme should be "standard_issue"' do
|
73
|
+
@blog.theme.should == 'standard_issue'
|
74
74
|
end
|
75
75
|
|
76
|
-
|
77
|
-
@blog.
|
76
|
+
it 'should not use gravatar' do
|
77
|
+
@blog.should_not be_use_gravatar
|
78
78
|
end
|
79
79
|
|
80
80
|
# Another clumsy setting name
|
81
|
-
|
81
|
+
it '#global_pings_disable should be false' do
|
82
82
|
@blog.global_pings_disable.should == false
|
83
|
-
@blog.
|
83
|
+
@blog.should_not be_global_pings_disable
|
84
84
|
end
|
85
85
|
|
86
|
-
|
86
|
+
it 'should ping technorati, blog.gs and weblogs.com' do
|
87
87
|
@blog.ping_urls.should == "http://rpc.technorati.com/rpc/ping\nhttp://ping.blo.gs/\nhttp://rpc.weblogs.com/RPC2"
|
88
88
|
end
|
89
89
|
|
90
|
-
|
91
|
-
@blog.
|
90
|
+
it 'should send outbound pings' do
|
91
|
+
@blog.should be_send_outbound_pings
|
92
92
|
end
|
93
93
|
|
94
|
-
|
94
|
+
it '#email_from should be typo@example.com' do
|
95
95
|
@blog.email_from.should == 'typo@example.com'
|
96
96
|
end
|
97
97
|
|
98
|
-
|
99
|
-
@blog.jabber_address.
|
100
|
-
@blog.jabber_password.
|
98
|
+
it 'Jabber address and password should be blank' do
|
99
|
+
@blog.jabber_address.should be_blank
|
100
|
+
@blog.jabber_password.should be_blank
|
101
101
|
end
|
102
102
|
|
103
|
-
|
104
|
-
@blog.
|
103
|
+
it '#is_okay should be false until #blog_name is explicitly set' do
|
104
|
+
@blog.should_not be_configured
|
105
105
|
@blog.blog_name = 'Specific blog name'
|
106
|
-
@blog.
|
106
|
+
@blog.should be_configured
|
107
107
|
end
|
108
108
|
end
|
@@ -3,7 +3,7 @@ require RAILS_ROOT + '/vendor/plugins/expiring_action_cache/lib/metafragment'
|
|
3
3
|
|
4
4
|
class FragmentCacheTest
|
5
5
|
include MetaFragmentCache
|
6
|
-
include ActionController::Caching
|
6
|
+
include ActionController::Caching::Fragments
|
7
7
|
|
8
8
|
def self.benchmark(foo)
|
9
9
|
yield
|
@@ -14,10 +14,10 @@ class FragmentCacheTest
|
|
14
14
|
end
|
15
15
|
end
|
16
16
|
|
17
|
-
|
18
|
-
|
17
|
+
describe 'Just porting metafragment_test without necessarily understanding it' do
|
18
|
+
before(:each) { @cache = FragmentCacheTest.new }
|
19
19
|
|
20
|
-
|
20
|
+
it 'port of test_read_write' do
|
21
21
|
data = "BLAHBLAHBLAH"
|
22
22
|
meta = {:foo => :bar}
|
23
23
|
|
@@ -27,16 +27,16 @@ context 'Just porting metafragment_test without necessarily understanding it' do
|
|
27
27
|
newmeta.should == meta
|
28
28
|
end
|
29
29
|
|
30
|
-
|
30
|
+
it 'a port of test_expire_string' do
|
31
31
|
@cache.write_meta_fragment("TEST_EXPIRE", {:foo => :bar}, "foo")
|
32
32
|
@cache.expire_meta_fragment("TEST_EXPIRE")
|
33
33
|
meta, data = @cache.read_meta_fragment("TEST_EXPIRE")
|
34
34
|
|
35
|
-
data.
|
35
|
+
data.should be_nil
|
36
36
|
meta.should == { }
|
37
37
|
end
|
38
38
|
|
39
|
-
|
39
|
+
it 'test_expire_regex' do
|
40
40
|
@cache.write_meta_fragment("TEST_EXPIRE_1", {:a => :b}, "foo")
|
41
41
|
@cache.write_meta_fragment("TEST_EXPIRE_2", {:c => :d}, "bar")
|
42
42
|
@cache.write_meta_fragment("TEST_3", {:e => :f}, "zzz")
|
@@ -48,7 +48,7 @@ context 'Just porting metafragment_test without necessarily understanding it' do
|
|
48
48
|
@cache.read_meta_fragment('TEST_3').should == [{:e => :f}, 'zzz']
|
49
49
|
end
|
50
50
|
|
51
|
-
|
51
|
+
it 'test_read_expires' do
|
52
52
|
key = "TEST_READ_EXPIRES"
|
53
53
|
data = "blahblah"
|
54
54
|
meta = {:foo => 'bar', :expires => Time.now + 120} # Expire in 2 minutes
|
data/spec/models/page_spec.rb
CHANGED
@@ -1,25 +1,27 @@
|
|
1
1
|
require File.dirname(__FILE__) + '/../spec_helper'
|
2
2
|
|
3
|
-
|
3
|
+
describe 'Given the fixture :first_page' do
|
4
4
|
fixtures :contents, :blogs
|
5
5
|
|
6
|
-
|
6
|
+
before(:each) do
|
7
|
+
@page = contents(:first_page)
|
8
|
+
end
|
7
9
|
|
8
|
-
|
10
|
+
it '#permalink_url should be: http://myblog.net/pages/page_one' do
|
9
11
|
@page.permalink_url.should == 'http://myblog.net/pages/page_one'
|
10
12
|
end
|
11
13
|
|
12
|
-
|
14
|
+
it '#edit_url should be: http://myblog.net/admin/pages/edit/9' do
|
13
15
|
@page.edit_url.should == 'http://myblog.net/admin/pages/edit/9'
|
14
16
|
end
|
15
17
|
|
16
|
-
|
18
|
+
it '#delete_url should work too' do
|
17
19
|
@page.delete_url.should == 'http://myblog.net/admin/pages/destroy/9'
|
18
20
|
end
|
19
21
|
|
20
|
-
|
21
|
-
Page.new(:name => @page.name, :body => @page.body, :title => @page.title).
|
22
|
-
Page.new(:name => @page.name, :body => 'body', :title => 'title').
|
22
|
+
it 'Pages cannot have the same name' do
|
23
|
+
Page.new(:name => @page.name, :body => @page.body, :title => @page.title).should_not be_valid
|
24
|
+
Page.new(:name => @page.name, :body => 'body', :title => 'title').should_not be_valid
|
23
25
|
end
|
24
26
|
end
|
25
27
|
|
@@ -33,56 +35,62 @@ class Hash
|
|
33
35
|
end
|
34
36
|
end
|
35
37
|
|
36
|
-
|
38
|
+
describe "ValidPageHelper", :shared => true do
|
37
39
|
def valid_attributes
|
38
40
|
{ :name => 'name', :title => 'title', :body => 'body'}
|
39
41
|
end
|
40
42
|
end
|
41
43
|
|
42
|
-
|
43
|
-
|
44
|
+
describe 'Given no pages' do
|
45
|
+
it_should_behave_like "ValidPageHelper"
|
44
46
|
|
45
|
-
|
47
|
+
before(:each) { @page = Page.new }
|
46
48
|
|
47
|
-
|
48
|
-
@page.
|
49
|
+
it 'An empty page is invalid' do
|
50
|
+
@page.should_not be_valid
|
49
51
|
end
|
50
52
|
|
51
|
-
|
53
|
+
it 'A page is valid with name, title and body' do
|
52
54
|
@page.attributes = valid_attributes
|
53
|
-
@page.
|
55
|
+
@page.should be_valid
|
54
56
|
end
|
55
57
|
|
56
|
-
|
58
|
+
it 'A page is invalid without a name' do
|
57
59
|
@page.attributes = valid_attributes.except(:name)
|
58
|
-
@page.
|
60
|
+
@page.should_not be_valid
|
59
61
|
@page.errors.on(:name).should == "can't be blank"
|
60
62
|
@page.name = 'somename'
|
61
|
-
@page.
|
63
|
+
@page.should be_valid
|
62
64
|
end
|
63
65
|
|
64
|
-
|
66
|
+
it 'A page is invalid without a title' do
|
65
67
|
@page.attributes = valid_attributes.except(:title)
|
66
|
-
@page.
|
68
|
+
@page.should_not be_valid
|
67
69
|
@page.errors.on(:title).should == "can't be blank"
|
68
70
|
@page.title = 'sometitle'
|
69
|
-
@page.
|
71
|
+
@page.should be_valid
|
70
72
|
end
|
71
73
|
|
72
|
-
|
74
|
+
it 'A page is invalid without a body' do
|
73
75
|
@page.attributes = valid_attributes.except(:body)
|
74
|
-
@page.
|
76
|
+
@page.should_not be_valid
|
75
77
|
@page.errors.on(:body).should == "can't be blank"
|
76
78
|
@page.body = 'somebody'
|
77
|
-
@page.
|
79
|
+
@page.should be_valid
|
78
80
|
end
|
79
81
|
end
|
80
82
|
|
81
|
-
|
82
|
-
|
83
|
-
|
83
|
+
describe 'Given a valid page' do
|
84
|
+
it_should_behave_like "ValidPageHelper"
|
85
|
+
|
86
|
+
it 'default filter should be fetched from the blog' do
|
87
|
+
blog = mock_model(Blog)
|
88
|
+
Blog.stub!(:find).and_return(blog)
|
89
|
+
textfilter = mock_model(TextFilter)
|
90
|
+
textfilter.stub!(:to_text_filter).and_return(textfilter)
|
84
91
|
|
85
|
-
|
86
|
-
@page.
|
92
|
+
blog.should_receive(:text_filter).and_return(textfilter)
|
93
|
+
@page = Page.new(valid_attributes.merge(:blog => blog))
|
94
|
+
@page.default_text_filter.should == textfilter
|
87
95
|
end
|
88
96
|
end
|