Skip to content

Instantly share code, notes, and snippets.

@isaac
Created December 4, 2008 01:07
Show Gist options
  • Save isaac/31800 to your computer and use it in GitHub Desktop.
Save isaac/31800 to your computer and use it in GitHub Desktop.
isaac:~/src/mephisto isaac$ rake
(in /Users/isaac/src/mephisto)
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -Ilib:test "/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake/rake_test_loader.rb" "test/unit/absolute_url_test.rb" "test/unit/article_drop_test.rb" "test/unit/article_test.rb" "test/unit/asset_drop_test.rb" "test/unit/asset_test.rb" "test/unit/assigned_asset_test.rb" "test/unit/assigned_section_test.rb" "test/unit/attachment_test.rb" "test/unit/cached_page_test.rb" "test/unit/comment_drop_test.rb" "test/unit/comment_test.rb" "test/unit/core_filters_test.rb" "test/unit/dispatcher_test.rb" "test/unit/drop_filters_test.rb" "test/unit/event_test.rb" "test/unit/liquid_test.rb" "test/unit/membership_test.rb" "test/unit/plugin_test.rb" "test/unit/redirections_test.rb" "test/unit/resource_test.rb" "test/unit/section_drop_test.rb" "test/unit/section_test.rb" "test/unit/site_drop_test.rb" "test/unit/site_permalink_test.rb" "test/unit/site_template_test.rb" "test/unit/site_test.rb" "test/unit/tagging_test.rb" "test/unit/template_test.rb" "test/unit/theme_test.rb" "test/unit/time_test.rb" "test/unit/url_filters_test.rb" "test/unit/user_mailer_test.rb" "test/unit/user_test.rb"
Loaded suite /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake/rake_test_loader
Started
.............................................................................................................................................................................................................................................................................................................................................................................................................
Finished in 4.557922 seconds.
397 tests, 982 assertions, 0 failures, 0 errors
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -Ilib:test "/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake/rake_test_loader.rb" "test/functional/account_controller_test.rb" "test/functional/admin/admin_nav_test.rb" "test/functional/admin/articles_controller_assets_test.rb" "test/functional/admin/articles_controller_permissions_test.rb" "test/functional/admin/articles_controller_preview_test.rb" "test/functional/admin/articles_controller_test.rb" "test/functional/admin/articles_helper_test.rb" "test/functional/admin/assets_controller_permissions_test.rb" "test/functional/admin/assets_controller_test.rb" "test/functional/admin/assets_controller_upload_test.rb" "test/functional/admin/comments_controller_test.rb" "test/functional/admin/design_controller_test.rb" "test/functional/admin/overview_controller_test.rb" "test/functional/admin/plugins_controller_test.rb" "test/functional/admin/resources_controller_test.rb" "test/functional/admin/sections_controller_test.rb" "test/functional/admin/settings_controller_test.rb" "test/functional/admin/sites_controller_test.rb" "test/functional/admin/templates_controller_test.rb" "test/functional/admin/themes_controller_test.rb" "test/functional/admin/users_controller_test.rb" "test/functional/application_controller_test.rb" "test/functional/application_helper_test.rb" "test/functional/assets_controller_test.rb" "test/functional/feed_controller_test.rb" "test/functional/mephisto_controller_redirections_test.rb" "test/functional/mephisto_controller_test.rb"
Loaded suite /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake/rake_test_loader
Started
...................................F...........................................................................................................................................................................................................................................EFF............F.FF........
Finished in 20.651141 seconds.
1) Failure:
test_should_show_monthly_entries(MephistoControllerTest)
[./test/functional/admin/../../test_helper.rb:278:in `assert_models_equal'
./test/functional/mephisto_controller_test.rb:383:in `test_should_show_monthly_entries'
/Users/isaac/src/mephisto/vendor/plugins/mocha/lib/mocha/test_case_adapter.rb:19:in `__send__'
/Users/isaac/src/mephisto/vendor/plugins/mocha/lib/mocha/test_case_adapter.rb:19:in `run']:
<["<Article:1>", "<Article:2>"]> expected but was
<["<Article:2>"]>.
2) Error:
test_spec {Admin Articles Controller Assets} 008 [should add asset to article](Admin Articles Controller Assets):
ActiveRecord::RecordNotFound: Couldn't find Asset with ID=4
/Library/Ruby/Gems/1.8/gems/activerecord-2.0.5/lib/active_record/base.rb:1281:in `find_one'
/Library/Ruby/Gems/1.8/gems/activerecord-2.0.5/lib/active_record/base.rb:1264:in `find_from_ids'
/Library/Ruby/Gems/1.8/gems/activerecord-2.0.5/lib/active_record/base.rb:503:in `find'
/Library/Ruby/Gems/1.8/gems/activerecord-2.0.5/lib/active_record/fixtures.rb:815:in `find'
/Library/Ruby/Gems/1.8/gems/activerecord-2.0.5/lib/active_record/fixtures.rb:901:in `assets'
/Library/Ruby/Gems/1.8/gems/activerecord-2.0.5/lib/active_record/fixtures.rb:897:in `map'
/Library/Ruby/Gems/1.8/gems/activerecord-2.0.5/lib/active_record/fixtures.rb:897:in `assets'
./test/functional/admin/articles_controller_assets_test.rb:101:in `test_spec {Admin Articles Controller Assets} 008 [should add asset to article]'
./test/functional/admin/../../test_helper.rb:217:in `assert_difference'
./test/functional/admin/articles_controller_assets_test.rb:100:in `test_spec {Admin Articles Controller Assets} 008 [should add asset to article]'
/Users/isaac/src/mephisto/vendor/plugins/mocha/lib/mocha/test_case_adapter.rb:19:in `__send__'
/Users/isaac/src/mephisto/vendor/plugins/mocha/lib/mocha/test_case_adapter.rb:19:in `run'
3) Failure:
test_spec {Admin Articles Controller Assets} 009 [should add inactive asset to article](Admin Articles Controller Assets)
[./test/functional/admin/../../test_helper.rb:278:in `assert_models_equal'
./test/functional/admin/articles_controller_assets_test.rb:112:in `test_spec {Admin Articles Controller Assets} 009 [should add inactive asset to article]'
/Users/isaac/src/mephisto/vendor/plugins/mocha/lib/mocha/test_case_adapter.rb:19:in `__send__'
/Users/isaac/src/mephisto/vendor/plugins/mocha/lib/mocha/test_case_adapter.rb:19:in `run']:
<["<Asset:1>", "<Asset:3>", "<Asset:2>"]> expected but was
<["<Asset:1>", "<Asset:3>"]>.
4) Failure:
test_spec {Admin Articles Controller Assets} 010 [should find deactivate article assets](Admin Articles Controller Assets)
[./test/functional/admin/../../test_helper.rb:278:in `assert_models_equal'
./test/functional/admin/articles_controller_assets_test.rb:121:in `test_spec {Admin Articles Controller Assets} 010 [should find deactivate article assets]'
/Users/isaac/src/mephisto/vendor/plugins/mocha/lib/mocha/test_case_adapter.rb:19:in `__send__'
/Users/isaac/src/mephisto/vendor/plugins/mocha/lib/mocha/test_case_adapter.rb:19:in `run']:
<["<Asset:1>"]> expected but was
<["<Asset:1>", "<Asset:3>"]>.
5) Failure:
test_spec {About Section Feed} 003 [should show correct links](About Section Feed)
[./test/functional/feed_controller_test.rb:84:in `test_spec {About Section Feed} 003 [should show correct links]'
/Library/Ruby/Gems/1.8/gems/actionpack-2.0.5/lib/action_controller/assertions/selector_assertions.rb:304:in `assert_select'
./test/functional/feed_controller_test.rb:82:in `test_spec {About Section Feed} 003 [should show correct links]'
/Users/isaac/src/mephisto/vendor/plugins/mocha/lib/mocha/test_case_adapter.rb:19:in `__send__'
/Users/isaac/src/mephisto/vendor/plugins/mocha/lib/mocha/test_case_adapter.rb:19:in `run']:
<"/assets/2008/12/4/logo_thumb.png"> expected to be =~
</asset\.mp3$/>.
6) Failure:
test_spec {Home Section Feed} 002 [should show correct links](Home Section Feed)
[./test/functional/feed_controller_test.rb:115:in `test_spec {Home Section Feed} 002 [should show correct links]'
/Library/Ruby/Gems/1.8/gems/actionpack-2.0.5/lib/action_controller/assertions/selector_assertions.rb:304:in `assert_select'
./test/functional/feed_controller_test.rb:113:in `test_spec {Home Section Feed} 002 [should show correct links]'
/Users/isaac/src/mephisto/vendor/plugins/mocha/lib/mocha/test_case_adapter.rb:19:in `__send__'
/Users/isaac/src/mephisto/vendor/plugins/mocha/lib/mocha/test_case_adapter.rb:19:in `run']:
<"/assets/2008/12/4/logo_thumb.png"> expected to be =~
</asset\.mp3$/>.
7) Failure:
test_spec {Home Section Feed} 003 [should show podcast](Home Section Feed)
[/Library/Ruby/Gems/1.8/gems/actionpack-2.0.5/lib/action_controller/assertions/selector_assertions.rb:296:in `assert_select'
./test/functional/feed_controller_test.rb:123:in `test_spec {Home Section Feed} 003 [should show podcast]'
/Users/isaac/src/mephisto/vendor/plugins/mocha/lib/mocha/test_case_adapter.rb:19:in `__send__'
/Users/isaac/src/mephisto/vendor/plugins/mocha/lib/mocha/test_case_adapter.rb:19:in `run']:
Expected at least 1 element matching "feed > entry > link[rel='enclosure'][length='252366'][type='audio/mpeg']", found 0.
<false> is not true.
298 tests, 920 assertions, 6 failures, 1 errors
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -Ilib:test "/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake/rake_test_loader.rb" "test/integration/caching_test.rb"
Loaded suite /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake/rake_test_loader
Started
............................
Finished in 5.389338 seconds.
28 tests, 262 assertions, 0 failures, 0 errors
Errors running test:functionals!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment