leshill/resque_spec — Issue #45: have_queued fails with multiple arguments
Author: andreacfm
Created: 2012-03-01 17:14:57+00:00
State: open

I have this queue in ResqueSpec:

```ruby
{"mailer"=>[{:class=>"Mailer", :args=>[:rifiuta, 100, 930, "comment"]}]}
```
My assertion:

```ruby
Mailer.should have_queued(instance.id,another_instance.id,var,:rifiuta).in(:mailer)
```

The test fails saying

```ruby
expected that Mailer would have [100, 930, comment, rifiuta] queued
```
All the parameters are correctly enqueued. Probably I am writing the assertion in the wrong way?