diff options
Diffstat (limited to 'spec/workers/deferred_dispatch_spec.rb')
-rw-r--r-- | spec/workers/deferred_dispatch_spec.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/workers/deferred_dispatch_spec.rb b/spec/workers/deferred_dispatch_spec.rb new file mode 100644 index 000000000..f0a20d768 --- /dev/null +++ b/spec/workers/deferred_dispatch_spec.rb @@ -0,0 +1,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 |