Welcome to mirror list, hosted at ThFree Co, Russian Federation.

deferred_dispatch_spec.rb « workers « spec - github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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