Skip to content

Instantly share code, notes, and snippets.

@tosch
Created September 29, 2010 12:01
Show Gist options
  • Save tosch/602631 to your computer and use it in GitHub Desktop.
Save tosch/602631 to your computer and use it in GitHub Desktop.
ree-1.8.7-2010.02@ruote-kit tsc@raisa:~/git/ruote-kit$ spec spec/resources/errors_spec.rb
FF........
1)
NoMethodError in 'without any running processes GET /_ruote/errors should give no processes back (HTML)'
undefined method `collect' for nil:NilClass
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/bundler/gems/ruote-328ff7d4702b753a6aac9fdd65ec2408c8be5455-ruote2.1/lib/ruote/engine.rb:292:in `errors'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:863:in `call'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:863:in `route'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:521:in `instance_eval'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:521:in `route_eval'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:500:in `route!'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:497:in `catch'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:497:in `route!'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:476:in `each'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:476:in `route!'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:601:in `dispatch!'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:411:in `call!'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:566:in `instance_eval'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:566:in `invoke'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:566:in `catch'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:566:in `invoke'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:411:in `call!'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:399:in `call'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/rack-1.2.1/lib/rack/methodoverride.rb:24:in `call'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/rack-1.2.1/lib/rack/static.rb:33:in `call'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/rack-1.2.1/lib/rack/methodoverride.rb:24:in `call'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:979:in `call'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:1005:in `synchronize'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:979:in `call'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/rack-test-0.5.6/lib/rack/mock_session.rb:30:in `request'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/rack-test-0.5.6/lib/rack/test.rb:209:in `process_request'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/rack-test-0.5.6/lib/rack/test.rb:57:in `get'
./spec/resources/errors_spec.rb:15:
2)
NoMethodError in 'without any running processes GET /_ruote/errors should give an empty array (JSON)'
undefined method `collect' for nil:NilClass
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/bundler/gems/ruote-328ff7d4702b753a6aac9fdd65ec2408c8be5455-ruote2.1/lib/ruote/engine.rb:292:in `errors'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:863:in `call'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:863:in `route'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:521:in `instance_eval'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:521:in `route_eval'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:500:in `route!'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:497:in `catch'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:497:in `route!'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:476:in `each'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:476:in `route!'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:601:in `dispatch!'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:411:in `call!'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:566:in `instance_eval'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:566:in `invoke'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:566:in `catch'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:566:in `invoke'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:411:in `call!'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:399:in `call'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/rack-1.2.1/lib/rack/methodoverride.rb:24:in `call'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/rack-1.2.1/lib/rack/static.rb:33:in `call'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/rack-1.2.1/lib/rack/methodoverride.rb:24:in `call'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:979:in `call'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:1005:in `synchronize'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:979:in `call'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/rack-test-0.5.6/lib/rack/mock_session.rb:30:in `request'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/rack-test-0.5.6/lib/rack/test.rb:209:in `process_request'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/rack-test-0.5.6/lib/rack/test.rb:57:in `get'
./spec/resources/errors_spec.rb:22:
Finished in 0.780791 seconds
10 examples, 2 failures
ree-1.8.7-2010.02@ruote-kit tsc@raisa:~/git/ruote-kit$ spec spec/resources/workitems_spec.rb
FF..........................
1)
NoMethodError in 'GET /_ruote/workitems without any workitems should report no workitems (HTML)'
private method `select' called for nil:NilClass
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/bundler/gems/ruote-328ff7d4702b753a6aac9fdd65ec2408c8be5455-ruote2.1/lib/ruote/part/storage_participant.rb:261:in `query'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:863:in `call'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:863:in `route'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:521:in `instance_eval'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:521:in `route_eval'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:500:in `route!'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:497:in `catch'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:497:in `route!'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:476:in `each'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:476:in `route!'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:601:in `dispatch!'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:411:in `call!'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:566:in `instance_eval'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:566:in `invoke'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:566:in `catch'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:566:in `invoke'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:411:in `call!'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:399:in `call'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/rack-1.2.1/lib/rack/methodoverride.rb:24:in `call'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/rack-1.2.1/lib/rack/static.rb:33:in `call'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/rack-1.2.1/lib/rack/methodoverride.rb:24:in `call'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:979:in `call'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:1005:in `synchronize'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:979:in `call'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/rack-test-0.5.6/lib/rack/mock_session.rb:30:in `request'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/rack-test-0.5.6/lib/rack/test.rb:209:in `process_request'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/rack-test-0.5.6/lib/rack/test.rb:57:in `get'
./spec/resources/workitems_spec.rb:24:
2)
NoMethodError in 'GET /_ruote/workitems without any workitems should report no workitems (JSON)'
private method `select' called for nil:NilClass
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/bundler/gems/ruote-328ff7d4702b753a6aac9fdd65ec2408c8be5455-ruote2.1/lib/ruote/part/storage_participant.rb:261:in `query'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:863:in `call'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:863:in `route'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:521:in `instance_eval'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:521:in `route_eval'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:500:in `route!'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:497:in `catch'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:497:in `route!'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:476:in `each'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:476:in `route!'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:601:in `dispatch!'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:411:in `call!'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:566:in `instance_eval'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:566:in `invoke'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:566:in `catch'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:566:in `invoke'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:411:in `call!'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:399:in `call'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/rack-1.2.1/lib/rack/methodoverride.rb:24:in `call'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/rack-1.2.1/lib/rack/static.rb:33:in `call'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/rack-1.2.1/lib/rack/methodoverride.rb:24:in `call'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:979:in `call'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:1005:in `synchronize'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:979:in `call'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/rack-test-0.5.6/lib/rack/mock_session.rb:30:in `request'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/rack-test-0.5.6/lib/rack/test.rb:209:in `process_request'
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/rack-test-0.5.6/lib/rack/test.rb:57:in `get'
./spec/resources/workitems_spec.rb:33:
Finished in 10.843717 seconds
28 examples, 2 failures
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment