leshill/resque_spec — pull request #58 by lellisga (2012-07-28 14:59:24+00:00)
Title: add exception test

- Fix typo
- Add test that guarantee the global status. I was thinking on a different implementation of the method and a code this:

```ruby
def with_resque
ResqueSpec.inline = ResqueSpec.inline.tap do
ResqueSpec.inline = true
yield
end
end
```

The solution is awesome, but it doesn't guarantee the global status