diff options
author | Benjamin Neff <benjamin@coding4coffee.ch> | 2016-06-11 16:38:49 +0300 |
---|---|---|
committer | Benjamin Neff <benjamin@coding4coffee.ch> | 2016-06-26 07:21:01 +0300 |
commit | 0e6446d05fa4eb21b18026cf5b20abf585858e10 (patch) | |
tree | 4c8c4fa370019b25cd4344e50e99bee1bc9c3746 /spec/workers | |
parent | 4d8211b641d86ad5968ec731fb945cdbdb20c362 (diff) |
create ShareVisibilities with batch import
and delete old batch worker and receiver
Diffstat (limited to 'spec/workers')
-rw-r--r-- | spec/workers/receive_local_batch_spec.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/spec/workers/receive_local_batch_spec.rb b/spec/workers/receive_local_batch_spec.rb deleted file mode 100644 index acd841cf3..000000000 --- a/spec/workers/receive_local_batch_spec.rb +++ /dev/null @@ -1,14 +0,0 @@ -require "spec_helper" - -describe Workers::ReceiveLocalBatch do - it "calls the postzord" do - post = double - allow(Post).to receive(:find).with(1).and_return(post) - - zord = double - expect(Postzord::Receiver::LocalBatch).to receive(:new).with(post, [2]).and_return(zord) - expect(zord).to receive(:perform!) - - Workers::ReceiveLocalBatch.new.perform("Post", 1, [2]) - end -end |