We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8006ffd commit 72a3b22Copy full SHA for 72a3b22
test/resque_failure_redis_test.rb
@@ -13,7 +13,7 @@
13
14
it 'cleans up bad strings before saving the failure, in order to prevent errors on the resque UI' do
15
# test assumption: the bad string should not be able to round trip though JSON
16
- assert_raises(MultiJson::DecodeError) {
+ assert_raises(MultiJson::DecodeError, JSON::GeneratorError) {
17
MultiJson.decode(MultiJson.encode(@bad_string))
18
}
19
0 commit comments