Created
September 17, 2008 22:50
-
-
Save qrush/11320 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
qrush@q-mini ~/D/r/sparkplug> rake spec:models | |
(in /Users/qrush/Dev/rails/sparkplug) | |
...................................................................... | |
Finished in 0.777263 seconds | |
70 examples, 0 failures | |
qrush@q-mini ~/D/r/sparkplug> rake spec:controllers | |
(in /Users/qrush/Dev/rails/sparkplug) | |
................................................................................................................................................................................................................................... | |
Finished in 2.099699 seconds | |
227 examples, 0 failures | |
qrush@q-mini ~/D/r/sparkplug> script/spec spec/controllers spec/models | |
......................................................................................................................................................................................................................................................................................................... | |
Finished in 2.680923 seconds | |
297 examples, 0 failures | |
qrush@q-mini ~/D/r/sparkplug> script/spec spec/views spec/models | |
.......................................................................... | |
Finished in 0.812934 seconds | |
74 examples, 0 failures | |
qrush@q-mini ~/D/r/sparkplug> script/spec spec/views spec/models spec/controllers | |
............................................................................................................................................................................................................................................................................................................. | |
Finished in 2.714624 seconds | |
301 examples, 0 failures | |
qrush@q-mini ~/D/r/sparkplug> rake spec --trace | |
(in /Users/qrush/Dev/rails/sparkplug) | |
** Invoke spec (first_time) | |
** Invoke db:test:prepare (first_time) | |
** Invoke db:abort_if_pending_migrations (first_time) | |
** Invoke environment (first_time) | |
** Execute environment | |
** Execute db:abort_if_pending_migrations | |
** Execute db:test:prepare | |
** Invoke db:test:load (first_time) | |
** Invoke db:test:purge (first_time) | |
** Invoke environment | |
** Execute db:test:purge | |
** Execute db:test:load | |
** Invoke db:schema:load (first_time) | |
** Invoke environment | |
** Execute db:schema:load | |
** Execute spec | |
............................................................................................................................................................................................................................................................................................................................................FF | |
1) | |
ActiveRecord::RecordInvalid in 'Post should create a new instance given valid attributes' | |
Validation failed: | |
/Library/Ruby/Gems/1.8/gems/activerecord-2.1.1/lib/active_record/validations.rb:923:in `save_without_dirty!' | |
/Library/Ruby/Gems/1.8/gems/activerecord-2.1.1/lib/active_record/dirty.rb:83:in `save_without_transactions!' | |
/Library/Ruby/Gems/1.8/gems/activerecord-2.1.1/lib/active_record/transactions.rb:110:in `save!' | |
/Library/Ruby/Gems/1.8/gems/activerecord-2.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:66:in `transaction' | |
/Library/Ruby/Gems/1.8/gems/activerecord-2.1.1/lib/active_record/transactions.rb:79:in `transaction' | |
/Library/Ruby/Gems/1.8/gems/activerecord-2.1.1/lib/active_record/transactions.rb:98:in `transaction' | |
/Library/Ruby/Gems/1.8/gems/activerecord-2.1.1/lib/active_record/transactions.rb:110:in `save!' | |
/Library/Ruby/Gems/1.8/gems/activerecord-2.1.1/lib/active_record/transactions.rb:118:in `rollback_active_record_state!' | |
/Library/Ruby/Gems/1.8/gems/activerecord-2.1.1/lib/active_record/transactions.rb:110:in `save!' | |
/Library/Ruby/Gems/1.8/gems/activerecord-2.1.1/lib/active_record/validations.rb:892:in `create!' | |
./spec/models/post_spec.rb:14: | |
2) | |
ActiveRecord::RecordInvalid in 'Page should create a new instance given valid attributes' | |
Validation failed: | |
/Library/Ruby/Gems/1.8/gems/activerecord-2.1.1/lib/active_record/validations.rb:923:in `save_without_dirty!' | |
/Library/Ruby/Gems/1.8/gems/activerecord-2.1.1/lib/active_record/dirty.rb:83:in `save_without_transactions!' | |
/Library/Ruby/Gems/1.8/gems/activerecord-2.1.1/lib/active_record/transactions.rb:110:in `save!' | |
/Library/Ruby/Gems/1.8/gems/activerecord-2.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:66:in `transaction' | |
/Library/Ruby/Gems/1.8/gems/activerecord-2.1.1/lib/active_record/transactions.rb:79:in `transaction' | |
/Library/Ruby/Gems/1.8/gems/activerecord-2.1.1/lib/active_record/transactions.rb:98:in `transaction' | |
/Library/Ruby/Gems/1.8/gems/activerecord-2.1.1/lib/active_record/transactions.rb:110:in `save!' | |
/Library/Ruby/Gems/1.8/gems/activerecord-2.1.1/lib/active_record/transactions.rb:118:in `rollback_active_record_state!' | |
/Library/Ruby/Gems/1.8/gems/activerecord-2.1.1/lib/active_record/transactions.rb:110:in `save!' | |
/Library/Ruby/Gems/1.8/gems/activerecord-2.1.1/lib/active_record/validations.rb:892:in `create!' | |
./spec/models/page_spec.rb:13: | |
Finished in 2.959353 seconds | |
334 examples, 2 failures | |
rake aborted! | |
Command /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -I"/Users/qrush/Dev/rails/sparkplug/vendor/plugins/rspec/lib" "/Users/qrush/Dev/rails/sparkplug/vendor/plugins/rspec/bin/spec" "spec/controllers/access_control_spec.rb" "spec/controllers/authenticated_system_spec.rb" "spec/controllers/categories_controller_spec.rb" "spec/controllers/pages_controller_spec.rb" "spec/controllers/posts_controller_spec.rb" "spec/controllers/sessions_controller_spec.rb" "spec/controllers/users_controller_spec.rb" "spec/helpers/categories_helper_spec.rb" "spec/helpers/users_helper_spec.rb" "spec/models/category_spec.rb" "spec/models/page_spec.rb" "spec/models/post_spec.rb" "spec/models/user_spec.rb" "spec/views/categories/edit.html.erb_spec.rb" "spec/views/categories/index.html.erb_spec.rb" "spec/views/categories/new.html.erb_spec.rb" "spec/views/categories/show.html.erb_spec.rb" --options "/Users/qrush/Dev/rails/sparkplug/spec/spec.opts" failed | |
/Users/qrush/Dev/rails/sparkplug/vendor/plugins/rspec/lib/spec/rake/spectask.rb:177:in `define' | |
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1003:in `verbose' | |
/Users/qrush/Dev/rails/sparkplug/vendor/plugins/rspec/lib/spec/rake/spectask.rb:153:in `define' | |
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `call' | |
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `execute' | |
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `each' | |
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `execute' | |
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:508:in `invoke_with_call_chain' | |
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in `synchronize' | |
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in `invoke_with_call_chain' | |
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:494:in `invoke' | |
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1931:in `invoke_task' | |
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `top_level' | |
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `each' | |
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `top_level' | |
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in `standard_exception_handling' | |
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1903:in `top_level' | |
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1881:in `run' | |
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in `standard_exception_handling' | |
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1878:in `run' | |
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/bin/rake:31 | |
/usr/bin/rake:19:in `load' | |
/usr/bin/rake:19 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment