Skip to content

Commit 7210f7f

Browse files
committed
Fix build on rbx.
Uncovered an rbx bug, and filed a report: rubinius/rubinius#1922 Until it's fixed, we'll have to test this way.
1 parent 56ca6ab commit 7210f7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/worker_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
@worker.work(0)
3434
assert_equal 1, Resque::Failure.count, 'failure not reported'
3535
assert_equal('NameError', Resque::Failure.all['exception'])
36-
assert_equal('uninitialized constant NoJobDefinition', Resque::Failure.all['error'])
36+
assert_match('uninitialized constant', Resque::Failure.all['error'])
3737
end
3838

3939
it "does not allow exceptions from failure backend to escape" do

0 commit comments

Comments
 (0)