Skip to content

Instantly share code, notes, and snippets.

@ngw
Created July 1, 2010 18:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ngw/460402 to your computer and use it in GitHub Desktop.
Save ngw/460402 to your computer and use it in GitHub Desktop.
--- Active Support Version: 2.3.8 ---
Loaded suite /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F.F........FF.....FF...............FF.....FF.......................
Finished in 87.523017 seconds.
1) Failure:
test: Saving a new document that is invalid should populate document's errors. (ValidationsTest)
[/opt/local/lib/ruby/gems/1.8/gems/jnunemaker-matchy-0.4.0/lib/matchy/built_in/operator_expectations.rb:30:in `fail!'
/opt/local/lib/ruby/gems/1.8/gems/jnunemaker-matchy-0.4.0/lib/matchy/built_in/operator_expectations.rb:20:in `=='
./test/functional/test_validations.rb:21:in `__bind_1278010607_65030'
/opt/local/lib/ruby/gems/1.8/gems/shoulda-2.10.3/lib/shoulda/context.rb:362:in `call'
/opt/local/lib/ruby/gems/1.8/gems/shoulda-2.10.3/lib/shoulda/context.rb:362:in `test: Saving a new document that is invalid should populate document's errors. '
/opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `__send__'
/opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `run'
/opt/local/lib/ruby/gems/1.8/gems/test-unit-1.2.3/lib/test/unit/ui/testrunnermediator.rb:46:in `run_suite'
/opt/local/lib/ruby/gems/1.8/gems/test-unit-1.2.3/lib/test/unit/ui/console/testrunner.rb:67:in `start_mediator'
/opt/local/lib/ruby/gems/1.8/gems/test-unit-1.2.3/lib/test/unit/ui/console/testrunner.rb:41:in `start']:
Expected ["Name can't be blank"] to == ["Name can't be empty"].
2) Failure:
test: Saving an existing document that is invalid should populate document's errors. (ValidationsTest)
[/opt/local/lib/ruby/gems/1.8/gems/jnunemaker-matchy-0.4.0/lib/matchy/built_in/operator_expectations.rb:30:in `fail!'
/opt/local/lib/ruby/gems/1.8/gems/jnunemaker-matchy-0.4.0/lib/matchy/built_in/operator_expectations.rb:20:in `=='
./test/functional/test_validations.rb:73:in `__bind_1278010607_83166'
/opt/local/lib/ruby/gems/1.8/gems/shoulda-2.10.3/lib/shoulda/context.rb:362:in `call'
/opt/local/lib/ruby/gems/1.8/gems/shoulda-2.10.3/lib/shoulda/context.rb:362:in `test: Saving an existing document that is invalid should populate document's errors. '
/opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `__send__'
/opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `run'
/opt/local/lib/ruby/gems/1.8/gems/test-unit-1.2.3/lib/test/unit/ui/testrunnermediator.rb:46:in `run_suite'
/opt/local/lib/ruby/gems/1.8/gems/test-unit-1.2.3/lib/test/unit/ui/console/testrunner.rb:67:in `start_mediator'
/opt/local/lib/ruby/gems/1.8/gems/test-unit-1.2.3/lib/test/unit/ui/console/testrunner.rb:41:in `start']:
Expected ["Name can't be blank"] to == ["Name can't be empty"].
3) Failure:
test: Validations On an EmbeddedDocument validating exclusion of should work with :not_in shortcut on key definition. (ValidationsTest)
[/opt/local/lib/ruby/gems/1.8/gems/jnunemaker-matchy-0.4.0/lib/matchy/matcher_builder.rb:38:in `fail!'
/opt/local/lib/ruby/gems/1.8/gems/jnunemaker-matchy-0.4.0/lib/matchy/expectation_builder.rb:6:in `build_expectation'
/opt/local/lib/ruby/gems/1.8/gems/jnunemaker-matchy-0.4.0/lib/matchy/modals.rb:12:in `should'
./test/unit/test_validations.rb:447:in `__bind_1278010607_131203'
/opt/local/lib/ruby/gems/1.8/gems/shoulda-2.10.3/lib/shoulda/context.rb:362:in `call'
/opt/local/lib/ruby/gems/1.8/gems/shoulda-2.10.3/lib/shoulda/context.rb:362:in `test: Validations On an EmbeddedDocument validating exclusion of should work with :not_in shortcut on key definition. '
/opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `__send__'
/opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `run'
/opt/local/lib/ruby/gems/1.8/gems/test-unit-1.2.3/lib/test/unit/ui/testrunnermediator.rb:46:in `run_suite'
/opt/local/lib/ruby/gems/1.8/gems/test-unit-1.2.3/lib/test/unit/ui/console/testrunner.rb:67:in `start_mediator'
/opt/local/lib/ruby/gems/1.8/gems/test-unit-1.2.3/lib/test/unit/ui/console/testrunner.rb:41:in `start']:
Expected error on action to be "is reserved" but was "is excluded".
4) Failure:
test: Validations On an EmbeddedDocument validating exclusion of should work with validates_exclusion_of macro. (ValidationsTest)
[/opt/local/lib/ruby/gems/1.8/gems/jnunemaker-matchy-0.4.0/lib/matchy/matcher_builder.rb:38:in `fail!'
/opt/local/lib/ruby/gems/1.8/gems/jnunemaker-matchy-0.4.0/lib/matchy/expectation_builder.rb:6:in `build_expectation'
/opt/local/lib/ruby/gems/1.8/gems/jnunemaker-matchy-0.4.0/lib/matchy/modals.rb:12:in `should'
./test/unit/test_validations.rb:434:in `__bind_1278010607_138456'
/opt/local/lib/ruby/gems/1.8/gems/shoulda-2.10.3/lib/shoulda/context.rb:362:in `call'
/opt/local/lib/ruby/gems/1.8/gems/shoulda-2.10.3/lib/shoulda/context.rb:362:in `test: Validations On an EmbeddedDocument validating exclusion of should work with validates_exclusion_of macro. '
/opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `__send__'
/opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `run'
/opt/local/lib/ruby/gems/1.8/gems/test-unit-1.2.3/lib/test/unit/ui/testrunnermediator.rb:46:in `run_suite'
/opt/local/lib/ruby/gems/1.8/gems/test-unit-1.2.3/lib/test/unit/ui/console/testrunner.rb:67:in `start_mediator'
/opt/local/lib/ruby/gems/1.8/gems/test-unit-1.2.3/lib/test/unit/ui/console/testrunner.rb:41:in `start']:
Expected error on action to be "is reserved" but was "is excluded".
5) Failure:
test: Validations On an EmbeddedDocument validating inclusion of should work with :in shortcut on key definition. (ValidationsTest)
[/opt/local/lib/ruby/gems/1.8/gems/jnunemaker-matchy-0.4.0/lib/matchy/matcher_builder.rb:38:in `fail!'
/opt/local/lib/ruby/gems/1.8/gems/jnunemaker-matchy-0.4.0/lib/matchy/expectation_builder.rb:6:in `build_expectation'
/opt/local/lib/ruby/gems/1.8/gems/jnunemaker-matchy-0.4.0/lib/matchy/modals.rb:12:in `should'
./test/unit/test_validations.rb:493:in `__bind_1278010607_168432'
/opt/local/lib/ruby/gems/1.8/gems/shoulda-2.10.3/lib/shoulda/context.rb:362:in `call'
/opt/local/lib/ruby/gems/1.8/gems/shoulda-2.10.3/lib/shoulda/context.rb:362:in `test: Validations On an EmbeddedDocument validating inclusion of should work with :in shortcut on key definition. '
/opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `__send__'
/opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `run'
/opt/local/lib/ruby/gems/1.8/gems/test-unit-1.2.3/lib/test/unit/ui/testrunnermediator.rb:46:in `run_suite'
/opt/local/lib/ruby/gems/1.8/gems/test-unit-1.2.3/lib/test/unit/ui/console/testrunner.rb:67:in `start_mediator'
/opt/local/lib/ruby/gems/1.8/gems/test-unit-1.2.3/lib/test/unit/ui/console/testrunner.rb:41:in `start']:
Expected error on action to be "is not in the list" but was "is not included".
6) Failure:
test: Validations On an EmbeddedDocument validating inclusion of should work with validates_inclusion_of macro. (ValidationsTest)
[/opt/local/lib/ruby/gems/1.8/gems/jnunemaker-matchy-0.4.0/lib/matchy/matcher_builder.rb:38:in `fail!'
/opt/local/lib/ruby/gems/1.8/gems/jnunemaker-matchy-0.4.0/lib/matchy/expectation_builder.rb:6:in `build_expectation'
/opt/local/lib/ruby/gems/1.8/gems/jnunemaker-matchy-0.4.0/lib/matchy/modals.rb:12:in `should'
./test/unit/test_validations.rb:480:in `__bind_1278010607_172772'
/opt/local/lib/ruby/gems/1.8/gems/shoulda-2.10.3/lib/shoulda/context.rb:362:in `call'
/opt/local/lib/ruby/gems/1.8/gems/shoulda-2.10.3/lib/shoulda/context.rb:362:in `test: Validations On an EmbeddedDocument validating inclusion of should work with validates_inclusion_of macro. '
/opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `__send__'
/opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `run'
/opt/local/lib/ruby/gems/1.8/gems/test-unit-1.2.3/lib/test/unit/ui/testrunnermediator.rb:46:in `run_suite'
/opt/local/lib/ruby/gems/1.8/gems/test-unit-1.2.3/lib/test/unit/ui/console/testrunner.rb:67:in `start_mediator'
/opt/local/lib/ruby/gems/1.8/gems/test-unit-1.2.3/lib/test/unit/ui/console/testrunner.rb:41:in `start']:
Expected error on action to be "is not in the list" but was "is not included".
7) Failure:
test: Validations on a Document validating exclusion of should work with :not_in shortcut on key definition. (ValidationsTest)
[/opt/local/lib/ruby/gems/1.8/gems/jnunemaker-matchy-0.4.0/lib/matchy/matcher_builder.rb:38:in `fail!'
/opt/local/lib/ruby/gems/1.8/gems/jnunemaker-matchy-0.4.0/lib/matchy/expectation_builder.rb:6:in `build_expectation'
/opt/local/lib/ruby/gems/1.8/gems/jnunemaker-matchy-0.4.0/lib/matchy/modals.rb:12:in `should'
./test/unit/test_validations.rb:189:in `__bind_1278010607_600364'
/opt/local/lib/ruby/gems/1.8/gems/shoulda-2.10.3/lib/shoulda/context.rb:362:in `call'
/opt/local/lib/ruby/gems/1.8/gems/shoulda-2.10.3/lib/shoulda/context.rb:362:in `test: Validations on a Document validating exclusion of should work with :not_in shortcut on key definition. '
/opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `__send__'
/opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `run'
/opt/local/lib/ruby/gems/1.8/gems/test-unit-1.2.3/lib/test/unit/ui/testrunnermediator.rb:46:in `run_suite'
/opt/local/lib/ruby/gems/1.8/gems/test-unit-1.2.3/lib/test/unit/ui/console/testrunner.rb:67:in `start_mediator'
/opt/local/lib/ruby/gems/1.8/gems/test-unit-1.2.3/lib/test/unit/ui/console/testrunner.rb:41:in `start']:
Expected error on action to be "is reserved" but was "is excluded".
8) Failure:
test: Validations on a Document validating exclusion of should work with validates_exclusion_of macro. (ValidationsTest)
[/opt/local/lib/ruby/gems/1.8/gems/jnunemaker-matchy-0.4.0/lib/matchy/matcher_builder.rb:38:in `fail!'
/opt/local/lib/ruby/gems/1.8/gems/jnunemaker-matchy-0.4.0/lib/matchy/expectation_builder.rb:6:in `build_expectation'
/opt/local/lib/ruby/gems/1.8/gems/jnunemaker-matchy-0.4.0/lib/matchy/modals.rb:12:in `should'
./test/unit/test_validations.rb:176:in `__bind_1278010607_607765'
/opt/local/lib/ruby/gems/1.8/gems/shoulda-2.10.3/lib/shoulda/context.rb:362:in `call'
/opt/local/lib/ruby/gems/1.8/gems/shoulda-2.10.3/lib/shoulda/context.rb:362:in `test: Validations on a Document validating exclusion of should work with validates_exclusion_of macro. '
/opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `__send__'
/opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `run'
/opt/local/lib/ruby/gems/1.8/gems/test-unit-1.2.3/lib/test/unit/ui/testrunnermediator.rb:46:in `run_suite'
/opt/local/lib/ruby/gems/1.8/gems/test-unit-1.2.3/lib/test/unit/ui/console/testrunner.rb:67:in `start_mediator'
/opt/local/lib/ruby/gems/1.8/gems/test-unit-1.2.3/lib/test/unit/ui/console/testrunner.rb:41:in `start']:
Expected error on action to be "is reserved" but was "is excluded".
9) Failure:
test: Validations on a Document validating inclusion of should work with :in shortcut on key definition. (ValidationsTest)
[/opt/local/lib/ruby/gems/1.8/gems/jnunemaker-matchy-0.4.0/lib/matchy/matcher_builder.rb:38:in `fail!'
/opt/local/lib/ruby/gems/1.8/gems/jnunemaker-matchy-0.4.0/lib/matchy/expectation_builder.rb:6:in `build_expectation'
/opt/local/lib/ruby/gems/1.8/gems/jnunemaker-matchy-0.4.0/lib/matchy/modals.rb:12:in `should'
./test/unit/test_validations.rb:235:in `__bind_1278010607_641756'
/opt/local/lib/ruby/gems/1.8/gems/shoulda-2.10.3/lib/shoulda/context.rb:362:in `call'
/opt/local/lib/ruby/gems/1.8/gems/shoulda-2.10.3/lib/shoulda/context.rb:362:in `test: Validations on a Document validating inclusion of should work with :in shortcut on key definition. '
/opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `__send__'
/opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `run'
/opt/local/lib/ruby/gems/1.8/gems/test-unit-1.2.3/lib/test/unit/ui/testrunnermediator.rb:46:in `run_suite'
/opt/local/lib/ruby/gems/1.8/gems/test-unit-1.2.3/lib/test/unit/ui/console/testrunner.rb:67:in `start_mediator'
/opt/local/lib/ruby/gems/1.8/gems/test-unit-1.2.3/lib/test/unit/ui/console/testrunner.rb:41:in `start']:
Expected error on action to be "is not in the list" but was "is not included".
10) Failure:
test: Validations on a Document validating inclusion of should work with validates_inclusion_of macro. (ValidationsTest)
[/opt/local/lib/ruby/gems/1.8/gems/jnunemaker-matchy-0.4.0/lib/matchy/matcher_builder.rb:38:in `fail!'
/opt/local/lib/ruby/gems/1.8/gems/jnunemaker-matchy-0.4.0/lib/matchy/expectation_builder.rb:6:in `build_expectation'
/opt/local/lib/ruby/gems/1.8/gems/jnunemaker-matchy-0.4.0/lib/matchy/modals.rb:12:in `should'
./test/unit/test_validations.rb:222:in `__bind_1278010607_646624'
/opt/local/lib/ruby/gems/1.8/gems/shoulda-2.10.3/lib/shoulda/context.rb:362:in `call'
/opt/local/lib/ruby/gems/1.8/gems/shoulda-2.10.3/lib/shoulda/context.rb:362:in `test: Validations on a Document validating inclusion of should work with validates_inclusion_of macro. '
/opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `__send__'
/opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `run'
/opt/local/lib/ruby/gems/1.8/gems/test-unit-1.2.3/lib/test/unit/ui/testrunnermediator.rb:46:in `run_suite'
/opt/local/lib/ruby/gems/1.8/gems/test-unit-1.2.3/lib/test/unit/ui/console/testrunner.rb:67:in `start_mediator'
/opt/local/lib/ruby/gems/1.8/gems/test-unit-1.2.3/lib/test/unit/ui/console/testrunner.rb:41:in `start']:
Expected error on action to be "is not in the list" but was "is not included".
1081 tests, 895 assertions, 10 failures, 0 errors
rake aborted!
Command failed with status (1): [/opt/local/bin/ruby -I"lib:lib:test" "/opt...]
(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [ACTIVE_SUPPORT_VERSION="<= 2.3.8" rake tes...]
/Users/ngw/mongomapper/Rakefile:22
(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