Skip to content

Instantly share code, notes, and snippets.

@joliss
Created January 11, 2011 13:39
Show Gist options
  • Save joliss/774413 to your computer and use it in GitHub Desktop.
Save joliss/774413 to your computer and use it in GitHub Desktop.
devise: Output of "rake"
(in /home/jo/src/devise)
(in /home/jo/src/devise)
/usr/bin/ruby1.9.1 -I"lib:lib:test" "/var/lib/gems/1.9.1/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/models_test.rb" "test/routes_test.rb" "test/devise_test.rb" "test/generators/install_generator_test.rb" "test/generators/views_generator_test.rb" "test/generators/mongoid_generator_test.rb" "test/generators/active_record_generator_test.rb" "test/mailers/confirmation_instructions_test.rb" "test/mailers/unlock_instructions_test.rb" "test/mailers/reset_password_instructions_test.rb" "test/failure_app_test.rb" "test/omniauth/url_helpers_test.rb" "test/models/validatable_test.rb" "test/models/rememberable_test.rb" "test/models/confirmable_test.rb" "test/models/lockable_test.rb" "test/models/database_authenticatable_test.rb" "test/models/recoverable_test.rb" "test/models/encryptable_test.rb" "test/models/trackable_test.rb" "test/models/timeoutable_test.rb" "test/models/token_authenticatable_test.rb" "test/encryptors_test.rb" "test/test_helpers_test.rb" "test/integration/authenticatable_test.rb" "test/integration/rememberable_test.rb" "test/integration/confirmable_test.rb" "test/integration/registerable_test.rb" "test/integration/lockable_test.rb" "test/integration/database_authenticatable_test.rb" "test/integration/recoverable_test.rb" "test/integration/http_authenticatable_test.rb" "test/integration/trackable_test.rb" "test/integration/omniauthable_test.rb" "test/integration/timeoutable_test.rb" "test/integration/token_authenticatable_test.rb" "test/mapping_test.rb" "test/controllers/url_helpers_test.rb" "test/controllers/internal_helpers_test.rb" "test/controllers/helpers_test.rb"
==> Devise.orm = :active_record
[DEVISE] You are using sha512 as encryptor. From version 1.2, you need to explicitly add `devise :encryptable, :encryptor => :sha512` to your models and comment the current value in the config/initializers/devise.rb. You must also add t.encryptable to your existing migrations.
Loaded suite /var/lib/gems/1.9.1/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Finished in 43.577843 seconds.
494 tests, 1197 assertions, 0 failures, 0 errors, 0 skips
Test run options: --seed 48361
(in /home/jo/src/devise)
/usr/bin/ruby1.9.1 -I"lib:lib:test" "/var/lib/gems/1.9.1/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/models_test.rb" "test/routes_test.rb" "test/devise_test.rb" "test/generators/install_generator_test.rb" "test/generators/views_generator_test.rb" "test/generators/mongoid_generator_test.rb" "test/generators/active_record_generator_test.rb" "test/mailers/confirmation_instructions_test.rb" "test/mailers/unlock_instructions_test.rb" "test/mailers/reset_password_instructions_test.rb" "test/failure_app_test.rb" "test/omniauth/url_helpers_test.rb" "test/models/validatable_test.rb" "test/models/rememberable_test.rb" "test/models/confirmable_test.rb" "test/models/lockable_test.rb" "test/models/database_authenticatable_test.rb" "test/models/recoverable_test.rb" "test/models/encryptable_test.rb" "test/models/trackable_test.rb" "test/models/timeoutable_test.rb" "test/models/token_authenticatable_test.rb" "test/encryptors_test.rb" "test/test_helpers_test.rb" "test/integration/authenticatable_test.rb" "test/integration/rememberable_test.rb" "test/integration/confirmable_test.rb" "test/integration/registerable_test.rb" "test/integration/lockable_test.rb" "test/integration/database_authenticatable_test.rb" "test/integration/recoverable_test.rb" "test/integration/http_authenticatable_test.rb" "test/integration/trackable_test.rb" "test/integration/omniauthable_test.rb" "test/integration/timeoutable_test.rb" "test/integration/token_authenticatable_test.rb" "test/mapping_test.rb" "test/controllers/url_helpers_test.rb" "test/controllers/internal_helpers_test.rb" "test/controllers/helpers_test.rb"
==> Devise.orm = :mongoid
[DEVISE] You are using sha512 as encryptor. From version 1.2, you need to explicitly add `devise :encryptable, :encryptor => :sha512` to your models and comment the current value in the config/initializers/devise.rb. You must also add t.encryptable to your existing migrations.
Mongoid config not found. Create a config file at: config/mongoid.yml
to generate one run: rails generate mongoid:config
Loaded suite /var/lib/gems/1.9.1/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
.......................................................................................................................................................................................................................................................................................................................................................................................................................................................E....................................................
Finished in 40.393244 seconds.
1) Error:
test_should_return_nil_when_authenticating_an_invalid_user_by_authentication_token(TokenAuthenticatableTest):
NoMethodError: You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.reverse
test/models/token_authenticatable_test.rb:33:in `block in <class:TokenAuthenticatableTest>'
/var/lib/gems/1.9.1/gems/mocha-0.9.9/lib/mocha/integration/mini_test/version_142_and_above.rb:27:in `run'
/var/lib/gems/1.9.1/gems/activesupport-3.0.3/lib/active_support/testing/setup_and_teardown.rb:35:in `block in run'
/var/lib/gems/1.9.1/gems/activesupport-3.0.3/lib/active_support/callbacks.rb:418:in `_run_setup_callbacks'
/var/lib/gems/1.9.1/gems/activesupport-3.0.3/lib/active_support/testing/setup_and_teardown.rb:34:in `run'
492 tests, 1189 assertions, 0 failures, 1 errors, 0 skips
Test run options: --seed 9457
rake aborted!
Command failed with status (1): [/usr/bin/ruby1.9.1 -I"lib:lib:test" "/var/...]
(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