blob: f0a20d768e8fdf5152a7e69418f8e13f1d02e823 (
plain)
1
2
3
4
5
6
7
8
9
|
require 'spec_helper'
describe Workers::DeferredDispatch do
it "handles non existing records gracefully" do
expect {
described_class.new.perform(alice.id, 'Comment', 0, {})
}.to_not raise_error
end
end
|