Guest User

Untitled

a guest
Feb 20th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.52 KB | None | 0 0
  1. qrush@q-mini ~/D/r/sparkplug> rake spec:models
  2. (in /Users/qrush/Dev/rails/sparkplug)
  3. ......................................................................
  4.  
  5. Finished in 0.777263 seconds
  6.  
  7. 70 examples, 0 failures
  8. qrush@q-mini ~/D/r/sparkplug> rake spec:controllers
  9. (in /Users/qrush/Dev/rails/sparkplug)
  10. ...................................................................................................................................................................................................................................
  11.  
  12. Finished in 2.099699 seconds
  13.  
  14. 227 examples, 0 failures
  15. qrush@q-mini ~/D/r/sparkplug> script/spec spec/controllers spec/models
  16. .........................................................................................................................................................................................................................................................................................................
  17.  
  18. Finished in 2.680923 seconds
  19.  
  20. 297 examples, 0 failures
  21. qrush@q-mini ~/D/r/sparkplug> script/spec spec/views spec/models
  22. ..........................................................................
  23.  
  24. Finished in 0.812934 seconds
  25.  
  26. 74 examples, 0 failures
  27. qrush@q-mini ~/D/r/sparkplug> script/spec spec/views spec/models spec/controllers
  28. .............................................................................................................................................................................................................................................................................................................
  29.  
  30. Finished in 2.714624 seconds
  31.  
  32. 301 examples, 0 failures
  33. qrush@q-mini ~/D/r/sparkplug> rake spec --trace
  34. (in /Users/qrush/Dev/rails/sparkplug)
  35. ** Invoke spec (first_time)
  36. ** Invoke db:test:prepare (first_time)
  37. ** Invoke db:abort_if_pending_migrations (first_time)
  38. ** Invoke environment (first_time)
  39. ** Execute environment
  40. ** Execute db:abort_if_pending_migrations
  41. ** Execute db:test:prepare
  42. ** Invoke db:test:load (first_time)
  43. ** Invoke db:test:purge (first_time)
  44. ** Invoke environment
  45. ** Execute db:test:purge
  46. ** Execute db:test:load
  47. ** Invoke db:schema:load (first_time)
  48. ** Invoke environment
  49. ** Execute db:schema:load
  50. ** Execute spec
  51. ............................................................................................................................................................................................................................................................................................................................................FF
  52.  
  53. 1)
  54. ActiveRecord::RecordInvalid in 'Post should create a new instance given valid attributes'
  55. Validation failed:
  56. /Library/Ruby/Gems/1.8/gems/activerecord-2.1.1/lib/active_record/validations.rb:923:in `save_without_dirty!'
  57. /Library/Ruby/Gems/1.8/gems/activerecord-2.1.1/lib/active_record/dirty.rb:83:in `save_without_transactions!'
  58. /Library/Ruby/Gems/1.8/gems/activerecord-2.1.1/lib/active_record/transactions.rb:110:in `save!'
  59. /Library/Ruby/Gems/1.8/gems/activerecord-2.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:66:in `transaction'
  60. /Library/Ruby/Gems/1.8/gems/activerecord-2.1.1/lib/active_record/transactions.rb:79:in `transaction'
  61. /Library/Ruby/Gems/1.8/gems/activerecord-2.1.1/lib/active_record/transactions.rb:98:in `transaction'
  62. /Library/Ruby/Gems/1.8/gems/activerecord-2.1.1/lib/active_record/transactions.rb:110:in `save!'
  63. /Library/Ruby/Gems/1.8/gems/activerecord-2.1.1/lib/active_record/transactions.rb:118:in `rollback_active_record_state!'
  64. /Library/Ruby/Gems/1.8/gems/activerecord-2.1.1/lib/active_record/transactions.rb:110:in `save!'
  65. /Library/Ruby/Gems/1.8/gems/activerecord-2.1.1/lib/active_record/validations.rb:892:in `create!'
  66. ./spec/models/post_spec.rb:14:
  67.  
  68. 2)
  69. ActiveRecord::RecordInvalid in 'Page should create a new instance given valid attributes'
  70. Validation failed:
  71. /Library/Ruby/Gems/1.8/gems/activerecord-2.1.1/lib/active_record/validations.rb:923:in `save_without_dirty!'
  72. /Library/Ruby/Gems/1.8/gems/activerecord-2.1.1/lib/active_record/dirty.rb:83:in `save_without_transactions!'
  73. /Library/Ruby/Gems/1.8/gems/activerecord-2.1.1/lib/active_record/transactions.rb:110:in `save!'
  74. /Library/Ruby/Gems/1.8/gems/activerecord-2.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:66:in `transaction'
  75. /Library/Ruby/Gems/1.8/gems/activerecord-2.1.1/lib/active_record/transactions.rb:79:in `transaction'
  76. /Library/Ruby/Gems/1.8/gems/activerecord-2.1.1/lib/active_record/transactions.rb:98:in `transaction'
  77. /Library/Ruby/Gems/1.8/gems/activerecord-2.1.1/lib/active_record/transactions.rb:110:in `save!'
  78. /Library/Ruby/Gems/1.8/gems/activerecord-2.1.1/lib/active_record/transactions.rb:118:in `rollback_active_record_state!'
  79. /Library/Ruby/Gems/1.8/gems/activerecord-2.1.1/lib/active_record/transactions.rb:110:in `save!'
  80. /Library/Ruby/Gems/1.8/gems/activerecord-2.1.1/lib/active_record/validations.rb:892:in `create!'
  81. ./spec/models/page_spec.rb:13:
  82.  
  83. Finished in 2.959353 seconds
  84.  
  85. 334 examples, 2 failures
  86. rake aborted!
  87. 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
  88. /Users/qrush/Dev/rails/sparkplug/vendor/plugins/rspec/lib/spec/rake/spectask.rb:177:in `define'
  89. /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1003:in `verbose'
  90. /Users/qrush/Dev/rails/sparkplug/vendor/plugins/rspec/lib/spec/rake/spectask.rb:153:in `define'
  91. /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `call'
  92. /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `execute'
  93. /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `each'
  94. /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `execute'
  95. /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:508:in `invoke_with_call_chain'
  96. /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in `synchronize'
  97. /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in `invoke_with_call_chain'
  98. /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:494:in `invoke'
  99. /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1931:in `invoke_task'
  100. /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `top_level'
  101. /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `each'
  102. /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `top_level'
  103. /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in `standard_exception_handling'
  104. /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1903:in `top_level'
  105. /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1881:in `run'
  106. /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in `standard_exception_handling'
  107. /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1878:in `run'
  108. /Library/Ruby/Gems/1.8/gems/rake-0.8.1/bin/rake:31
  109. /usr/bin/rake:19:in `load'
  110. /usr/bin/rake:19
Add Comment
Please, Sign In to add comment