defunkt/resque — Issue #500: Error running resque tests on a newly cloned repo
Author: corroded
Created: 2012-01-26 06:53:56+00:00
State: open

```
Loaded suite /Users/dev/.rvm/gems/ruby-1.8.7-p352@resque/gems/rake-0.9.2.2/lib/rake/rake_test_loader
Started

Airbrake .
Hoptoad .
Multiple_plugins_with_multiple_hooks .
Resque ...........................
Resque__Job_after_dequeue .
Resque__Job_after_enqueue .
Resque__Job_after_perform ..
Resque__Job_all_hooks ..
Resque__Job_around_perform ....
Resque__Job_before_dequeue ..
Resque__Job_before_enqueue ..
Resque__Job_before_perform ...
Resque__Job_on_failure ...
Resque__Plugin_finding_hooks ....
Resque__Plugin_linting ........
Resque__Plugin_ordering_after_perform .
Resque__Plugin_ordering_around_perform ....
Resque__Plugin_ordering_before_perform .
Resque__Plugin_ordering_on_failure .
Resque__Worker ....................................
requeue_failed_queue(Resque__Worker):
Resque::NoClassError: Jobs must be given a class.
/Users/dev/Projects/resque/lib/resque.rb:328:in `validate'
/Users/dev/Projects/resque/lib/resque/job.rb:43:in `create'
/Users/dev/Projects/resque/test/../lib/resque/failure/redis.rb:36:in `requeue'
/Users/dev/Projects/resque/lib/resque/failure.rb:63:in `requeue'
/Users/dev/Projects/resque/lib/resque/failure.rb:76:in `requeue_queue'
/Users/dev/Projects/resque/test/worker_test.rb:390:in `test_requeue_failed_queue'
/Users/dev/.rvm/gems/ruby-1.8.7-p352@resque/gems/activesupport-3.2.0/lib/active_support/testing/setup_and_teardown.rb:67:in
`__send__'
/Users/dev/.rvm/gems/ruby-1.8.7-p352@resque/gems/activesupport-3.2.0/lib/active_support/testing/setup_and_teardown.rb:67:in `run'
/Users/dev/.rvm/gems/ruby-1.8.7-p352@resque/gems/activesupport-3.2.0/lib/active_support/callbacks.rb:403:in
`_run__958925783__setup__4__callbacks'
/Users/dev/.rvm/gems/ruby-1.8.7-p352@resque/gems/activesupport-3.2.0/lib/active_support/callbacks.rb:405:in `send'
/Users/dev/.rvm/gems/ruby-1.8.7-p352@resque/gems/activesupport-3.2.0/lib/active_support/callbacks.rb:405:in `__run_callback'
/Users/dev/.rvm/gems/ruby-1.8.7-p352@resque/gems/activesupport-3.2.0/lib/active_support/callbacks.rb:385:in `_run_setup_callbacks'
/Users/dev/.rvm/gems/ruby-1.8.7-p352@resque/gems/activesupport-3.2.0/lib/active_support/callbacks.rb:81:in `send'
/Users/dev/.rvm/gems/ruby-1.8.7-p352@resque/gems/activesupport-3.2.0/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/dev/.rvm/gems/ruby-1.8.7-p352@resque/gems/activesupport-3.2.0/lib/active_support/testing/setup_and_teardown.rb:65:in `run'

also_works_with_slash_at_the_end .
on_GET_to__ .
on_GET_to__failed .
on_GET_to__overview .
on_GET_to__stats_redis .
on_GET_to__stats_resque ..
on_GET_to__working .

120 tests: 113 passed, 6 skipped and 1 error

(0.822091 seconds)
Killing test redis server...
rake aborted!
Command failed with status (1): [/Users/dev/.rvm/rubies/ruby-1.8.7-p352/bin...]

Tasks: TOP => test
(See full trace by running task with --trace)
```