You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Without looking at the code I guess this might be an issue with a fixture which is not creating a valid task for the unit test.
ProjectsControllerTest.test: As a signed in admin, destroy project with tasks should reject destroy action.
Failing for the past 1 build (Since Unstable#1261 )
Took 0.49 sec.
add description
Error Message
Validation failed: Task can't be blank
Stacktrace
Validation failed: Task can't be blank (ActiveRecord::RecordInvalid)
/Users/build/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.7/lib/active_record/validations.rb:49:in save!' /Users/build/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.7/lib/active_record/attribute_methods/dirty.rb:30:insave!'
/Users/build/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.7/lib/active_record/transactions.rb:245:in block in save!' /Users/build/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.7/lib/active_record/transactions.rb:292:inblock in with_transaction_returning_status'
/Users/build/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.7/lib/active_record/connection_adapters/abstract/database_statements.rb:139:in transaction' /Users/build/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.7/lib/active_record/transactions.rb:207:intransaction'
/Users/build/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.7/lib/active_record/transactions.rb:290:in with_transaction_returning_status' /Users/build/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.7/lib/active_record/transactions.rb:245:insave!'
/Users/build/.rvm/gems/ruby-1.9.2-p180/gems/machinist-1.0.6/lib/machinist/active_record.rb:55:in make' /private/var/hudson/workspace/squish-development/build_ruby/1.9.2/test/functional/projects_controller_test.rb:60:inblock (3 levels) in class:ProjectsControllerTest'
/Users/build/.rvm/gems/ruby-1.9.2-p180/gems/shoulda-2.11.3/lib/shoulda/context.rb:400:in call' /Users/build/.rvm/gems/ruby-1.9.2-p180/gems/shoulda-2.11.3/lib/shoulda/context.rb:400:inblock in run_current_setup_blocks'
/Users/build/.rvm/gems/ruby-1.9.2-p180/gems/shoulda-2.11.3/lib/shoulda/context.rb:399:in each' /Users/build/.rvm/gems/ruby-1.9.2-p180/gems/shoulda-2.11.3/lib/shoulda/context.rb:399:inrun_current_setup_blocks'
/Users/build/.rvm/gems/ruby-1.9.2-p180/gems/shoulda-2.11.3/lib/shoulda/context.rb:391:in run_all_setup_blocks' /Users/build/.rvm/gems/ruby-1.9.2-p180/gems/shoulda-2.11.3/lib/shoulda/context.rb:395:inrun_parent_setup_blocks'
/Users/build/.rvm/gems/ruby-1.9.2-p180/gems/shoulda-2.11.3/lib/shoulda/context.rb:379:in block in create_test_from_should_hash' /Users/build/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.7/lib/active_support/testing/setup_and_teardown.rb:67:inblock in run'
/Users/build/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.7/lib/active_support/callbacks.rb:449:in _run_setup_callbacks' /Users/build/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.7/lib/active_support/testing/setup_and_teardown.rb:65:inrun'
/Users/build/.rvm/gems/ruby-1.9.2-p180/gems/test-unit-2.3.0/lib/test/unit/testsuite.rb:53:in run' /Users/build/.rvm/gems/ruby-1.9.2-p180/gems/test-unit-2.3.0/lib/test/unit/testsuite.rb:53:inrun'
/Users/build/.rvm/gems/ruby-1.9.2-p180/gems/test-unit-2.3.0/lib/test/unit/ui/testrunnermediator.rb:54:in run_suite' /Users/build/.rvm/gems/ruby-1.9.2-p180/gems/test-unit-2.3.0/lib/test/unit/ui/testrunner.rb:40:instart_mediator'
/Users/build/.rvm/gems/ruby-1.9.2-p180/gems/test-unit-2.3.0/lib/test/unit/ui/testrunner.rb:25:in start' /Users/build/.rvm/gems/ruby-1.9.2-p180/gems/test-unit-2.3.0/lib/test/unit/ui/testrunnerutilities.rb:24:inrun'
/Users/build/.rvm/gems/ruby-1.9.2-p180/gems/test-unit-2.3.0/lib/test/unit/autorunner.rb:356:in run' /Users/build/.rvm/gems/ruby-1.9.2-p180/gems/test-unit-2.3.0/lib/test/unit/autorunner.rb:58:inrun'
/Users/build/.rvm/gems/ruby-1.9.2-p180/gems/test-unit-2.3.0/lib/test/unit.rb:326:in `block in <top (required)>'
The text was updated successfully, but these errors were encountered:
Without looking at the code I guess this might be an issue with a fixture which is not creating a valid task for the unit test.
ProjectsControllerTest.test: As a signed in admin, destroy project with tasks should reject destroy action.
Failing for the past 1 build (Since Unstable#1261 )
Took 0.49 sec.
add description
Error Message
Validation failed: Task can't be blank
Stacktrace
Validation failed: Task can't be blank (ActiveRecord::RecordInvalid)
/Users/build/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.7/lib/active_record/validations.rb:49:in
save!' /Users/build/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.7/lib/active_record/attribute_methods/dirty.rb:30:in
save!'/Users/build/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.7/lib/active_record/transactions.rb:245:in
block in save!' /Users/build/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.7/lib/active_record/transactions.rb:292:in
block in with_transaction_returning_status'/Users/build/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.7/lib/active_record/connection_adapters/abstract/database_statements.rb:139:in
transaction' /Users/build/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.7/lib/active_record/transactions.rb:207:in
transaction'/Users/build/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.7/lib/active_record/transactions.rb:290:in
with_transaction_returning_status' /Users/build/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.7/lib/active_record/transactions.rb:245:in
save!'/Users/build/.rvm/gems/ruby-1.9.2-p180/gems/machinist-1.0.6/lib/machinist/active_record.rb:55:in
make' /private/var/hudson/workspace/squish-development/build_ruby/1.9.2/test/functional/projects_controller_test.rb:60:in
block (3 levels) in class:ProjectsControllerTest'/Users/build/.rvm/gems/ruby-1.9.2-p180/gems/shoulda-2.11.3/lib/shoulda/context.rb:400:in
call' /Users/build/.rvm/gems/ruby-1.9.2-p180/gems/shoulda-2.11.3/lib/shoulda/context.rb:400:in
block in run_current_setup_blocks'/Users/build/.rvm/gems/ruby-1.9.2-p180/gems/shoulda-2.11.3/lib/shoulda/context.rb:399:in
each' /Users/build/.rvm/gems/ruby-1.9.2-p180/gems/shoulda-2.11.3/lib/shoulda/context.rb:399:in
run_current_setup_blocks'/Users/build/.rvm/gems/ruby-1.9.2-p180/gems/shoulda-2.11.3/lib/shoulda/context.rb:391:in
run_all_setup_blocks' /Users/build/.rvm/gems/ruby-1.9.2-p180/gems/shoulda-2.11.3/lib/shoulda/context.rb:395:in
run_parent_setup_blocks'/Users/build/.rvm/gems/ruby-1.9.2-p180/gems/shoulda-2.11.3/lib/shoulda/context.rb:379:in
block in create_test_from_should_hash' /Users/build/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.7/lib/active_support/testing/setup_and_teardown.rb:67:in
block in run'/Users/build/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.7/lib/active_support/callbacks.rb:449:in
_run_setup_callbacks' /Users/build/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.7/lib/active_support/testing/setup_and_teardown.rb:65:in
run'/Users/build/.rvm/gems/ruby-1.9.2-p180/gems/test-unit-2.3.0/lib/test/unit/testsuite.rb:53:in
run' /Users/build/.rvm/gems/ruby-1.9.2-p180/gems/test-unit-2.3.0/lib/test/unit/testsuite.rb:53:in
run'/Users/build/.rvm/gems/ruby-1.9.2-p180/gems/test-unit-2.3.0/lib/test/unit/ui/testrunnermediator.rb:54:in
run_suite' /Users/build/.rvm/gems/ruby-1.9.2-p180/gems/test-unit-2.3.0/lib/test/unit/ui/testrunner.rb:40:in
start_mediator'/Users/build/.rvm/gems/ruby-1.9.2-p180/gems/test-unit-2.3.0/lib/test/unit/ui/testrunner.rb:25:in
start' /Users/build/.rvm/gems/ruby-1.9.2-p180/gems/test-unit-2.3.0/lib/test/unit/ui/testrunnerutilities.rb:24:in
run'/Users/build/.rvm/gems/ruby-1.9.2-p180/gems/test-unit-2.3.0/lib/test/unit/autorunner.rb:356:in
run' /Users/build/.rvm/gems/ruby-1.9.2-p180/gems/test-unit-2.3.0/lib/test/unit/autorunner.rb:58:in
run'/Users/build/.rvm/gems/ruby-1.9.2-p180/gems/test-unit-2.3.0/lib/test/unit.rb:326:in `block in <top (required)>'
The text was updated successfully, but these errors were encountered: