Skip to content

Instantly share code, notes, and snippets.

@isaac
Created December 4, 2008 04:09
Show Gist options
  • Save isaac/31837 to your computer and use it in GitHub Desktop.
Save isaac/31837 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.687015 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
..........................................................................................................................................................................................................................................................................................................
Finished in 22.939685 seconds.
298 tests, 925 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/integration/caching_test.rb"
Loaded suite /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake/rake_test_loader
Started
............................
Finished in 9.69911 seconds.
28 tests, 262 assertions, 0 failures, 0 errors
.............F...................
1)
'Membership finds site members' FAILED
expected: [#<User id: 16, login: "default_user", email: "aric.smith@kautzergoyette.name", crypted_password: "00742970dc9e6319f8019fd54864d3ea740f04b1", salt: "7e3041ebc2fc05a40c60028e2c4901a81035d3cd", activation_code: nil, activated_at: nil, created_at: "2008-12-04 04:03:50", updated_at: "2008-12-04 04:03:50", deleted_at: nil, token: "quentintoken", token_expires_at: nil, filter: "textile_filter", admin: true>, #<User id: 17, login: "non_admin", email: "alysson@wittingcorwin.biz", crypted_password: "00742970dc9e6319f8019fd54864d3ea740f04b1", salt: "7e3041ebc2fc05a40c60028e2c4901a81035d3cd", activation_code: nil, activated_at: nil, created_at: "2008-12-04 04:03:50", updated_at: "2008-12-04 04:03:50", deleted_at: nil, token: "quentintoken", token_expires_at: nil, filter: "textile_filter", admin: false>],
got: [#<User id: 16, login: "default_user", email: "aric.smith@kautzergoyette.name", crypted_password: "00742970dc9e6319f8019fd54864d3ea740f04b1", salt: "7e3041ebc2fc05a40c60028e2c4901a81035d3cd", activation_code: nil, activated_at: nil, created_at: "2008-12-04 04:03:50", updated_at: "2008-12-04 04:03:50", deleted_at: nil, token: "quentintoken", token_expires_at: nil, filter: "textile_filter", admin: true>, #<User id: 18, login: "deleted_user", email: "greg@lesch.us", crypted_password: "00742970dc9e6319f8019fd54864d3ea740f04b1", salt: "7e3041ebc2fc05a40c60028e2c4901a81035d3cd", activation_code: nil, activated_at: nil, created_at: "2008-12-04 04:03:50", updated_at: "2008-12-04 04:03:50", deleted_at: "2008-12-04 16:58:50", token: "quentintoken", token_expires_at: nil, filter: "textile_filter", admin: false>, #<User id: 17, login: "non_admin", email: "alysson@wittingcorwin.biz", crypted_password: "00742970dc9e6319f8019fd54864d3ea740f04b1", salt: "7e3041ebc2fc05a40c60028e2c4901a81035d3cd", activation_code: nil, activated_at: nil, created_at: "2008-12-04 04:03:50", updated_at: "2008-12-04 04:03:50", deleted_at: nil, token: "quentintoken", token_expires_at: nil, filter: "textile_filter", admin: false>] (using ==)
/Users/isaac/src/mephisto/vendor/plugins/rspec/lib/spec/expectations.rb:52:in `fail_with'
/Users/isaac/src/mephisto/vendor/plugins/rspec/lib/spec/matchers/operator_matcher.rb:46:in `fail_with_message'
/Users/isaac/src/mephisto/vendor/plugins/rspec/lib/spec/matchers/operator_matcher.rb:56:in `__delegate_method_missing_to_target'
/Users/isaac/src/mephisto/vendor/plugins/rspec/lib/spec/matchers/operator_matcher.rb:12:in `=='
./spec/models/membership_spec.rb:37:
/Users/isaac/src/mephisto/vendor/plugins/rspec/lib/spec/example/example.rb:17:in `instance_eval'
/Users/isaac/src/mephisto/vendor/plugins/rspec/lib/spec/example/example.rb:17:in `run_in'
/Users/isaac/src/mephisto/vendor/plugins/rspec/lib/spec/example/example_methods.rb:17:in `run'
/Users/isaac/src/mephisto/vendor/plugins/rspec/lib/spec/extensions/test/unit/example_group.rb:29:in `run'
/Users/isaac/src/mephisto/vendor/plugins/rspec/lib/spec/example/example_runner.rb:57:in `run_example'
/Users/isaac/src/mephisto/vendor/plugins/rspec/lib/spec/example/example_runner.rb:23:in `run'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/timeout.rb:48:in `timeout'
/Users/isaac/src/mephisto/vendor/plugins/rspec/lib/spec/example/example_runner.rb:21:in `run'
/Users/isaac/src/mephisto/vendor/plugins/rspec/lib/spec/example/example_suite.rb:28:in `rspec_run'
/Users/isaac/src/mephisto/vendor/plugins/rspec/lib/spec/example/example_suite.rb:24:in `each'
/Users/isaac/src/mephisto/vendor/plugins/rspec/lib/spec/example/example_suite.rb:24:in `rspec_run'
/Users/isaac/src/mephisto/vendor/plugins/rspec/lib/spec/extensions/test/unit/example_suite.rb:7:in `run'
/Users/isaac/src/mephisto/vendor/plugins/rspec/lib/spec/runner/example_group_runner.rb:22:in `run'
/Users/isaac/src/mephisto/vendor/plugins/rspec/lib/spec/runner/example_group_runner.rb:21:in `each'
/Users/isaac/src/mephisto/vendor/plugins/rspec/lib/spec/runner/example_group_runner.rb:21:in `run'
/Users/isaac/src/mephisto/vendor/plugins/rspec/lib/spec/runner/options.rb:85:in `run_examples'
/Users/isaac/src/mephisto/vendor/plugins/rspec/lib/spec/runner/command_line.rb:19:in `run'
/Users/isaac/src/mephisto/vendor/plugins/rspec/bin/spec:3:
Finished in 3.525428 seconds
33 examples, 1 failure
rake aborted!
Command ruby -I"/Users/isaac/src/mephisto/vendor/plugins/rspec/lib" "/Users/isaac/src/mephisto/vendor/plugins/rspec/bin/spec" "spec/controllers/plugin_routing_spec.rb" "spec/filters/absolute_url_spec.rb" "spec/models/comment_spec.rb" "spec/models/membership_spec.rb" "spec/models/plugin_spec.rb" "spec/models/site_spec.rb" "spec/models/tag_spec.rb" --options "/Users/isaac/src/mephisto/spec/spec.opts" failed
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment